@godxjp/ui-mcp 20.2.0 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +84 -22
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1755,7 +1755,7 @@ const [atNewest, setAtNewest] = React.useState(true);
|
|
|
1755
1755
|
}}
|
|
1756
1756
|
>
|
|
1757
1757
|
{t("chat.jumpToNewest")}
|
|
1758
|
-
</Button>`,storyPath:"data-display/ScrollArea.stories.tsx",rules:[2,3,24,31]},{name:"Collapsible",group:"data-display",tagline:"Three-part compound (Collapsible + CollapsibleTrigger + CollapsibleContent) that toggles a region open/closed \u2014 never use just one part alone.",props:[{name:"open",type:"boolean",description:"Controlled open state. When provided, pair with onOpenChange to keep in sync. Omit for uncontrolled behaviour."},{name:"defaultOpen",type:"boolean",defaultValue:"false",description:"Initial open state when used uncontrolled. Useful for auto-expanding when a child is active (e.g. sidebar nav group)."},{name:"onOpenChange",type:"(open: boolean) => void",description:"Callback fired when the open state changes. Required in controlled mode."},{name:"disabled",type:"boolean",defaultValue:"false",description:"Prevents the trigger from toggling the content. The trigger is still rendered but inert."},{name:"className",type:"string",description:"Applied to the root Collapsible element. Use for layout (e.g. sb-nav-group) \u2014 the root renders a div."},{name:"asChild (CollapsibleTrigger)",type:"boolean",defaultValue:"false",description:"On CollapsibleTrigger only \u2014 merges Radix trigger behaviour onto the single child element (e.g. a godx-ui Button) instead of rendering a default button. The child must accept onClick and aria-* props."}],usage:["DO compose all three parts together: <Collapsible> wraps both <CollapsibleTrigger> and <CollapsibleContent>. Never render CollapsibleContent without a parent Collapsible \u2014 the open state lives on the root.","DO use asChild on CollapsibleTrigger when you want a godx-ui Button (or any styled element) to act as the trigger: <CollapsibleTrigger asChild><Button>Toggle</Button></CollapsibleTrigger>. Without asChild the trigger renders its own plain button.","DO pass defaultOpen={true} (uncontrolled) when the section should auto-expand on mount \u2014 for example, a sidebar nav group whose active child matches the current route.","DO use controlled mode (open + onOpenChange) when external UI \u2014 a separate button, route change, or search filter \u2014 needs to drive the open state independently of the trigger.","DON'T add hidden native <details>/<summary> as a fallback \u2014 the Radix primitive is already accessible (aria-expanded, aria-controls) out of the box.","DON'T put interactive controls (Buttons, links, inputs) inside CollapsibleTrigger itself unless using asChild \u2014 nested focusable elements break keyboard navigation. Put them inside CollapsibleContent instead."],useCases:["Sidebar navigation group: a top-level nav item with children collapses/expands its sub-items in the rail (used directly in the godx-ui Sidebar component with defaultOpen={active}).","Invoice line-item detail: an invoice row that expands inline to show tax breakdown, allocation notes, or audit trail without navigating away.","Filter panel section: a labelled group of filter controls (date range, entity, status) that can be collapsed to save vertical space in a dense accounting dashboard.","Read-more / long description: a truncated journal entry or payment memo that expands to full text on demand.","Settings sub-section: an optional advanced settings block that is hidden by default and revealed only when the user opts in.","Audit log detail: a compact log entry row that expands to show full diff, user, timestamp, and before/after values."],related:["Accordion (from @godxjp/ui/data-entry or Radix) \u2014 use Accordion when only ONE section can be open at a time across a group; use Collapsible when each section is independent and can be open simultaneously.","Popover \u2014 use Popover when the revealed content should float above the layout in a portal overlay; use Collapsible when the content should push surrounding content down inline.","Dialog/Sheet \u2014 use Dialog or Sheet for modal or slide-over panels that demand full user attention; Collapsible stays in-flow and non-modal.","
|
|
1758
|
+
</Button>`,storyPath:"data-display/ScrollArea.stories.tsx",rules:[2,3,24,31]},{name:"Collapsible",group:"data-display",tagline:"Three-part compound (Collapsible + CollapsibleTrigger + CollapsibleContent) that toggles a region open/closed \u2014 never use just one part alone.",props:[{name:"open",type:"boolean",description:"Controlled open state. When provided, pair with onOpenChange to keep in sync. Omit for uncontrolled behaviour."},{name:"defaultOpen",type:"boolean",defaultValue:"false",description:"Initial open state when used uncontrolled. Useful for auto-expanding when a child is active (e.g. sidebar nav group)."},{name:"onOpenChange",type:"(open: boolean) => void",description:"Callback fired when the open state changes. Required in controlled mode."},{name:"disabled",type:"boolean",defaultValue:"false",description:"Prevents the trigger from toggling the content. The trigger is still rendered but inert."},{name:"className",type:"string",description:"Applied to the root Collapsible element. Use for layout (e.g. sb-nav-group) \u2014 the root renders a div."},{name:"asChild (CollapsibleTrigger)",type:"boolean",defaultValue:"false",description:"On CollapsibleTrigger only \u2014 merges Radix trigger behaviour onto the single child element (e.g. a godx-ui Button) instead of rendering a default button. The child must accept onClick and aria-* props."}],usage:["DO compose all three parts together: <Collapsible> wraps both <CollapsibleTrigger> and <CollapsibleContent>. Never render CollapsibleContent without a parent Collapsible \u2014 the open state lives on the root.","DO use asChild on CollapsibleTrigger when you want a godx-ui Button (or any styled element) to act as the trigger: <CollapsibleTrigger asChild><Button>Toggle</Button></CollapsibleTrigger>. Without asChild the trigger renders its own plain button.","DO pass defaultOpen={true} (uncontrolled) when the section should auto-expand on mount \u2014 for example, a sidebar nav group whose active child matches the current route.","DO use controlled mode (open + onOpenChange) when external UI \u2014 a separate button, route change, or search filter \u2014 needs to drive the open state independently of the trigger.","DON'T add hidden native <details>/<summary> as a fallback \u2014 the Radix primitive is already accessible (aria-expanded, aria-controls) out of the box.","DON'T put interactive controls (Buttons, links, inputs) inside CollapsibleTrigger itself unless using asChild \u2014 nested focusable elements break keyboard navigation. Put them inside CollapsibleContent instead."],useCases:["Sidebar navigation group: a top-level nav item with children collapses/expands its sub-items in the rail (used directly in the godx-ui Sidebar component with defaultOpen={active}).","Invoice line-item detail: an invoice row that expands inline to show tax breakdown, allocation notes, or audit trail without navigating away.","Filter panel section: a labelled group of filter controls (date range, entity, status) that can be collapsed to save vertical space in a dense accounting dashboard.","Read-more / long description: a truncated journal entry or payment memo that expands to full text on demand.","Settings sub-section: an optional advanced settings block that is hidden by default and revealed only when the user opts in.","Audit log detail: a compact log entry row that expands to show full diff, user, timestamp, and before/after values."],related:["Accordion (from @godxjp/ui/data-entry or Radix) \u2014 use Accordion when only ONE section can be open at a time across a group; use Collapsible when each section is independent and can be open simultaneously.","Popover \u2014 use Popover when the revealed content should float above the layout in a portal overlay; use Collapsible when the content should push surrounding content down inline.","Dialog/Sheet \u2014 use Dialog or Sheet for modal or slide-over panels that demand full user attention; Collapsible stays in-flow and non-modal.","Tree (@godxjp/ui/data-display) \u2014 use Tree for hierarchical data that expands, collapses and is navigated by keyboard; use Collapsible for ad-hoc single-level toggle regions."],example:`{\`import { useState } from "react";
|
|
1759
1759
|
import { ChevronDown } from "lucide-react";
|
|
1760
1760
|
import {
|
|
1761
1761
|
Collapsible,
|
|
@@ -1801,19 +1801,43 @@ export function FilterSection() {
|
|
|
1801
1801
|
</CollapsibleContent>
|
|
1802
1802
|
</Collapsible>
|
|
1803
1803
|
);
|
|
1804
|
-
}\`}`,storyPath:"data-display/Collapsible.stories.tsx",rules:[3,6,23]},{name:"
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
{
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1804
|
+
}\`}`,storyPath:"data-display/Collapsible.stories.tsx",rules:[3,6,23]},{name:"Tree",group:"data-display",tagline:"The standalone WAI-ARIA tree view on a page (antd `Tree` / `DirectoryTree`) \u2014 nested `treeData`, a disclosure triangle per branch, roving-tabindex arrow navigation, optional tri-state checkboxes and async `loadData`. Reach for it whenever nodes expand, collapse or are navigated by keyboard; TreeSelect is the same hierarchy inside a Popover.",props:[{name:"treeData",type:"TreeNodeProp[]",required:!0,description:"The hierarchy. Each node: `{ value: string; label: ReactNode; disabled?: boolean; disableCheckbox?: boolean; isLeaf?: boolean; icon?: ReactNode; children?: TreeNodeProp[] }`. Same node shape as TreeSelect/Cascader; use `fieldNames` to remap an API response instead of transforming it."},{name:"fieldNames",type:"{ label?: string; value?: string; children?: string }",description:"Remap the data's own key names, e.g. `{ label: 'name', value: 'id', children: 'items' }`."},{name:"value",type:"string | string[]",description:"Controlled SELECTION (antd `selectedKeys`). `string` while single, `string[]` once `multiple` is on. Selection and checks are separate axes \u2014 do not use this for checkboxes."},{name:"defaultValue",type:"string | string[]",description:"Initial selection for an uncontrolled tree. Ignored once `value` is passed."},{name:"onValueChange",type:"(value: string | string[] | undefined) => void",description:"Selection change (antd `onSelect`). Emits `string | undefined` while single, `string[]` once `multiple` is on."},{name:"multiple",type:"boolean",defaultValue:"false",description:"Allow more than one selected node. Also sets `aria-multiselectable` on the tree."},{name:"checkable",type:"boolean",defaultValue:"false",description:"Draw a checkbox on every node (antd `checkable`). Checking cascades to descendants and a parent shows `indeterminate` while only some are checked. With `checkable`, Enter/Space toggles the checkbox rather than selecting."},{name:"checkStrictly",type:"boolean",defaultValue:"false",description:"Parent and child checks are independent (antd `checkStrictly`) \u2014 no cascade and no indeterminate state."},{name:"checkedValues",type:"string[]",description:"Controlled checked nodes (antd `checkedKeys`)."},{name:"defaultCheckedValues",type:"string[]",description:"Initial checked nodes for an uncontrolled tree (antd `defaultCheckedKeys`)."},{name:"onCheckedValuesChange",type:"(values: string[]) => void",description:"Checked-set change (antd `onCheck`). The array is normalised: a branch appears only when every tickable child is checked, so it can never claim a partial selection is complete."},{name:"expandedValues",type:"string[]",description:"Controlled expanded branches (antd `expandedKeys`)."},{name:"defaultExpandedValues",type:"string[]",description:"Initial expanded branches (antd `defaultExpandedKeys`)."},{name:"onExpandedValuesChange",type:"(values: string[]) => void",description:"Expansion change (antd `onExpand`). Fires for controlled and uncontrolled trees."},{name:"defaultExpandAll",type:"boolean",defaultValue:"false",description:"Start with every branch open. Seeded once on mount, never re-applied."},{name:"loadData",type:"(node: TreeNodeProp) => void | Promise<void>",description:"Lazy children (antd `loadData`). Called ONCE per node the first time a branch with no `children` and `isLeaf !== true` is expanded; a Skeleton row and `aria-busy` cover the wait. Push the fetched children into `treeData`."},{name:"titleRender",type:"(node: TreeNodeProp) => ReactNode",description:"Render a node's title yourself (antd `titleRender`)."},{name:"showLine",type:"boolean",defaultValue:"false",description:"Draw the connector rails between a parent and its children (antd `showLine`). Off by default \u2014 a rail is chrome, and chrome defaults quiet."},{name:"showIcon",type:"boolean",defaultValue:"false",description:'Draw each node\'s `icon` (antd `showIcon`). `variant="directory"` supplies folder/file glyphs when a node has no `icon` of its own.'},{name:"variant",type:'"default" | "directory"',defaultValue:'"default"',description:"`directory` is antd's `<DirectoryTree>`: folder/file glyphs and a full-row selected band."},{name:"size",type:'"xs" | "sm" | "md" | "lg"',defaultValue:'"md"',description:"Row height tier \u2014 the shared `--control-height` ladder, so rows stay in step with the controls beside them under every density."},{name:"disabled",type:"boolean",defaultValue:"false",description:"Disable the whole tree: nothing selects, checks or expands, and the nodes stay readable."},{name:"className",type:"string",description:'Classes applied to the `role="tree"` container.'},{name:"id",type:"string",description:'HTML id on the `role="tree"` container.'},{name:"aria-label",type:"string",description:"Accessible name of the tree. Required unless `aria-labelledby` names it from a visible heading."}],usage:["DO name the tree \u2014 pass `aria-label` (through your own `t()`) or `aria-labelledby`. A tree with no name is an unlabelled landmark for every screen reader user.","DO keep SELECTION and CHECKS apart: `value`/`onValueChange` is which node is open in the detail pane; `checkedValues`/`onCheckedValuesChange` is which nodes are ticked. They are two axes, exactly as in antd \u2014 never drive one from the other.","DO let the keyboard work: the tree ships the full APG contract (Up/Down through visible nodes, Right expands then descends, Left collapses then climbs, Home/End, Enter/Space, `*` to expand the current level, type-ahead). Do not add your own key handling on top.","DON'T nest a Button, Checkbox, Link or any focusable control inside a node label. A tree item owns exactly ONE tab stop; the disclosure triangle and the tick box are decorative glyphs for that reason. Put row actions in a sibling column outside the tree, or open a detail pane on selection.",'DON\'T hand-roll an indented `<ul>` (or a NavList / ListRow stack with a per-depth margin) for a hierarchy. A flat indented list only LOOKS like a tree: no expand/collapse, no `role="tree"`, no keyboard model, no selection contract. `TreeList` was exactly that list and was REMOVED in 21.0.0 \u2014 Tree is what replaced it, and it is the one to reach for whenever nodes expand, collapse or are keyboard-navigated.',"DO cap a long tree with `ScrollArea` \u2014 virtualisation is not in v1, so a 5,000-node tree renders 5,000 rows.","DO push fetched children into `treeData` from `loadData`; the tree calls it once per node and shows a Skeleton row until the data lands."],useCases:["A permission tree: modules \u2192 resources \u2192 actions with tri-state checkboxes, where ticking a module ticks everything under it and a partly-granted module shows the dash.","A category browser beside a detail pane \u2014 selecting a category loads its products, and the whole hierarchy stays navigable by keyboard.","An organisation chart / department picker on a settings page, where a branch's children are fetched on demand with `loadData`.",'A file explorer (`variant="directory"`, `showIcon`, `showLine`) where folders and files read differently and the selected row spans the width.',"A chart-of-accounts outline that must expand and collapse \u2014 the case a flat indented list only ever looked like it handled."],related:['TreeList \u2014 REMOVED in 21.0.0, replaced by Tree. It was a flat `<ul>` whose `depth` only drove `margin-inline-start`: it LOOKED like a tree and had no expand/collapse, no `role="tree"`, no keyboard and no selection contract. Migration: nest the flat `items` into `treeData` (`id`\u2192`value`, `title`\u2192`label`, `depth`\u2192nesting) and pass `aria-label`. A genuinely static indented outline that never opens is a `Descriptions` or a `ListRow` stack, not a tree.',"TreeSelect \u2014 the same hierarchy INSIDE a Popover, as a form field. Use TreeSelect when the answer is a value in a form; use Tree when the hierarchy itself is the page.","Cascader \u2014 a path picker across columns. Use it when the user walks one path to a leaf; use Tree when several branches are open at once.","Accordion \u2014 single-level disclosure with rich panel content. It is not a hierarchy and has no tree keyboard model.","ScrollArea \u2014 wrap Tree in one to cap a long outline; Tree does not virtualise in v1."],example:`import * as React from "react";
|
|
1805
|
+
import { Tree } from "@godxjp/ui/data-display";
|
|
1806
|
+
|
|
1807
|
+
const permissions = [
|
|
1808
|
+
{
|
|
1809
|
+
value: "billing",
|
|
1810
|
+
label: "Billing",
|
|
1811
|
+
children: [
|
|
1812
|
+
{ value: "billing.invoice.read", label: "Read invoices" },
|
|
1813
|
+
{ value: "billing.invoice.write", label: "Issue invoices" },
|
|
1814
|
+
],
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
value: "people",
|
|
1818
|
+
label: "People",
|
|
1819
|
+
children: [
|
|
1820
|
+
{ value: "people.read", label: "Read profiles" },
|
|
1821
|
+
{ value: "people.write", label: "Edit profiles", disabled: true },
|
|
1822
|
+
],
|
|
1823
|
+
},
|
|
1812
1824
|
];
|
|
1813
1825
|
|
|
1814
|
-
export function
|
|
1815
|
-
|
|
1816
|
-
|
|
1826
|
+
export function PermissionTree() {
|
|
1827
|
+
// The name is YOUR copy \u2014 run it through your app's own i18n, not the library's.
|
|
1828
|
+
const [granted, setGranted] = React.useState<string[]>(["billing.invoice.read"]);
|
|
1829
|
+
|
|
1830
|
+
return (
|
|
1831
|
+
<Tree
|
|
1832
|
+
aria-label="Permissions"
|
|
1833
|
+
treeData={permissions}
|
|
1834
|
+
checkable
|
|
1835
|
+
defaultExpandAll
|
|
1836
|
+
checkedValues={granted}
|
|
1837
|
+
onCheckedValuesChange={setGranted}
|
|
1838
|
+
/>
|
|
1839
|
+
);
|
|
1840
|
+
}`,docPath:"docs/data-display/tree.tsx",storyPath:"data-display/Tree.stories.tsx",rules:[2,6,23,31,44,45]},{name:"Tooltip",group:"feedback",tagline:"Radix-based hover/focus tooltip \u2014 self-providing, no app-level TooltipProvider required; compose Tooltip > TooltipTrigger > TooltipContent every time.",props:[{name:"delayDuration",type:"number",defaultValue:"200",description:"Milliseconds of hover before the tooltip opens. Accepted on both Tooltip (per-instance) and TooltipProvider (subtree-wide override)."},{name:"open",type:"boolean",description:"Controlled open state. Pair with onOpenChange to drive the tooltip programmatically."},{name:"onOpenChange",type:"(open: boolean) => void",description:"Callback fired when the open state changes. Required when using controlled 'open'."},{name:"defaultOpen",type:"boolean",defaultValue:"false",description:"Uncontrolled initial open state."},{name:"disableHoverableContent",type:"boolean",defaultValue:"false",description:"When true, the tooltip closes as soon as the pointer leaves the trigger (content is not hoverable). Passed through to Radix Root."},{name:"side",type:"'top' | 'right' | 'bottom' | 'left'",defaultValue:'"top"',description:"On TooltipContent \u2014 preferred side for the tooltip panel. Radix flips automatically when there is not enough space."},{name:"sideOffset",type:"number",defaultValue:"6",description:"On TooltipContent \u2014 pixel gap between the trigger edge and the tooltip panel."},{name:"align",type:"'start' | 'center' | 'end'",defaultValue:'"center"',description:"On TooltipContent \u2014 alignment relative to the trigger along the cross-axis."},{name:"alignOffset",type:"number",defaultValue:"0",description:"On TooltipContent \u2014 pixel offset applied to the align position."},{name:"className",type:"string",description:"On TooltipContent \u2014 extra Tailwind classes merged with the built-in panel styles (z-50, max-w-xs, rounded-md, shadow-md, text-xs)."},{name:"children",type:"React.ReactNode",required:!0,description:"On TooltipContent \u2014 the text or JSX rendered inside the floating panel."},{name:"asChild",type:"boolean",defaultValue:"false",description:"On TooltipTrigger \u2014 merges props onto the immediate child instead of wrapping with a <button>. Use when the trigger is already an interactive element."}],usage:["DO compose the full three-part structure every time: <Tooltip> wraps <TooltipTrigger> (the element that triggers the tip) and <TooltipContent> (the floating panel). Omitting any part silently produces nothing.","DO NOT add an app-level <TooltipProvider> \u2014 every <Tooltip> self-provides its own Radix Provider. Only add <TooltipProvider> at a subtree root when you need a shared delayDuration different from the default 200ms across many tooltips.","DO use asChild on TooltipTrigger when the trigger is already a Button, IconButton, or other interactive element \u2014 this avoids nesting a <button> inside a <button>, which is invalid HTML and breaks keyboard focus.","DON'T put non-interactive elements (plain <div>, <span>) as the direct TooltipTrigger child without asChild \u2014 Radix needs a focusable element for keyboard accessibility. Wrap the target in a <span tabIndex={0}> or use a Button.","For controlled usage (e.g. programmatic show/hide or testing), pass open + onOpenChange to <Tooltip>. For typical hover/focus behaviour, leave both unset (uncontrolled).","TooltipContent renders inside a Radix Portal appended to document.body \u2014 z-index and overflow:hidden on ancestors do NOT clip it. Use className to extend max width beyond the built-in max-w-xs if long text is expected."],useCases:["Explaining an icon-only Button action (e.g. a trash icon, a copy-to-clipboard icon) in a DataTable action column \u2014 show the label on hover without cluttering the row.","Annotating a truncated cell value in a DataTable (e.g. a long account name clipped with text-ellipsis) \u2014 reveal the full text on hover without a modal.","Providing contextual help for a form field label or an info icon next to an accounting term (e.g. 'AR Balance' with a short definition).","Surfacing keyboard shortcut hints next to toolbar buttons (e.g. '\u2318K \u2014 open search') without adding visible text to the UI.","Displaying a disabled Button's reason \u2014 wrap the disabled Button in a TooltipTrigger with asChild and explain why the action is unavailable."],related:["Popover \u2014 use Popover (also @godxjp/ui/feedback) when the floating panel needs interactive content (forms, links, action menus) rather than read-only text. Tooltip is read-only; Popover is interactive.","HoverCard \u2014 for rich preview cards (user profiles, link previews) that appear on hover with more complex layout. Tooltip is for short text hints only.","Badge / StatusChip \u2014 for persistent, always-visible short labels inline with text; not hover-triggered. Use Tooltip when the hint should be hidden until hovered."],example:`import {
|
|
1817
1841
|
Tooltip,
|
|
1818
1842
|
TooltipTrigger,
|
|
1819
1843
|
TooltipContent,
|
|
@@ -2235,7 +2259,45 @@ import { ServiceRolePanel } from "@godxjp/ui/layout";
|
|
|
2235
2259
|
{(role) =>
|
|
2236
2260
|
role && <PermissionMatrix roles={[role]} permissions={permissions} grants={grants} readOnly={role.locked} />
|
|
2237
2261
|
}
|
|
2238
|
-
</ServiceRolePanel>`,docPath:"layout/service-role-panel.tsx",storyPath:"layout/ServiceRolePanel.stories.tsx",rules:[24,40]}];function N(t){let a=t.trim().toLowerCase();return v.find(e=>e.name.toLowerCase()===a)}function F(t){return v.filter(a=>a.group===t)}var k=[{name:"ValueProp<T = string>",concept:"Abstract controlled value.",values:["generic"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Tabs","SearchSelect"]},{name:"DefaultValueProp<T = string>",concept:"Abstract uncontrolled initial value.",values:["generic"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Tabs"]},{name:"OnValueChangeProp<T = string>",concept:"Callback for abstract value changes. DOM events continue to use onChange.",values:["(value: T) => void"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Transfer","settings pickers"]},{name:"OpenProp / DefaultOpenProp / OnOpenChangeProp",concept:"Disclosure state.",values:["boolean","(open: boolean) => void"],usedBy:["Dialog","Sheet","Popover"]},{name:"SizeProp",concept:"Shared public size names.",values:["xs","sm","md","lg"],usedBy:["Button","Steps","Switch"],notes:"Component-specific subsets must be documented. Old alias small is sm."},{name:"ToneProp",concept:"Semantic status/color intent.",values:["default","success","warning","destructive","info","muted","neutral"],usedBy:["Badge","Alert"],notes:"Status values belong in tone, not variant."},{name:"GapProp",concept:"Shared layout gap scale.",values:["xs","sm","md","lg","xl"],usedBy:["Flex"],notes:'The single shared gap scale on Flex \u2014 the one layout primitive (default direction="row"; use direction="col" for vertical rhythm; these replaced the removed Stack/Inline).'},{name:"TitleProp",concept:"Primary heading text.",values:["React.ReactNode"],usedBy:["PageContainer","PageHeader","EmptyState","Dialog"]},{name:"DensityProp",concept:"Page/subtree density.",values:["compact","default","comfortable"],usedBy:["PageContainer"]},{name:"CenteredShellPresetProp",concept:"Named whole-page SHELL contract for CenteredShell \u2014 the page measure, section rhythm, chrome flatness and hero heading tier, all owned by component tokens.",values:["default","public-landing"],usedBy:["CenteredShell"],notes:'public-landing is the PUBLIC marketing/product landing geometry: one 67.5rem measure shared by the header bar, the centred column and the footer, the section rhythm, flat elevation-free cards and the hero h1 tier. "default" emits NO data-preset at all, so the existing shell box is untouched. Pair with `Flex hideBelow`/`hideFrom` for header region visibility \u2014 a landing must never own a page-local media query or a max-width wrapper.'},{name:"TablePresetProp",concept:"Named collection contract for a table \u2014 how a dense collection behaves when its container gets narrow.",values:["default","action-collection"],usedBy:["Table","DataTable"],notes:"action-collection swaps the desktop intrinsic column widths for table-layout: fixed + the token-owned column PRIORITY measures below `collapseBelow`, so a five-column approval queue keeps every column \u2014 including row actions \u2014 inside a 390px frame with no page-local CSS, no hidden column and no horizontal scroll. It changes the SIZING model only: no display change, no role rewriting, no card transformation, so table semantics and screen-reader navigation are identical at every width. ONE contract, two entry points: the `Table` primitive (mark `priority` on each TableHead/TableCell yourself) and the TanStack `DataTable` (mark `priority` on the ColumnDef; it stamps both cells for you, and additionally releases the surface's `--table-surface-min-inline-size` floor). Both read the same `--table-action-collection-*` tokens \u2014 there is no parallel DataTable family."},{name:"TableColumnPriorityProp",concept:"Relative importance of a table column, used by the action-collection preset to allocate the narrow-frame measure.",values:["primary","secondary","meta","actions"],usedBy:["Table","DataTable"],notes:"On the raw `Table`, set it on BOTH the TableHead and the TableCell of a column; on `DataTable` set it once on the `ColumnDef` and it is stamped onto the <th> and every <td>. `actions` reserves its measure first so the row-action affordance can never be pushed outside the viewport; a column with no priority takes the remaining space (the free-text column)."},{name:"AuthShellPresetProp",concept:"Named hosted-identity FLOW MEASURE for AuthShell \u2014 the card max-width plus the desktop and mobile page gutters, all owned by component tokens.",values:["default","device-authorization","context-selection"],usedBy:["AuthShell"],notes:'Orthogonal to AuthShell\'s `variant` (which owns control density + heading size) and applied after it, so `variant="canonical" preset="device-authorization"` composes. device-authorization = 380px card / 5px inline gutter at 390; context-selection = 25rem card, edge-to-edge on mobile. Selecting a preset REPLACES any consumer-side --auth-shell-card-max-width override \u2014 a page-local width is the anti-pattern these presets exist to remove.'},{name:"AvatarShapeProp",concept:"Avatar geometry \u2014 WHAT the identity mark represents: a person or an entity. Deliberately NOT the control ShapeProp (default|pill|sharp), whose `sharp` is --radius-sharp: 0 and cannot express the rounded rect an entity mark needs.",values:["circle","square"],usedBy:["Avatar"],notes:'circle (default, inert) = the round --radius-pill person avatar on the muted surface; square = the entity-header organization/service mark \u2014 a compact rounded square on the brand surface driven by --avatar-square-{radius,size,background,foreground}. Choose by meaning, never by look: a className="rounded-md bg-primary" override on the call site is the anti-pattern this prop removes.'}];function B(t){let a=t.trim().toLowerCase().replace(/prop(?:<.*>)?$/i,"");return k.find(e=>e.name.toLowerCase().replace(/prop(?:<.*>)?$/i,"")===a)}var T=[{name:"--wa-*",category:"primitive",tier:"primitive",role:"Neutral decorative Japanese accent primitives for charts/tags/decoration only."},{name:"--chart-1..6",category:"primitive",tier:"primitive",role:"Neutral decorative chart series palette. The @godxjp/ui/charts components (LineChart/BarChart/AreaChart/PieChart) read these by series index automatically \u2014 a service rethemes every chart at once by overriding --chart-1..6; per-series/per-slice overrides go through the component's series.color / colors props."},{name:"--space-0..12",category:"primitive",tier:"primitive",role:"Raw spacing scale."},{name:"--icon-size-{2xs,xs,sm,md,lg,xl,2xl,3xl,4xl}",category:"primitive",tier:"primitive",role:'Raw ICON scale \u2014 10 / 12 / 14 / 16 (md, the default) / 20 / 24 / 36 / 40 / 48 px. Icon was the last geometric axis with no scale: 28 component tokens declared raw numbers and between them used only these nine values, so this NAMES an existing vocabulary rather than inventing one. It is a FIXED LIST, not a `base * ratio^n` scale like --font-size-*, and deliberately so: 14/16 = 0.875 but 20/16 = 1.25, no single ratio generates the steps. Type can sit between pixels because hinting and antialiasing carry it; a 1px-stroke glyph cannot, so every step lands on a whole pixel at a 16px root. NOT --scaling-multiplied here: density is opted into by the tokens that want it (`calc(var(--icon-size-md) * var(--scaling))`, as --control-icon-size does), which keeps the scale itself the crisp whole-pixel list. TIER 1 vs TIER 2 \u2014 a value used in MORE THAN ONE place belongs on the scale and a service retunes it once; a value used in exactly ONE place (a 6px status dot) does NOT, and is set at the call site on that component\'s own --*-icon-size / --*-glyph-size token (`style={{ "--menu-icon-size": "6px" }}` or a `[data-\u2026]`-scoped theme rule). An inline custom property wins by inheritance proximity, so tier 2 never needs !important, a :root override, or a fork.'},{name:"--stroke-{hairline,sm,md,lg,xl,2xl}",category:"primitive",tier:"primitive",role:"Raw STROKE scale \u2014 the thickness of a painted LINE: 1 (hairline) / 1.5 / 2 (md, the emphasis stroke) / 3 / 4 / 6 px. The census called `width` the worst axis in the system at 91% raw; the census was right and the diagnosis was not, because `-width` is THREE concerns wearing one suffix \u2014 the thickness of a drawn line, the measure of a container (a dialog, a reading column, an auth card) and the content width of a field (how wide a picker must be to hold its longest label). Only the first is a vocabulary, and it repeats hard: six values across ~20 tokens spanning borders, focus rings, accent rails, selected-state markers and presence strokes. The other two are tier 2 by nature \u2014 their values appear in exactly one place \u2014 and are deliberately NOT on a scale. PX, NEVER REM: a stroke is a device line whose job is to read as one crisp rule at any type size, so it must not grow with the root font-size (`--slider-track-height: 0.375rem` is a different decision and stays put). NOT --scaling-multiplied: --scaling is a DENSITY knob, and a 1px divider at 0.92px would blur rather than tighten. --focus-ring-width is a member of this scale (`var(--stroke-md)`), so retuning line weight retunes the rings with it. --stroke-hairline sits BELOW --stroke-sm rather than being called xs because 1px is not really a step: it is the device hairline, the one thickness a service retunes the EXISTENCE of rather than the value (cardinal rule #44)."},{name:"--band-height-{xs,sm,md,lg,xl,2xl,3xl}",category:"primitive",tier:"primitive",role:"Raw BAND-HEIGHT scale \u2014 the vertical extent of a horizontal strip that content is centred in: 24 / 28 / 32 (md, the default control and row band) / 36 / 44 (the WCAG 2.2 AA touch floor, rule #24) / 48 / 56 px. `height` split the same way `width` did: a control, a table row, a menu item, a sidebar nav row and the app-shell top bar are ONE decision sharing seven values, each declared by two to five tokens, while a chart plot's height, a transfer pane's min-height and a popover's max-height are container measures chosen per surface with almost no repeated value and stay literal. The case for this is that `PageContainer`'s chrome band had no height token while `AppShell`'s bar did, so nothing could be aligned to it \u2014 the axis had no name. NOT A SUBSTITUTE FOR --control-height-*: the control tier is a RUNTIME LADDER (it multiplies by --scaling, steps \xB1--space-1 for sm/lg/xs, and `@media (pointer: coarse)` lifts the whole thing to the 44px tap floor); this scale is the STATIC vocabulary the ladder is ANCHORED on (`--control-height-default: var(--band-height-md)`), exactly as --font-size-base anchors the type scale. Point a band token at --control-height-* to \"reuse a step\" and you silently enrol it in density AND in the coarse-pointer growth \u2014 that is a geometry change, not a rename, and it is why --table-row-height-default reads var(--band-height-md) instead. NOT --scaling-multiplied here: whether a band breathes with density is a per-token decision (--control-height opts in, --app-shell-bar-height deliberately does not)."},{name:"--overlay-z-index",category:"semantic",tier:"semantic",role:"The ONE stacking layer every portaled overlay sits on \u2014 Tooltip, Popover, Select, DropdownMenu, ContextMenu/Menubar, Sheet (overlay AND panel), and since #319 also Dialog, AlertDialog and the CommandPalette, scrim and content alike. Each of those used to hard-code `z-50` independently, so an app that mounts the library under its own stacking context (a sticky masthead, a third-party chat widget) had to fight a separate literal per primitive \u2014 and whichever one it missed rendered underneath. Stacking is a SYSTEM decision, not a per-primitive one: raise every overlay together by overriding this once. Default 50, byte-identical to the literals it replaced. The DataTable sticky header deliberately stays BELOW it, so a menu opened from a sticky column header still wins. NOTE: overlays render into a portal on document.body, so a scoped `[data-tenant]` / `.dark` override must also sit on the portal container to reach them."},{name:"--font-size-*",category:"primitive",tier:"primitive",role:"Raw typography scale."},{name:"--font-sans-base",category:"semantic",tier:"semantic",role:`The default sans face. FONT-AGNOSTIC by default (pure system stack) \u2014 the library ships no hardcoded brand font. Override this for one face everywhere. --font-family-sans defaults to it; --font-family-display / --font-family-body default to --font-family-sans (override those for a dual display+body brand). Consumers supply the actual @font-face (next/font, @fontsource, self-host); the opt-in @godxjp/ui/styles/fonts OVERWRITES this (and --font-sans-vi) with the bundled DXS stack \u2014 "Noto Sans JP" primary (incl. the Vietnamese coverage) with "M PLUS 2" as the fallback. BUNDLE CHANGED IN v18.12.20 (product override, direct instruction): v16 bundled Noto Sans JP + Montserrat, v18.12.0\u201318.12.19 bundled M PLUS 2 + Noto Sans JP, v18.12.20+ bundles Noto Sans JP + M PLUS 2 \u2014 if a design spec names an earlier bundle's faces, set the tokens explicitly instead of relying on the bundle. IMPORT ORDER IS LOAD-BEARING: styles/fonts must be imported AFTER styles/base, because foundation.css declares this system-stack default on :root at the same specificity (0,1,0) and the later declaration wins (the all-in-one @godxjp/ui/styles entry already orders it correctly \u2014 issue #210).`},{name:"--font-sans-{ja,ko,vi,zh-hans,zh-hant}",category:"semantic",tier:"semantic",role:'Per-language font SLOT tokens. styles/base.css wires each [lang] to read its slot with --font-sans-base as fallback, so a consumer switches a locale\'s face by setting e.g. `--font-sans-ja: "Noto Sans JP", var(--font-sans-base)` \u2014 NO [lang] selectors to write. Empty by default. zh-hans matches lang zh|zh-Hans|zh-CN; zh-hant matches zh-Hant|zh-TW. Deciding which @font-face ships on which locale route is the consumer\'s font pipeline, not the library. The opt-in @godxjp/ui/styles/fonts only fills --font-sans-vi (with the bundled "Noto Sans JP", "M PLUS 2" stack); the other slots stay empty and fall back to --font-sans-base.'},{name:"--duration-{fast,base,slow}",category:"primitive",tier:"primitive",role:"Motion durations (150 / 250 / 500ms). Read these instead of a literal `0.5s` for enter/transition timing (rule #2). the reference design keeps motion short; honour `prefers-reduced-motion` at the call site."},{name:"--ease-{standard,emphasized,decelerate,accelerate}",category:"primitive",tier:"primitive",role:"Motion easing curves. `standard` for most transitions, `emphasized` for entrances/overlays (the vaul drawer curve), `decelerate` for settling in, `accelerate` for exits. Read instead of a literal `cubic-bezier(\u2026)`."},{name:"--reveal-distance",category:"primitive",tier:"primitive",role:"Distance (10px) a revealed element travels on enter (translateY/-X). Read instead of a literal `translateY(10px)` for staggered reveals."},{name:"--reveal-stagger-step",category:"primitive",tier:"primitive",role:"One step (60ms) of the Reveal stagger ladder \u2014 `<Reveal delay={n}>` waits n \xD7 this before entering, so a column of reveals cascades. Read instead of a literal `.04s`/`.09s` per-item delay."},{name:"--duration-loop",category:"primitive",tier:"primitive",role:"The AMBIENT/LOOPING interval (1400ms) \u2014 the cycle member of the motion tier. `--duration-{fast,base,slow}` time a TRANSITION (A to B, then stop); a loop needs an interval, so every ambient affordance in the product breathes at one rate. `Activity` reads it through `--activity-interval`."},{name:"--activity-interval",category:"component",tier:"component",role:"Per-component override of the ambient loop interval (defaults to `var(--duration-loop)`). A service tunes its typing/sync rhythm without moving every loop in the product (cardinal rule #45). Declared in the MOTION tier (tokens/foundation.css) beside `--reveal-stagger-step`, not in tokens/components/activity.css, because component-token names must carry a geometry/colour property word and there is none for a duration."},{name:"--activity-stagger-step",category:"component",tier:"component",role:"Offset (160ms) between the three `Activity variant='dots'` marks \u2014 the LOOP counterpart to `--reveal-stagger-step`, named to match. In RTL the dots reverse with the flex row, so the cascade follows the reading direction with no extra rule. Declared in the motion tier for the same reason as `--activity-interval`."},{name:"--activity-mark-size",category:"component",tier:"component",role:"Diameter (0.25em) of one `dots` mark. `em`-based so the whole mark tracks `--activity-font-size-*` (and therefore `--font-size-base` and the density axis) instead of pinning a px per size step."},{name:"--activity-mark-offset",category:"component",tier:"component",role:"Travel (0.25em) of one `dots` step \u2014 the LOOP counterpart to `--reveal-distance`, named to match. It is ALSO the height the mark row reserves, so a dot at the top of its arc is never clipped and the row never grows mid-cycle."},{name:"--activity-mark-rest-alpha",category:"component",tier:"component",role:"Opacity (0.35) of a mark at the trough of its cycle. Deliberately never 0: a mark that vanishes reads as a rendering bug, and it is what makes the `prefers-reduced-motion` frame (animation dropped) land on a legible resting state."},{name:"--activity-pulse-mark-size",category:"component",tier:"component",role:"Diameter (0.5em) of the single `variant='pulse'` mark \u2014 bigger than one `dots` dot because it carries the whole affordance alone."},{name:"--activity-gap",category:"component",tier:"component",role:"Mark-to-mark and mark-to-label gap (defaults to `var(--space-1)`)."},{name:"--activity-font-size-{xs,sm,md,lg}",category:"component",tier:"component",role:"Root size ladder for `Activity`. The mark is em-based, so this ONE value scales the whole indicator; the steps mirror the `Text` size the label renders at, so mark and label stay optically paired."},{name:"--activity-bar-{width,height,radius,segment-width,track-alpha}",category:"component",tier:"component",role:"The indeterminate `variant='bar'` sweep: track measure (4rem \u2014 an inline measure beside a label, not a 100% fill), thickness, corner, the moving segment's share of the track (40%), and the track's tint alpha (0.2)."},{name:"--activity-color",category:"component",tier:"component",role:"Mark ink for `Activity`. ROLE-MIRROR KNOB \u2014 declared `initial` at :root with the role default at the CALL SITE (`hsl(var(--activity-color, var(--muted-foreground)))`), so a scoped `[data-tenant]` / `.dark` override of `--muted-foreground` still reaches it (docs/TOKENS.md \xB7 'Role-mirror knobs MUST be initial'). It retints the default `tone='muted'`; an explicit non-muted `tone` sets its own semantic role."},{name:"--shadow-color",category:"primitive",tier:"primitive",role:"RGB channels (space-separated, e.g. `12 26 49`) that tint the WHOLE elevation ramp (--shadow-xs..2xl) at once. Default `0 0 0`. Single-brand :root only \u2014 a scoped override does not re-resolve the ramp (the steps compute at :root); for a scoped/multi-tenant card lift set --card-shadow to a literal value."},{name:"--shadow-glow",category:"primitive",tier:"primitive",role:"Opt-in brand GLOW halo layered on the primary CTA's resting shadow. Default invisible (`0 0 0 0 transparent`, valid inside a comma shadow list). A service sets the whole value, e.g. `--shadow-glow: 0 8px 20px hsl(var(--primary) / .32)` \u2014 works scoped under [data-tenant] because the service declares it inside the scope."},{name:"--focus-ring-color",category:"primitive",tier:"primitive",role:"Themeable hue of EVERY keyboard-focus ring (HSL components, default var(--ring)). A leaf token, so it re-resolves at the element that paints the ring \u2014 override it once, even scoped under [data-tenant], to retint all focus rings. Pair with --focus-ring-width."},{name:"--focus-ring-width",category:"primitive",tier:"primitive",role:"Thickness (2px) of the solid keyboard-focus ring. Leaf token \u2014 :focus-visible rules read it directly as `0 0 0 var(--focus-ring-width) hsl(var(--focus-ring-color))`, never via an intermediate composite (which would freeze at :root). Propagates scoped."},{name:"--gradient-{brand,hero,glow}",category:"primitive",tier:"primitive",role:"Opt-in decorative gradient fills, default `none`. --gradient-hero paints the PageContainer header (hero banner); --gradient-glow paints the AppShell .app-main (ambient brand wash); --gradient-brand is a spare. A service sets the full gradient, e.g. `--gradient-glow: radial-gradient(60% 80% at 50% 0%, hsl(var(--primary) / .25), transparent)`."},{name:"--primary",category:"semantic",tier:"semantic",role:"Action color role."},{name:"--brand / --brand-foreground",category:"semantic",tier:"semantic",role:'The IDENTITY role \u2014 the canonical GoDX emerald (light #009766 = oklch(0.595 0.137 162.94); dark lifts lightness only, #00b87c). It is what `<Logo mark="godx">` / `tone="success">` / the godx wordmark / the `@godxjp/ui/email` brand capsule paint, and it is distinct from THREE lookalikes: --primary (the ACTION colour \u2014 re-theme it freely, the mark never moves), --success (\u82E5\u7AF9 #68be8d, the STATUS green for badges/progress/"saved" text \u2014 the mark once borrowed this and shipped \u0394E76 \u2248 17.5 off canonical), and --text-brand (the blue brand-NUMERAL text slot behind the Tailwind `text-brand` utility). There is no `bg-brand` utility: `--color-brand` is already taken by --text-brand, so identity surfaces read `hsl(var(--brand))` directly in component CSS. Re-brand a service by overriding --brand once (scoped `[data-tenant]` works \u2014 every logo knob resolves it at the call site).'},{name:"--success",category:"semantic",tier:"semantic",role:'Success STATUS role (\u82E5\u7AF9 wakatake #68be8d) \u2014 badges, alerts, progress fills, timeline done dots, `tone="success"` text. NOT the product identity: the GoDX mark reads --brand.'},{name:"--warning",category:"semantic",tier:"semantic",role:"Warning status role."},{name:"--destructive",category:"semantic",tier:"semantic",role:"Destructive/error status role."},{name:"--info",category:"semantic",tier:"semantic",role:"Information status role."},{name:"--attention",category:"semantic",tier:"semantic",role:"Attention status role."},{name:"--border / --input",category:"semantic",tier:"semantic",role:"TWO roles, NOT synonyms \u2014 never set one to the other. --border is DECORATIVE chrome: table rules, card edges, section dividers, Separator. WCAG 2.2 SC 1.4.11 does not reach it (a divider is not \"required to identify a component or its state\") and this system's dense JP grid depends on it staying quiet \u2014 light `30 7% 83%`, dark `45 6% 22%`. --input is the CONTROL BOUNDARY: the 1px edge of Input/Textarea/Select/outline Button/TagInput/the composite date field/the topbar search (the Tailwind `border-input` utility reads it), plus the Switch's unchecked track fill. A field has no fill of its own and no shadow, so that edge is the whole visual claim that you may type there \u2014 it owes SC 1.4.11's 3:1 against EVERY surface a control sits on, not just the plain page: light `30 7% 53%` (3.47:1 on --background/--card/--popover, 3.18:1 on --muted/--secondary, 3.35:1 on a zebra row), dark `45 6% 47%` (4.22:1 on --background, 3.88:1 on --card/--popover, 3.17:1 on --muted). They shipped sharing one value and put every text field at 1.46:1. A service re-theming neutrals MUST move the two independently; `src/tokens/__tests__/input-boundary-contrast.test.ts` recomputes the ratios and fails below 3:1 or if the two roles are re-coupled. To quieten the Switch off-track without dragging --input back down, override --switch-unchecked-background instead."},{name:"--page-header-divider",category:"semantic",tier:"semantic",role:"PageContainer header bottom divider. Default none; a service theme opts in with `1px solid hsl(var(--border))`."},{name:"--page-footer-divider",category:"semantic",tier:"semantic",role:"PageContainer footer top divider \u2014 the third page-chrome band, on the same contract as `--page-header-divider` and `--page-toolbar-divider` (its rule used to be a hard literal in layout.css, so a page could not turn it off at all). Declared `initial` and resolved at the CALL SITE as `var(--page-footer-divider, 1px solid hsl(var(--border)))`, so a scoped [data-tenant]/.dark override still reaches it. It is the ONE chrome divider whose default is a RULE rather than silence, deliberately: `footer` is the shared slot a form's Save/Cancel bar lands in, where the line separating the actions from the page content is the behaviour every existing page already draws \u2014 the old literal IS the fallback, so unset is byte-identical. Set `--page-footer-divider: none` when the footer content already carries its own frame (a chat composer is a bordered Card, and the shell's full-width rule otherwise stacks a second line right above it)."},{name:"--overlay-background",category:"semantic",tier:"semantic",role:"Modal scrim \u2014 the single backdrop colour shared by every overlay (Dialog, AlertDialog, Sheet, Drawer, AppShell mobile nav). Default `rgb(0 0 0 / 0.5)`. A service tints it once, e.g. a navy `rgb(12 26 49 / .55)`. HOW IT REACHES AN OVERLAY: each surface declares its own `--*-overlay-background` knob `initial` and resolves a SHARE of this colour at the call site, `color-mix(in srgb, var(--overlay-background) var(--*-overlay-alpha), transparent)`, so the calibrated per-surface depth survives (Sheet/drawer 40% = 0.2, Dialog 60% = 0.3) while ONE override here retints them all. NOTE: portaled overlays render outside a [data-tenant] subtree, so for multi-tenant scoping put the tenant attribute on the portal container too."},{name:"--page-toolbar-{background,pad-block,divider}",category:"semantic",tier:"semantic",role:"PageContainer `toolbar` band chrome \u2014 the FIXED strip between the page header and the (scrolling) body. All three knobs are quiet by default (rule #44). `--page-toolbar-background` (default `transparent`) is the band's GROUND: set it ONCE in a service theme \u2014 `--page-toolbar-background: hsl(var(--card));` \u2014 to lift the band off the page ground the way a chat channel's workflow rail or a collection's filter strip usually wants. It is bound at `:root` rather than `initial` because its default is a plain CSS keyword, not another role token, so there is nothing for a scoped override to re-resolve; it is the `background` shorthand, so a gradient works too. NEVER write `className=\"bg-card\"` on the strip at the call site \u2014 that is hand-laid page chrome, it is invisible to per-tenant theming, and it paints the strip rather than the band (so it misses the page gutters and the `measure` cap). `--page-toolbar-pad-block` (default 0) is the band's own block inset. It is the band's ONLY breathing room: the band sits FLUSH against the header and the body (the container's band gap is cancelled on the band itself \u2014 chrome is attached, not a third section floating between two voids), so there is no outside space to tune. It stays 0 even now that the band can be painted: a TRANSPARENT band is not a surface and has no inside for an inset to breathe, and under `fill` every pixel of band height is taken from the scroll viewport the slot exists to protect. The corollary is that a theme which PAINTS the band must also set the inset here (`--page-toolbar-pad-block: var(--space-2)`) \u2014 the two go together, and neither belongs in a `py-*` utility at the call site. `--page-toolbar-divider` is declared `initial` and resolved at the CALL SITE as `var(--page-toolbar-divider, var(--page-header-divider))` \u2014 so ONE `--page-header-divider` opt-in rules the whole page chrome consistently, a scoped [data-tenant]/.dark override of it still reaches the band (a `:root` binding would freeze it), and `--page-toolbar-divider: none` silences just the band. `variant=\"ghost\"` keeps the divider quiet regardless (it does NOT clear the background \u2014 ghost is about rules and pads, not grounds). The band's inline gutters and its `measure` cap are shared with the header and body \u2014 they are not separate knobs, which is what keeps the three bands aligned."},{name:"--page-title-font-size-chrome",category:"semantic",tier:"semantic",role:'PageContainer title step under `headerScale="chrome"` \u2014 a page whose top row IS chrome (a chat channel name, a mail subject, an IDE tab) rather than a document title. Default `var(--heading-h3)` = `--font-size-base` (14px), the body step, so the row reads as a label ON the surface instead of the page\'s headline; a consumer chat header measured 61px with a 20px h1 against a design that wanted ~40px at the `sm` step. Deliberately a THIRD knob beside `--page-title-font-size` / `--page-title-font-size-compact`: those two are one document title at two viewport sizes (a responsive step), this is a different KIND of page and holds at every width \u2014 the compact rule must not pull a chrome header back up to h2. Read ONLY when the prop is passed, so a document page never touches it (rule #44). A service retunes the chrome step here once; never override `--page-title-font-size` at a call site to fake it.'},{name:"--page-subtitle-font-size-chrome",category:"semantic",tier:"semantic",role:'PageContainer SUBTITLE step under `headerScale="chrome"` \u2014 the caption under a chrome top row (a channel purpose line, a mail preview), not a document\'s standfirst. Default `var(--font-size-2xs)` (ratio\u207B\xB2, ~11px), two steps below the document default `--font-size-base`. It is a fourth knob beside `--page-subtitle-font-size` / `-compact` for the same reason the title step is: those two are ONE document subtitle at two viewport sizes, this is a different KIND of page and holds at every width \u2014 and it has to out-rank the 720px compact rule, which is already a compound selector, or a chrome caption would step back UP on a phone. Two things it fixes at once. Hierarchy: at the document step the chrome subtitle rendered at `--font-size-base`, the IDENTICAL step the chrome TITLE takes, so a channel name and its purpose line read as one undifferentiated block. Height: the step drives the LINE BOX at the inherited `--line-height-body` (14px x 1.7 = 23.8px vs 11px x 1.7 = 18.9px), so a band whose whole point is to leave room for the transcript stops spending ~5px of it on a caption. Type only \u2014 line-height, colour and weight stay with the base rule, so a wrapped JA/VI purpose line keeps its rhythm. Read ONLY when the prop is passed (rule #44); a service retunes the caption step here once, never with a `text-*` utility at the call site.'},{name:"--page-pad-block-start-chrome",category:"semantic",tier:"semantic",role:"PageContainer TOP inset under `headerScale=\"chrome\"` \u2014 the second half of the same fact the title step answers: chrome sits ON the frame's edge. Default `0px`, so a chrome page opens flush; a document page keeps `--space-page-active-y` (24px, 16px below the 720px step) because a title needs air above it. Measured on a consumer chat screen: an otherwise correctly-sized channel head started at y=24 against a design that starts it at y=0, and those 24px came straight off the transcript viewport (617px in the design, 587px in the app). It is a knob rather than a literal (rule #44) so a service whose grid wants its chrome inset writes `--page-pad-block-start-chrome: var(--space-2)` once instead of forking the page shell, and it is read ONLY when the prop is passed, so no document page resolves it. Block-start only \u2014 the page's bottom edge belongs to `stickyFooter`, which zeroes it for its own reason."},{name:"--page-header-min-block-size-chrome",category:"semantic",tier:"semantic",role:"PageContainer BAND HEIGHT under `headerScale=\"chrome\"` \u2014 the third half of the same fact the title step and the flush top edge answer. A document header is content-height, correctly: a title is as tall as the title is. Chrome is furniture, and furniture needs a band that things centre INTO. Without one, the band's vertical centre is a function of its own copy \u2014 measured in Chromium on the catalogue page, 42.02px with an `extra` control and 40.38px without \u2014 so nothing in the page can be aligned to it and no service can aim at a number. Default `auto` (rule #44, the quiet state): no floor, content-height, byte-identical to every page shipped before the token existed, chrome pages included. The BAND-HEIGHT AXIS HAS ONE OWNER and it is `--app-shell-bar-height` (`--centered-shell-bar-height` already reads it), so the one line a service writes to put its page chrome on the shell bar's band is `--page-header-min-block-size-chrome: var(--app-shell-bar-height)` \u2014 the band becomes 48px and the title column and `extra` both centre at y=24 regardless of copy length. It is NOT that value by default because a chrome `PageContainer` is not necessarily inside an `AppShell` (the canonical chat composition renders one inside a bordered region, a SplitPane pane, a Card), and a band that is not trying to line up with a bar has no business inheriting that bar's height. A MIN, never a height: a taller `extra` (an `lg` control, a wrapped JA/VI channel name) still fits instead of overflowing. The header's own `--page-header-pad-bottom` lives INSIDE the band (border-box); under the canonical chrome composition (`variant=\"ghost\"`) that pad is 0 and the centring is exact."},{name:"--page-header-pad-bottom",category:"semantic",tier:"semantic",role:"PageContainer header bottom inset. Defaults to page top padding minus the section gap so the title band is vertically balanced."},{name:"--master-detail-rail-{compact,standard}",category:"semantic",tier:"semantic",role:"MasterDetail fixed rail track \u2014 18.75rem (300px) / 20rem (320px). The `railWidth` prop picks the preset; a service theme retunes the presets themselves. Consumers never author a grid track."},{name:"--master-detail-gap",category:"semantic",tier:"semantic",role:"Gap between the MasterDetail master and detail regions (default --space-stack-md), side by side and stacked."},{name:"--master-detail-collapse-below",category:"semantic",tier:"semantic",role:"MasterDetail stacking threshold (default 40rem / the `sm` step), measured against the composition's OWN inline size, not the viewport: wider keeps the split, narrower stacks master above detail. A real knob \u2014 the layout resolves it inside a flex-basis calc(), because a media/container-query CONDITION cannot read a var(). The `collapseBelow` prop overrides it per instance (rule #45)."},{name:"--master-detail-master-viewport-{compact,standard}",category:"semantic",tier:"semantic",role:'Bounded MasterDetail master viewport \u2014 20rem (320px) / 28rem (448px), selected by the semantic `masterViewport` prop. `masterViewport="auto"` (the default) applies NO bound, so existing compositions are unchanged; the presets cap the collection\'s block size and scroll it INSIDE the region, which is what stops a long real collection from pushing the detail below the fold once the layout stacks. Retune the presets in a service theme exactly like --master-detail-rail-*; never author a pixel max-height in consumer CSS.'},{name:"--master-detail-master-viewport-inset",category:"semantic",tier:"semantic",role:"Focus-ring room inside a bounded MasterDetail master region (default --space-1 / 4px), and its scroll-padding. An overflow container clips BOTH axes, so without this inset the focus ring of a row at the region's edge would be cut off; it also keeps a row scrolled into view off the clip edge. Only applies when `masterViewport` is compact/standard."},{name:"--page-header-extra-measure",category:"semantic",tier:"semantic",role:'Inline measure of the PageContainer header `extra` region while `headerLayout="responsive-inline"` and the page is below the 640px step (default 11rem / 176px). The default `headerLayout="stack"` never reads it \u2014 `extra` keeps wrapping onto its own full-width line under the subtitle. At >=640px both arrangements are identical, so this token only governs the compact range.'},{name:"--page-measure-{narrow,medium}",category:"semantic",tier:"semantic",role:'Bounded PageContainer MEASURE presets \u2014 42rem (672px) / 48rem (768px), selected by the semantic `measure` prop. They are OUTER measures: the package-owned page gutters (--space-page-active-x, 24px each side) sit INSIDE the cap, so the VISIBLE surface is 624px / 720px, and at 390px nothing binds (358px surface at the 16px compact gutter). Unlike variant="narrow" \u2014 which caps only .ui-page-body \u2014 the measure caps the page HEADER and the BODY together, so a header `extra` action ends flush with the body surface. `measure="default"` (the default) reads NEITHER token and matches no rule, so existing pages are unchanged. Retune the presets in a service theme; never author a page-local max-width.'},{name:"--badge-space-*",category:"component",tier:"component",role:"Badge spacing."},{name:"--button-count-{min-width,space-inline,font-size} / --button-count-{background,color} / --button-count-{default,destructive,secondary}-{background,color}",category:"component",tier:"component",role:"Button's COUNTER PILL (`count` / `overflowCount` / `showZero`). The COLOUR knobs exist because the pill used to tint itself translucently over whatever surface the button happened to have (`bg-primary-foreground/15` on filled variants, `bg-foreground/8` on the outline family), which means its contrast was a FUNCTION of that surface rather than a property of the pill \u2014 and five variant x theme x hover combinations measured below the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: default 3.88 light, destructive 4.29 dark, and the outline family 4.32 light at rest, 3.64 light on hover, 3.68 dark on hover. The two worst were HOVER states, which is exactly why a screenshot sweep never found them: `--accent` only exists under the cursor. The fix is the treatment validated on Toggle: OPAQUE role fills, so the ratio no longer depends on the variant or on hover. Each filled variant wears its OWN label pair SWAPPED (default --primary on --primary-foreground = 5.04 light / 7.07 dark; destructive 6.10 / 5.53; secondary 14.25 / 12.40), which makes the pill exactly as legible as the label beside it and impossible to make worse without making the button itself unreadable first \u2014 a promise a fixed colour could not make across re-themes. The outline family shares one pill, --foreground on --muted (14.25 / 12.40), whose --muted fill sits 1.09:1 against the button's own ground, so at rest the counter still reads as quiet text rather than a badge: it is the legibility of the DIGITS that rose, not the loudness of the pill. All eight colour knobs are ROLE-MIRROR knobs -- `initial` at :root with the role default at the CALL SITE -- so a scoped `.dark`/`[data-tenant]` override of the role reaches the pill. The geometry knobs are byte-identical to Toggle's, asserted by a token-parity test."},{name:"--toggle-count-{min-width,space-inline,font-size,radius,gap} / --toggle-count-{background,color} / --toggle-pressed-count-{background,color} / --toggle-pressed-border-color / --toggle-count-forced-outline-width",category:"component",tier:"component",role:"Toggle's COUNTER PILL (`count` / `overflowCount` / `showZero` / `countLabel`) \u2014 the counted, PRESSED chip Button could not express. SHARE vs SPLIT is the whole point of this group. GEOMETRY is shared: the five geometry knobs carry Button's exact counter values off the same primitive scale (var(--space-4) / var(--space-1) / var(--font-size-xs) / var(--radius-pill) / 0), so a Toggle count set beside a Button count measures identically in a browser (12.47px, 16px min-inline, 4px inline padding, pill radius, tabular-nums) and a token-parity test fails if either side moves alone. `--toggle-count-gap` is ADDITIVE to the toggle's own flex gap and defaults to the quiet 0 (rule #44). COLOUR is deliberately NOT shared: Button's pill sits on a static variant surface and tints itself translucently, but Toggle's pill sits on a surface that INVERTS when pressed, where that treatment cannot clear WCAG 1.4.3 AA at the xs step (measured 3.82:1, and 4.39:1 even at the lowest usable alpha \u2014 the ceiling is the chip label's own 5.04:1 and any tint only lowers it). So Toggle uses OPAQUE role fills that make its contrast independent of the chip's variant and hover surface, and inverts them with the state: unpressed --foreground on --muted (14.18:1 light / 12.44:1 dark), pressed --primary on --primary-foreground \u2014 the chip label's own pair, swapped (5.04:1 light / 7.05:1 dark), so the pill is exactly as legible as the label beside it. All five colour knobs are ROLE-MIRROR knobs: `initial` at :root with the role default at the CALL SITE, so a scoped `.dark`/`[data-tenant]` override of the role actually reaches the pill. `--toggle-pressed-border-color` defaults to the pressed fill itself (quiet, #44) and is the knob a service overrides when its pressed fill is a PALE tint that weakens the inversions. `--toggle-count-forced-outline-width` (1px) draws the pressed pill's outline under `forced-colors: active`, where every fill is flattened and neither inversion encodes anything \u2014 together with the chip border following the system Highlight, that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--logo-godx-{size,size-xs|sm|md|lg,color} / --logo-success-{background,foreground} / --logo-identity-foreground",category:"component",tier:"component",role:'The GoDX IDENTITY mark. COLOUR: its default is the --brand IDENTITY role (canonical emerald) \u2014 deliberately independent of --primary, so a re-themed action colour never recolours the brand, AND of --success, the \u82E5\u7AF9 STATUS green it must never default to (`tone="success"` names the semantic SLOT, not the status role). Role-mirror knobs: declared `initial` at :root with the role default at the CALL SITE (`hsl(var(--logo-godx-color, var(--brand)))`), so a scoped `.dark`/`[data-tenant]` override of --brand actually reaches the mark. BOX: `--logo-godx-size-{xs,sm,md,lg}` (1.5 / 1.75 / 2 / 2.5rem) is the identity mark\'s own size ramp \u2014 the `size` prop drives it exactly like --logo-size-* drives the boxed glyph, one tier above its glyph sibling because the artwork is a capsule inside a square viewBox. `--logo-godx-size` is the PIN, not the base: `initial` by default (so the tiers apply) and, set once by a service theme, it freezes the mark at that box on EVERY tier. INK: `--logo-identity-foreground` (48 9% 9%, #191815) is the colour the boxed `mark="glyph"` sets its TEXT in on the identity fill \u2014 deliberately NOT --brand-foreground. --brand-foreground is the artwork KNOCKOUT colour (it tracks --background in both themes, because `mark="godx"` punches its inner bar as an evenodd HOLE and the email mark paints that hole solid to match) and as negative space only owes WCAG 2.2 SC 1.4.11\'s 3:1. The boxed glyph renders real TEXT, so SC 1.4.3 applies at 4.5:1 \u2014 14px bold is NOT "large text" (that needs 18.66px bold / 24px) \u2014 and knockout white on the emerald measured only 3.67:1, a straight AA failure. The ink is theme-INVARIANT (it is the same near-black spine the dark theme already resolved to), so dark is unchanged at 6.89:1 and light rises to 4.74:1. It is NOT a role-mirror knob \u2014 its default is a real value, not a role, so there is no role to freeze and it is declared at :root, not `initial`. Re-theming --brand to a DARK fill? Override the public knob --logo-success-foreground to re-invert the ink. Applies to `<Logo mark="godx">` / `tone="success"`.'},{name:"--logo-wordmark-{gap,font-size-xs|sm|md|lg,font-weight,letter-spacing,font-family,color}",category:"component",tier:"component",role:'Wordmark/lockup knobs for `<Logo wordmark="\u2026" />` \u2014 the mark\u2194wordmark gap, the per-size-tier wordmark type ramp, and its face/weight/tracking/colour. The package ships NO wordmark artwork: `--logo-wordmark-font-family` defaults (at the call site) to --font-family-display, so the wordmark is typeset in the design-system face; pass an inline <svg> as `wordmark` when a real logotype exists. `--logo-wordmark-color` is a role-mirror knob (`initial`) whose call-site default is hsl(var(--foreground)), or the --brand IDENTITY role on the godx / tone="success" lockup \u2014 never --primary and never the --success status green. Setting it once in a service theme re-colours every lockup with no page CSS.'},{name:"--card-*",category:"component",tier:"component",role:"Card surface, border, spacing, and typography."},{name:"--control-*",category:"component",tier:"component",role:"Shared form control heights, padding, icons, and focus chrome."},{name:"--control-affix-{inset-inline-end,action-size,action-radius,icon-size,rest-alpha} / --control-trigger-space-inline-end",category:"component",tier:"component",role:"OVERLAY trailing affix \u2014 the clear \u2715 / chevron a select-family trigger parks ON TOP of its inline end. One set for Select, SearchSelect, Cascader and TreeSelect (`.ui-control-affix-action` / `-icon` / `-indicator`); the Dialog and Sheet close \u2715 borrow `--control-affix-icon-size` so every overlay \u2715 in the system is one size. Before #319 each of those hard-coded the same `end-2 size-6 rounded-sm opacity-50` stack, so retuning affix weight meant chasing the same literal through four components and missing one. `--control-affix-rest-alpha` (0.5) is the resting weight and is deliberately QUIETER than the inside-field set's 0.7 (`--control-inline-affix-rest-alpha`): an overlay affix floats over the selected value, so at equal weight the \u2715 starts reading as content. `--control-trigger-space-inline-end` (2.25rem, a raw rem because the `pe-9` it replaced is a flat Tailwind step, not a density-scaled one) is the inline room the trigger reserves so a long selected label never runs UNDER the affix \u2014 grow the affix without growing this and the label collides with it; shrink it without shrinking this and you ship dead space at every trigger's end."},{name:"--control-inline-affix-{size,icon-size,space-gap,inset-inline,rest-alpha,space-inline-end}",category:"component",tier:"component",role:"INSIDE-FIELD affix \u2014 the leading/trailing controls Input, Textarea, TimePicker and DatePicker render WITHIN the field box, as opposed to the overlay set (`--control-affix-*`) that a select-family trigger parks on top of. Kept a SEPARATE set on purpose, not an alias: these sit on the field's own surface rather than over it, so they rest heavier \u2014 `--control-inline-affix-rest-alpha` is 0.7 against the overlay's 0.5. Collapse the two into one knob and one side always loses: either the inline affixes go too faint to find, or the overlay \u2715 starts fighting the value it sits on. `--control-inline-affix-space-inline-end` (2.25rem) reserves room for exactly one affix. Pickers show clear when nonempty and clearable; otherwise they show their calendar/clock. Never render both. Textarea has no single line to centre on, so it pins its clear to the top-end corner via `--textarea-clear-inset-block-start` rather than centring like Input."},{name:"--textarea-autogrow-{line-height,min-height-rows,max-height-rows,box-inset} / --control-multiline-padding-block",category:"component",tier:"component",role:"Textarea `autoGrow` geometry \u2014 the box that grows with its content. The floor and ceiling are counted in TEXT ROWS (`--textarea-autogrow-min-height-rows` 1, `--textarea-autogrow-max-height-rows` 8), not pixels, because a row count survives a density change and a `--font-size-base` retheme while a px ceiling silently stops matching the visible line count. A service sets its composer's resting and maximum height once in theme; the `minRows` / `maxRows` props override per instance \u2014 the same theme-global / prop-local priority as `--form-label-width` vs `labelWidth`. `--textarea-autogrow-line-height` is `initial` at :root and read as `var(--textarea-autogrow-line-height, var(--line-height-normal))` at the call site, so a service that retunes the multiline line-height for CJK legibility retunes the row unit with it instead of getting a ceiling that no longer means eight visible lines. `--textarea-autogrow-box-inset` is the non-text part of the box the row maths adds back (block padding + border, both edges) and `--control-multiline-padding-block` is that block padding, shared with `.ui-control-multiline` itself so the two cannot drift. The floor is additionally clamped up to `--control-height`, so a resting one-row composer still lines up with the Input / Button on its row rather than undercutting the control tier. Every default reproduces today's geometry when `autoGrow` is absent."},{name:"--control-composite-field-*",category:"component",tier:"component",role:"The bordered two-input shell (`.ui-control-composite-field`) shared by DateRangePicker, MonthPicker and MonthRangePicker: one field box wrapping two inputs plus a separator so the pair reads as a SINGLE control instead of two adjacent ones. `--control-composite-field-space-gap` (`--space-2`) is the rhythm between the halves and the separator. Shared deliberately \u2014 before #319 each picker carried its own literal and the range fields drifted into slightly different boxes, the tell that a design system is not actually one system. The box's height, border, disabled state and focus chrome still come from `--control-*` / `.ui-control`, so retune this only for the internal gap; anything else belongs on the control family."},{name:"--menu-item-{height,radius,space-inline,space-gap,font-size,inset-space-inline-start} / --menu-content-{space-inset,min-width}",category:"component",tier:"component",role:"ONE row rhythm for every popup list surface: ContextMenu, Menubar, DropdownMenu AND Select's listbox all lay their rows out against these (`.ui-select-item` sits in the same rule as `.ui-dropdown-menu-item`), so a service retunes menu density once instead of four times. Before #319 the height was a literal `2rem` in the CSS and DropdownMenu had not been converted at all \u2014 it carried its whole box as Tailwind literals on the component. Set `--menu-item-height` and all four surfaces resize together; patch one component's padding instead and you get the four-menus-that-almost-match tell. `--menu-item-inset-space-inline-start` is the indicator column an inset row (a checkbox/radio row with no indicator of its own) reserves so its label stays aligned with its checked siblings \u2014 move it whenever you change `--menu-indicator-size`, or the two columns desynchronise. `--menu-content-min-width` (10rem) and `--menu-content-space-inset` are the panel, not the row; DropdownMenu re-points the min-width at `--dropdown-content-min-width` (8rem) because it anchors to a small trigger, so override that one to widen dropdowns alone."},{name:"--table-*",category:"component",tier:"component",role:"Table row/cell sizing."},{name:"--table-pagination-padding-{y,x}",category:"component",tier:"component",role:"DataTable.Pagination footer inset. The footer used to declare `padding-top` ONLY, so in the documented flush container (`<Card><CardContent flush><DataTable/>`) the 'rows per page' label and the page-size Select sat flush against the container edge and its closing border. It now owns `padding-block` + `padding-inline`. Both knobs are declared `initial` with the default at the CALL SITE \u2014 block `var(--space-stack-sm)` (the old padding-top value, now on both block edges), inline `var(--table-cell-space-x)` so the label lands on the same optical axis as the first column's text. `initial` is load-bearing: both defaults are density-scaled and re-declared inside a `.ui-density-*` subtree, and a `:root` binding would freeze the footer at the `:root` density. Consumers no longer need a local `.ui-data-table-pagination` override; a service on another grid retunes either axis."},{name:"--table-surface-min-inline-size",category:"component",tier:"component",role:'DataTable surface narrow-viewport width FLOOR. Below the `sm` viewport step a multi-column admin grid whose cells are `white-space: nowrap` would be crushed, so the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. This shipped as a hard-coded `min-w-[640px] sm:min-w-0` utility pair ON the surface element \u2014 the literal that forced the horizontal scroll at 390 \u2014 leaving a service that wants a narrower (or no) floor with no route but forking the component (rule #45). Default `640px`, byte-identical to the old utility, and deliberately px so the floor releases at exactly the same width as the px-based `sm` media query that clears it (a rem value drifts under a non-16px root and re-introduces the scroll between the two thresholds). Set `0` to opt out; `DataTable preset="action-collection"` already does, because there the column-priority measures own the width.'},{name:"--form-label-width",category:"component",tier:"component",role:"Label column width in horizontal Form layout. Default max-content; a service theme sets it once (e.g. 110px) \u2014 the labelWidth prop overrides per form/field."},{name:"--form-label-gap",category:"component",tier:"component",role:"Label\u2194control column gap in horizontal Form layout. Default 16px (--space-4)."},{name:"--dialog-* / --alert-* / --skeleton-*",category:"component",tier:"component",role:"Feedback component sizing and spacing."},{name:"--banner-{radius,border-width,space-inset-block,space-inset-inline}",category:"component",tier:"component",role:'Banner strip geometry \u2014 the full-bleed presentation of the Alert primitive (`<Banner>` / Alert variant="banner"). radius 0 (square strip corners), a single hairline block-end rule (tone-coloured by the alert rules), block inset denser than the inline card (--space-3), inline inset defaulting to the page gutter (--space-page-active-x) so banner text aligns with page content. Colour stays entirely with `tone`; a service retunes the strip once here \u2014 a consumer never writes CSS to place a banner.'},{name:"--page-header-status-gap",category:"semantic",tier:"semantic",role:"Gap between the page title and its status/meta band (PageContainer `status`), and between the band's own items. Default --space-inline-sm. The band shares the title line and wraps under it on compact viewports; a page that never passes `status` reads neither the token nor the wrapping row."},{name:"--sheet-responsive-breakpoint-width / --sheet-bottom-max-height",category:"component",tier:"component",role:`The responsive drawer / detail-panel contract (SheetContent responsive="auto"). --sheet-responsive-breakpoint-width (default 48rem = 768px, the library's canonical mobile line) is the viewport width at and below which the desktop side panel becomes a mobile bottom sheet; --sheet-bottom-max-height (default 85dvh) caps THAT bottom presentation only (a plain side="bottom" sheet stays content-sized). Because a CSS @media cannot resolve a custom property, the breakpoint is read off :root at runtime by the exported useSheetResponsiveMode() hook \u2014 which is also what OrgSwitcher responsive="auto" uses, so ONE knob moves the popover\u2192sheet and side\u2192bottom line for every overlay at once. Accepts px/rem/em.`},{name:"--scroll-area-anchor-offset",category:"component",tier:"component",role:'ScrollArea `anchor="bottom"` stickiness band: how close to the bottom edge the reader still counts as "following the stream". Inside it, arriving content keeps the viewport pinned to the newest item; one pixel beyond it the reader is reading history and anchoring never moves them again until they come back (WCAG 3.2.5). Sized to the row height a service renders \u2014 a dense audit line is ~20px, a chat bubble with an avatar ~64px, and "one row from the bottom" is what the reader means. In rem so the band is still one row at 200% zoom. A CSS comparison cannot express it, so the component reads the token off the element at mount (px/rem/em accepted); the `anchorOffset` prop overrides it per instance. The rail geometry knobs (--scroll-area-bar-size / -bar-padding / --scroll-area-thumb-radius) live with the data-display tier.'},{name:"--qr-code-*",category:"component",tier:"component",role:"QrCode scanner-safe foreground/background and xs/sm/md/lg natural-size tiers. Keep foreground/background at strong contrast; the defaults remain dark-on-light in dark application themes."},{name:"--chart-trend-plot-height{,-xs,-sm,-md,-lg}",category:"component",tier:"component",role:"CompactBarTrend plot-height tiers (xs 3.5rem = dashboard summary-card density, sm 5rem, md 7.5rem, lg 10rem). The `size` prop picks a step via data-size; a service retunes the whole scale here. This is why a consumer NEVER writes an inline height for a compact trend."},{name:"--chart-trend-bar-{gap,radius,max-width,min-height}",category:"component",tier:"component",role:"CompactBarTrend mark geometry: gap between bars (default --space-2), rounded data-end radius (--radius-sm), the per-mark width ceiling (1.5rem, so a 3-point trend does not render slabs) and the min height floor (2px, so a zero value still reads as a plotted category). All service-tunable (rule #45)."},{name:"--chart-trend-bar-background{,-alpha} / --chart-trend-bar-emphasis-background",category:"component",tier:"component",role:"CompactBarTrend fills \u2014 role-mirror knobs declared `initial` with the role default at the call site. Muted marks default to hsl(var(--muted-foreground) / --chart-trend-bar-background-alpha) (0.75, which clears the 3:1 non-text contrast floor); the emphasized 'current' mark defaults to hsl(var(--primary)). Point them at --chart-N to tint a trend to a series colour."},{name:"--chart-trend-baseline-border",category:"component",tier:"component",role:"CompactBarTrend baseline rule. QUIET by default (rule #44 \u2014 resolves to `none`); a service opts in with `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-{tick-gap,tick-font-size,footer-gap}",category:"component",tier:"component",role:"CompactBarTrend category-tick and activity-footer rhythm \u2014 the plot\u2194tick gap, tick type size (--font-size-xs) and the plot\u2194footer gap."},{name:"--email-shell-{width,padding,page-padding,border-width} / --email-card-{radius,reference-height} / --email-stack-gap{,-sm}",category:"component",tier:"component",role:"Transactional-email shell geometry: the 480px card width, its 32px inset, the 24px viewport gutter, the 1px edge, the 10px radius (mirrors --card-radius) and the block rhythm. The canonical invitation reference measures 480\xD7407 (--email-card-reference-height is a visual-regression target, NEVER a fixed height on the card). Values are LITERAL px \u2014 email clients resolve neither var() nor rem \u2014 and are consumed through the `@godxjp/ui/email` export (EMAIL_SHELL), never by a stylesheet."},{name:"--email-{body,heading}-{font-size,line-height,font-weight} / --email-font-family-{sans,mono}",category:"component",tier:"component",role:`Email type ramp, reconciled with the SCR-302 canonical reference. Body 14px/1.9, title 17px/1.7 at weight 500 (a transactional title is CALM, not bold) \u2014 deliberately looser and quieter than the web ramp, because a mail client gives the reader no density control, so do NOT 'fix' it back to --heading-h1/--line-height-body. --email-font-family-sans names the canonical Noto Sans JP face first and degrades Hiragino \u2192 Yu Gothic \u2192 M PLUS 2 \u2192 Meiryo \u2192 system UI \u2192 Arial \u2192 sans-serif; no email client honours @font-face, so the stack is the whole fallback contract. --email-font-family-mono (mirrors --font-family-mono) sets invoice ids, masked card numbers, ISO dates and amounts. Family names export SINGLE-quoted so the value drops into a double-quoted style="\u2026" attribute unescaped (emailInlineStyle throws on a double quote). Exposed as EMAIL_TYPOGRAPHY.`},{name:"--email-mark-{width,height,gap} / --email-wordmark-{font-size,font-weight}",category:"component",tier:"component",role:'Email brand-mark LOCKUP. The ARTWORK is byte-identical to <Logo mark="godx" /> (the 32\xD732 capsule + internal glyph, asserted by test); only the rendered box is email-specific \u2014 the canonical header sets a 22px mark, an 8px gap (mirrors --logo-wordmark-gap) and a 13px/700 wordmark (mirrors --logo-wordmark-font-weight). In that pairing the mark is DECORATIVE (render it with label: "") and the wordmark carries the accessible name, so the brand is announced once. Exposed as EMAIL_BRAND_MARK; the svg / dataUri / tableHtml deliveries all derive from this one geometry source.'},{name:"--email-cta-{height,line-height,padding-x,radius,font-size,font-weight} / --email-focus-border-width",category:"component",tier:"component",role:"The single primary email CTA, reconciled with the SCR-302 canonical reference: 44px tall with line-height EQUAL to the height so the label centres without flexbox in Outlook, 16px inline padding (--space-4), the 6px --radius base, 14px/500 label. The height is a TOUCH TARGET and is deliberately DECOUPLED from --control-height-lg (36px), which it mirrored until 18.8.0 \u2014 do not restore the mirror. Email is touch-only: no hover, no precise pointer, no dependable zoom, so the web AA floor (SC 2.5.8, 24\xD724, which 36px clears) is the wrong bar. 44px is SC 2.5.5 Target Size (Enhanced, AAA, 44\xD744) plus the Apple HIG 44pt / Material 48dp convention, and the mobile reflow still takes the CTA full-bleed. Fill/label are EMAIL_COLORS.primary / primaryForeground, derived from the --primary role \u2014 never paste a canonical hex, or the email stops tracking a re-theme. --email-focus-border-width mirrors --focus-ring-width for the webmail panes that honour :focus-visible. Exposed as EMAIL_CTA / EMAIL_FOCUS."},{name:"--email-footer-{font-size,line-height,link-gap,padding-top,border-width} / --email-mobile-*",category:"component",tier:"component",role:"Legal-footer typography (11px/1.8 quiet type per the SCR-302 canonical, 12px between adjacent links, 20px above the hairline) and the narrow-viewport reflow (520px breakpoint, fluid card, 20px inset, 12px gutter, 16px heading \u2014 one step under the 17px desktop title, full-bleed CTA). The canonical 390px reference raster is unusable (435px wide and already clipping the card, dxs-platform/platform#496), so the mobile ramp is the library's documented contract rather than a measured value. Exposed as EMAIL_FOOTER / EMAIL_MOBILE; every reflow rule needs an inline fallback because most clients strip <style>."},{name:"--auth-shell-device-{card-max-width,main-padding,main-padding-mobile,otp-slot-inline-size,otp-slot-block-size}",category:"component",tier:"component",role:'AuthShell `preset="device-authorization"` measure \u2014 the canonical OAuth device-grant artboard: a 23.75rem/380px card at 1440/1024 and a 15px-block \xB7 5px-inline page gutter at 390 (so the card renders x=5px, width=380px), PLUS the code field the flow is actually about. The preset now owns its OTP slot box and hands it to --otp-slot-{inline,block}-size: 27.5x52 per slot, i.e. a 4-slot `appearance="grouped"` box of 112x54 with its 1px group border. Without it the field fell back to the square --control-height tier and rendered 146x38 against that artboard \u2014 the preset owned the page but not its subject. LITERAL lengths, not --space-*, because the artboard specifies exact device pixels that must not drift with --scaling. Selecting the preset replaces a consumer-side --auth-shell-card-max-width override or a forked `.auth-shell--wide` class; the canonical 360px/15px default is untouched.'},{name:"--auth-shell-context-{card-max-width,main-padding,main-padding-mobile,card-stack-gap}",category:"component",tier:"component",role:'AuthShell `preset="context-selection"` measure \u2014 the organisation/context picker: a 25rem card on desktop/tablet, edge-to-edge on mobile (0 inline gutter), and a 1rem rhythm between the three direct sections of the auth column (intro \xB7 choice card \xB7 "remember" row).'},{name:"--auth-shell-recovery-{card-max-width,main-padding,main-padding-mobile}",category:"component",tier:"component",role:'AuthShell `preset="account-recovery"` measure \u2014 the SCR-008 27rem/432px panel, shared by the password-recovery panel (request \xB7 sent \xB7 new-password \xB7 expired) AND the sign-in MFA challenge panel (OTP \xB7 recovery-code \xB7 passkey-failure), because both canonical desktop panels measure w=432 at 1440. Mobile gutter = 15px inline at <=30rem, so the panel is x=15, width=360 \u2014 the SAME rhythm as the canonical Login flow, chosen deliberately: the supplied 390 reference is a desktop 2x2 composite that crops horizontally and is NOT a valid source. The canonical 360px Login measure and the 24rem un-preset shell are untouched.'},{name:"--auth-shell-registration-{card-max-width,main-padding-block-start,main-padding-block-start-mobile,main-padding-inline,main-padding-inline-mobile,main-padding-block-end,main-padding-block-end-mobile,card-stack-gap,identity-slot-block-size}",category:"component",tier:"component",role:'AuthShell `preset="registration"` measure \u2014 the canonical SCR-002 sign-up flow: a 22.5rem/360px form measure with a 15px inline gutter at 390 (card x=15, width=360 \u2014 the same page rhythm as the Login flow, so sign-in \u2192 sign-up never jumps on a phone). START-aligned (a tall sign-up card must scroll, not clip its own top above the scroll origin), with the block-start offset DERIVED from the canonical artboard (card y=284 at 1440x900, y=274 at 390x844: padding-block-start + 112px identity slot + 20px stack gap), and a footer-clearance knob of its own (block-end 3rem / 2rem mobile) so the legal/consent footer never sits flush against the submit button after a long scroll. The fixed 112px identity track absorbs absent / one-line / wrapped two-line identity copy without moving the card anchor.'},{name:"--otp-slot-size",category:"component",tier:"component",role:"InputOTP slot box. Default `var(--control-height)` \u2014 byte-identical to before and still density-aware \u2014 but its OWN knob, so an auth panel can widen the 6-slot challenge row to fill a wide surface WITHOUT re-scoping --control-height (which would resize the primary button and every other input in the same card). Set it to a NAMED tier (`var(--control-height-lg)`), never an ad-hoc calc offset."},{name:"--otp-slot-{inline-size,block-size}",category:"component",tier:"component",role:'Per-AXIS InputOTP slot box. --otp-slot-size stays the SQUARE shorthand; these two win over it and fall back to it, so a code field that is taller than it is wide \u2014 the canonical device-grant slot, 27.5x52 \u2014 is finally expressible from a token. Declared `initial` so the whole chain (axis \u2192 square \u2192 --control-height) resolves at the CALL SITE and a shell that re-scopes --control-height still reaches a field that sets neither axis. `AuthShell preset="device-authorization"` sets both for you.'},{name:"--otp-container-align",category:"component",tier:"component",role:'Main-axis alignment of the whole InputOTP row. Default `flex-start` = the historical layout, so nothing moves. It exists because a centred code challenge is the common auth case and the container element belongs to `input-otp` \u2014 the only thing a consumer could reach was a wrapper div, and every one of them wrote it. Per instance use `align="center"` on InputOTP, which outranks this token.'},{name:"--tabs-indicator-{background,size,offset}",category:"component",tier:"component",role:"Tabs `line` ACTIVE indicator \u2014 the only selected-state decoration the line variant paints; it never gets a surrounding ring/card border, so the `:focus-visible` keyboard ring stays visible and distinct (WCAG 2.4.7). --tabs-indicator-background is declared `initial` so its hsl(var(--primary)) default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme. Defaults = primary \xB7 2px \xB7 offset 0 (flush with the trigger edge); raise the offset to park the bar on a thicker strip hairline. The selected ring on the default/card variants is unchanged."},{name:"--avatar-square-{radius,size,background,foreground}",category:"component",tier:"component",role:'Avatar `shape="square"` entity-header mark \u2014 the compact rounded square an organization/service header uses instead of the round person avatar. --avatar-square-background / --avatar-square-foreground are declared `initial` so the hsl(var(--primary)) / hsl(var(--primary-foreground)) defaults re-resolve at the CALL SITE under a scoped theme. Defaults = --radius-lg corners \xB7 --control-height box (swapping shape never reflows the header) \xB7 primary fill at 4.65:1 contrast. `shape="circle"` (the default) is inert and reads --avatar-background / --avatar-tint as before.'},{name:"--avatar-tinted-{background,foreground,glyph-size}",category:"component",tier:"component",role:'Avatar `appearance="tinted"` \u2014 the CAPABILITY MEDALLION: the tinted plate a feature/capability glyph sits on, as opposed to the solid entity mark above. Orthogonal to `shape`, so `shape="square" appearance="tinted"` is the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are declared `initial` so the hsl(var(--primary) / 0.1) / hsl(var(--primary)) defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme \u2014 which is the whole point: consumers were writing that 0.1 alpha literal into page CSS, or giving up and rendering a bare glyph, because the medallion is a composition (Avatar + a Lucide glyph) whose tint had no token. Defaults = 10% primary wash \xB7 primary glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-presence-{size,min-size,inset,ring-width,ring-color,stroke-width,bar-inline-size,bar-block-size,online-color,away-color,busy-color,offline-color}",category:"component",tier:"component",role:'Avatar `presence` \u2014 the realtime reachability dot on the mark. Every constant is a knob because the workaround it replaces baked four of them plus a raw palette colour into consumer page CSS (`-end-0.5 -bottom-0.5 size-2.5 ring-2 bg-green-500`). --avatar-presence-size is a PROPORTION of the mark (default 30%, floored by --avatar-presence-min-size = --space-2), NOT a px step, so one value tracks every avatar the system paints \u2014 the --control-height box and its xs/sm/lg steps, --avatar-square-size, --org-switcher-avatar-size, --upload-avatar-size, a call site\'s own `size-12`, the 36px ListRow density="compact" mark \u2014 instead of freezing a diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs declared `initial`, with the role default at the CALL SITE (`var(--knob, var(--role))`), so a scoped [data-tenant]/.dark override of --background / --success / --warning / --destructive / --muted-foreground reaches them \u2014 bound at :root the ring would freeze light-mode-white on a dark avatar. --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the ACCESSIBLE encoding, not decoration: they draw the per-state silhouette (filled / half-filled / barred / hollow) that keeps presence off colour-alone (WCAG 1.4.1) in greyscale, for a deuteranope and under forced colors. Defaults = 30% diameter (floor 0.5rem) \xB7 flush with the corner (inset 0) \xB7 a 2px --background separator ring \xB7 a 1.5px state stroke \xB7 a 56%-wide 1.5px dnd bar.'},{name:"--separator-{rule-size,rule-color,label-gap,label-inset,label-font-size,label-line-height,label-font-weight,label-color,tone-<tone>-rule-color,tone-<tone>-label-color}",category:"component",tier:"component",role:"Separator, including the LABELLED rule a `label` interrupts \u2014 a message stream's day divider, a \"new messages\" unread watermark, an auth conjunction. Before #308 the only labelled rule in the library was the auth-scoped AuthDivider, which baked `height: 1px` into shell-layout.css and read the `--auth-shell-divider-*` micro-scale, so a service retuning its login divider silently retuned every day divider in its chat. Defaults are the QUIETEST state: a 1px hairline, a muted --font-size-xs label at --font-weight-medium, no surrounding padding. --separator-label-gap and --separator-label-inset (the SHORT rule half under labelAlign start/end \u2014 a grid track on the inline axis, so it flips under RTL) are declared `initial` because --space-* is density-scaled and re-declared inside a `.ui-density-*` subtree; a :root binding would freeze them at the :root density. Every colour knob is a role-mirror and is likewise `initial`, with the role default at the CALL SITE \u2014 --separator-rule-color \u2192 --border, --separator-label-color \u2192 --muted-foreground, and --separator-tone-{muted,primary,success,warning,destructive,info}-{rule,label}-color \u2192 the matching semantic role. `tone` re-points the rule AND the label, never the rule alone, so an attention rule is not colour-only (WCAG 1.4.1) and survives forced-colors. AuthDivider now only re-points these knobs at the --auth-shell-divider-* layer, so #263's canonical login geometry is unchanged."},{name:"--steps-inline-{gap,item-gap,font-size,separator-size,index-font-weight,index-color,separator-color}",category:"component",tier:"component",role:"Steps type=inline compact auth/device progress rhythm, typography and EMPHASIS. Consumers select the semantic appearance; services retune the row once without page CSS. The step number's emphasis is two knobs \u2014 --steps-inline-index-font-weight (default bold) and --steps-inline-index-color (role-mirror `initial`, default the inherited step colour) \u2014 because the canonical hosted-identity row marks the step with an accent TINT at normal weight while the library default marks it with bold. --steps-inline-separator-color (role-mirror `initial`, default --muted-foreground) tints the glyph the `separator` prop picks."},{name:"--auth-account-summary-{min-height,gap,padding,identity-min-width,avatar-size,avatar-glyph-size,email-font-size}",category:"component",tier:"component",role:"AuthAccountSummary compact signed-in identity row: wrapping threshold, avatar, email and action rhythm. The default touch-safe row is package-owned and remains themeable without consumer selectors."},{name:"--auth-shell-{main-align,card-stack-gap}",category:"component",tier:"component",role:"AuthShell column knobs shared by every preset. --auth-shell-main-align is the block alignment of the auth column (default `center`, the vertically-centred card; set `start` for a tall intro+card+footnote stack). --auth-shell-card-stack-gap is the gap between the card slot's direct sections \u2014 default `0px` (quiet, rule #44) so an existing single-card consumer is byte-for-byte unchanged; a preset opts in."},{name:"--card-{accent-rail-width,accent-perimeter-width,accent-perimeter-ring-width,featured-border-color,featured-ring-width}",category:"component",tier:"component",role:'Card ACCENT geometry, one set per placement. `accentPlacement="edge"` (the default) draws the leading rail at --card-accent-rail-width (6px). `accentPlacement="perimeter"` draws the FULL attention border, measured by --card-accent-perimeter-width + --card-accent-perimeter-ring-width (1px + 1px, the optical weight of `variant="featured"`) in the card\'s own semantic accent tone. `variant="featured"` is the brand-toned member of the same family and no longer hard-codes --primary: its edge is the --card-featured-border-color role-mirror knob (`initial`, so the --primary default resolves at the CALL SITE and a scoped [data-tenant]/.dark override reaches it) at --card-featured-ring-width. The accent COLOUR itself is not a knob \u2014 it is resolved from `data-accent` on the card, so retint the ROLE (--attention, --success \u2026).'},{name:"--card-space-shell-y",category:"component",tier:"component",role:"Card BLOCK-axis shell padding \u2014 a plain header's top, a `solo` body's top and the terminal slot's bottom. Split off --card-space-inset, which is now inline-only, so a theme can make a card SHORTER without narrowing its column. Declared `initial`: the default resolves at the CALL SITE to --card-space-inset, so a card that overrides neither (and `density=\"tight|cozy\"`, which re-declares it `initial` to re-arm the per-instance inset) renders exactly as before."},{name:"--auth-shell-{compact-card-inset,card-padding-block-compact,card-body-gap-compact,card-gap-compact}",category:"component",tier:"component",role:"The compact AuthShell card's four independent knobs \u2014 one per axis, so the canonical Login card is tunable WITHOUT a consumer selector on the card-content slot: `compact-card-inset` = the inline column (\u2192 --card-space-inset); `card-padding-block-compact` = the card's block/top-bottom padding (\u2192 --card-space-shell-y, `initial` so its default mirrors the live inline inset and canonical output is unchanged); `card-body-gap-compact` = the header\u2194body gap (\u2192 --card-space-body-y, 12px, the role the block knob used to be mis-wired to); `card-gap-compact` = the in-slot title\u2195description stack gap (\u2192 --card-space-gap)."},{name:"--app-setting-picker-compact-{control-height,padding-x,gap,font-size}",category:"component",tier:"component",role:'AppSettingPicker `compact` trigger \u2014 the small, content-hugging LABELLED switcher for an auth/legal footer (`kind="locale" appearance="labeled" compact`). The box height reads the official --control-height-sm tier (never a literal or an ad-hoc calc), and padding/gap/type are separate knobs so a service theme retunes the footer switcher without forking CSS.'},{name:"--centered-shell-column-offset-block",category:"component",tier:"component",role:'CenteredShell column block offset \u2014 default `0` (the quiet state, rule #44: the top-aligned flowing/scrolling page). `<CenteredShell align="center">` flips it to `auto`, which centres the column in the 100dvh shell: the package-owned geometry for a SYSTEM-level standalone surface (a 500/503 error page, a maintenance notice) at 1440/1024/390, so a consumer never writes `min-h-dvh` + flex-centring CSS or a className. Auto block offsets collapse to 0 when the content is taller than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--error-surface-*",category:"component",tier:"component",role:'ErrorSurface knobs \u2014 the whole 403/404/500/503 exception surface is themeable without a single consumer class or media query, in BOTH `mode="application"` and `mode="system"`. Geometry: `--error-surface-max-width` (32rem measure of the surface block, so a long JA/VI headline wraps readably even inside a wide PageContainer), `--error-surface-gap` (rhythm between status code \xB7 body \xB7 metadata \xB7 progress), `--error-surface-padding-block` (--space-10, the 1440/1024 steps) and `--error-surface-padding-block-compact` (--space-6, below the narrow step, i.e. the 390 case), `--error-surface-brand-gap` (system-mode Logo slot) and `--error-surface-progress-max-width` (18rem, so the maintenance meter reads as metadata, not as the page\'s primary content). Metadata list: `--error-surface-meta-gap` (row rhythm) \xB7 `--error-surface-meta-row-gap` (label\u2194value gap inside one row) \xB7 `--error-surface-meta-padding-block`. Chrome is QUIET by default (rule #44): `--error-surface-meta-border` is `none`; a service opts in with `1px solid hsl(var(--border))`. The narrow step is a CONTAINER query at 30rem on the SURFACE\'s own width, not a viewport media query, so it compacts correctly whether the squeeze came from a 390px phone or from an application shell with an expanded sidebar; below it, metadata rows stack label-over-value. System-mode viewport centring is delegated to `--centered-shell-column-offset-block` (via CenteredShell align="center"), and the description measure to `--empty-state-description-max-width`.'},{name:"--centered-shell-landing-*",category:"component",tier:"component",role:'CenteredShell public-landing knobs \u2014 the SHELL geometry of a public marketing/product landing, so the landing itself stays a COMPOSITION (Hero/Navbar/Footer fail the Framework-Component Test) with ZERO page-local CSS. Read only under `preset="public-landing"`; the default shell emits no `data-preset`, so none of them can match. Measure: `--centered-shell-landing-max-width` (67.5rem, shared by the header bar, the centred column AND the footer \u2014 the bar/footer inline padding is `max(gutter, (100% - measure) / 2)`, so header content starts on exactly the column edge and no consumer max-width wrapper exists), `--centered-shell-landing-inset-inline` (+ `-compact`, the 390 gutter), `--centered-shell-landing-main-padding-block` (+ `-compact`), `--centered-shell-landing-section-gap` (+ `-compact`, the rhythm BETWEEN plain `<section>` elements \u2014 the consumer never sets a gap) and `--centered-shell-landing-footer-padding-block`. Chrome is QUIET by default (rule #44): `--centered-shell-landing-card-shadow` is `none`, which flattens every Card in the subtree from ONE knob instead of a consumer `.landing .card { box-shadow: none }`. Type: `--centered-shell-landing-heading-size` (+ `-compact`) re-points `--heading-h1`, so a hero title is a real `Heading level={1}` and never a page font-size. `--centered-shell-landing-background` is a ROLE-MIRROR declared `initial` with the role default at the call site (`var(--centered-shell-landing-background, var(--background))`), so a scoped [data-tenant]/.dark override of `--background` still reaches the landing canvas. The compact step is a 40rem media query owned by the package; region visibility (anchor nav below the tablet step, wordmark and the secondary action at mobile) is `Flex hideBelow` / `hideFrom`, never a consumer @media.'},{name:"--table-action-collection-*",category:"component",tier:"component",role:'Table action-collection knobs \u2014 the canonical dense approval/action queue at 1440 \xB7 1024 \xB7 390. Read only under `preset="action-collection"`. Column PRIORITY measures replace the desktop intrinsic widths (a `white-space: nowrap` free-text column is what makes a five-column queue wider than its card and forces the horizontal scroll): `--table-action-collection-primary-width` (18%), `-secondary-width` (22%), `-meta-width` (12%) and `-actions-width` (3.5rem \u2014 an absolute measure because the row-action affordance must never be squeezed below its touch target); an unmarked column takes the remaining space. Below the collapse step the same four re-point to their `-compact` tier (24% / 22% / 20% / 2.75rem) together with `--table-action-collection-font-size-compact`, `-row-height-compact`, `-cell-space-x-compact` and `-cell-padding-y-compact`. The step is a CONTAINER query on the table\'s own width (sm 40rem \xB7 md 48rem \xB7 lg 64rem \xB7 xl 80rem via `collapseBelow`), not a viewport media query, so a table inside a master rail collapses before the page does. Percentages so the ratio holds at any card width; a service retunes the ratio once instead of authoring column widths per screen (rule #45). ONE family serves BOTH entry points \u2014 the `Table` primitive (`priority` on `TableHead`/`TableCell`) and the TanStack `DataTable` (`priority` on the `ColumnDef`, stamped onto both cells for you). There is deliberately no parallel `--data-table-action-collection-*` family: retune these once and every queue follows.'},{name:"--legal-document-*",category:"component",tier:"component",role:"LegalDocumentShell knobs \u2014 the whole legal/policy document surface is themeable without a single consumer `.legal-*` class. Geometry: `--legal-document-measure-max-width` (46rem readable measure, caps header/body/footer), `--legal-document-toc-width` \xB7 `--legal-document-column-gap` \xB7 `--legal-document-toc-inset-block-start` (sticky offset) \xB7 `--legal-document-toc-max-height`, `--legal-document-section-gap` \xB7 `--legal-document-section-title-gap` \xB7 `--legal-document-header-gap` \xB7 `--legal-document-meta-gap` \xB7 `--legal-document-nav-gap` \xB7 `--legal-document-footer-gap`, `--legal-document-meta-font-size`, `--legal-document-body-line-height` (1.8 long-form leading) and `--legal-document-scroll-offset` (the `scroll-margin-block-start` a hash jump leaves above a heading \u2014 this is why no app needs JS offset arithmetic). Contents entries: `--legal-document-toc-font-size` \xB7 `--legal-document-toc-title-font-size` \xB7 `--legal-document-toc-item-padding` \xB7 `--legal-document-toc-item-radius` \xB7 `--legal-document-toc-marker-width`. Chrome is QUIET by default (rule #44): `--legal-document-toc-border` / `--legal-document-header-border` / `--legal-document-footer-border` are all `none`; a service opts in with `1px solid hsl(var(--border))`. The six colour knobs are ROLE-MIRRORS declared `initial` with the role default at the call site \u2014 `--legal-document-toc-foreground` (\u2192 --muted-foreground, also paints the contents caption), `--legal-document-toc-active-foreground` (\u2192 --foreground), `--legal-document-toc-active-background` (\u2192 --accent), `--legal-document-toc-marker-color` (\u2192 --primary), `--legal-document-meta-foreground` (\u2192 --muted-foreground) and `--legal-document-summary-foreground` (\u2192 --muted-foreground) \u2014 so a scoped [data-tenant]/.dark override of the role still reaches them. The one-column \u21C4 two-column split is a CONTAINER query at 56rem on the shell's own width, not a viewport media query."},{name:"--empty-state-description-max-width",category:"component",tier:"component",role:"EmptyState description MEASURE \u2014 default 28rem (~65 Latin characters per line). A service or locale that needs a shorter/longer measure for its own copy (JA/VI error-page descriptions, a narrow system surface) retunes this one knob instead of forking `.ui-empty-state-description` (rule #45)."},{name:"--sidebar-badge-{background,foreground} / --sidebar-badge-destructive-{background,foreground}",category:"component",tier:"component",role:'Sidebar nav COUNT PILL colour, split into a resting pair and an emphasis pair. Before these knobs `.sb-badge` had a font-size token and no colour token at all, so a rail that had to tell "unread" from "mentions you" could only nest a `<Badge>` INSIDE `SidebarItemProp.badge` \u2014 which renders a pill inside a pill (measured: a 37.11x19.14 `.sb-badge` wrapping a 25.11x19.14 `<Badge>` with its own border). The resting pair is what every badge has always looked like (hsl(var(--secondary)) fill, hsl(var(--muted-foreground)) text); the `-destructive-` pair is read ONLY by rows that pass `badgeTone="destructive"`, which is the only thing that emits `data-tone` on the pill (rule #44), so a rail that never sets the prop renders exactly the node it always did. All four are role-mirror knobs declared `initial` with the role default resolved at the call site, so a scoped [data-tenant]/.dark override reaches them. Colour ONLY \u2014 the pill\'s min-width, radius, inline pad and font size are shared by both tones, which is what keeps a mention row and an unread row aligned in the same column.'},{name:"--sidebar-nav-item-{foreground,hover-foreground,disabled-foreground} / --sidebar-nav-icon-{foreground,hover-foreground,active-foreground,disabled-foreground}",category:"component",tier:"component",role:"Sidebar navigation row + icon COLOUR, split so they can differ. Previously `.sb-nav-item` set one `color` for the whole row, so the Lucide SVG inherited `--muted-foreground` along with the label and the icons read as 'missing' against a canonical shell that wants darker 16px icons. `--sidebar-nav-item-*` drives the row/label (incl. sub rows), `--sidebar-nav-icon-*` drives `.sb-icon`. All are role-mirror knobs declared `initial` at `:root` with the role default at the call site, so a scoped `[data-tenant]`/`.dark` override reaches them; icon defaults resolve to `currentColor`, i.e. rendering is unchanged until a service opts in (`--sidebar-nav-icon-foreground: hsl(var(--foreground))` is the canonical darker-icon setting). Colour ONLY \u2014 the 16px icon, 32px row height and 10px gap are untouched. The active row keeps `--sidebar-item-active-{background,foreground}`."},{name:"--list-row-compact-{padding-y,padding-x,gap,body-min-width}",category:"component",tier:"component",role:'ListRow `density="compact"` inline-actions geometry \u2014 the compact invitation/history row: a 36px leading Avatar, a shrinkable title+description and one or two small trailing Buttons on ONE line inside the canonical 358px card (326px content). `--list-row-compact-body-min-width` (6rem) is the compact body threshold \u2014 the default 12rem `--list-row-body-min-width` is what forced the actions (and a history Badge + date) onto a second line at 390px; it is consumed as `min(<token>, 100%)` exactly like the default knob, so the #224 wrap contract is intact and a cluster that genuinely cannot fit still wraps instead of widening the page root. `--list-row-compact-{padding-y,padding-x,gap}` are declared `initial` with the density-scaled default at the CALL SITE (`var(--space-2)` block, `var(--list-row-padding-x)` inline, `var(--space-2)` gap) \u2014 a `:root` binding would freeze compact rows at the `:root` density. Measured at 390px: invitation row 62px (was 126px, actions wrapped), history row 41px (was 114px), documentElement scrollWidth === clientWidth.'},{name:"--list-row-{body-min-width,trailing-gap,indicator-size,read-background,unread-background,indicator-color}",category:"component",tier:"component",role:"ListRow shrink + unread state. `--list-row-body-min-width` (12rem) is consumed as `min(<token>, 100%)` \u2014 the `min()` is load-bearing, a bare length re-inflates the row's intrinsic width and reintroduces page-root overflow. `--list-row-trailing-gap` spaces wrapped trailing actions. The unread trio are role-mirror knobs declared `initial` with the role at the call site: `--list-row-unread-background` defaults to `hsl(var(--muted))` NOT `--accent` \u2014 accent measured 4.23:1 against the xs muted-foreground description line, below WCAG AA; muted is 4.63:1 light / 5.47:1 dark. `--list-row-indicator-color` (\u2192 `--primary`) and `--list-row-indicator-size` drive the unread dot, whose meaning is carried by localized sr-only text, never by colour alone."},{name:"--filter-bar-scroll-padding-y",category:"component",tier:"component",role:'Scrollbar gutter for `<FilterBar overflow="scroll">`, default `var(--space-1)`. Only applies at \u2265640px, where a wide filter set becomes a single nowrap strip with a sticky inline-end clear-all; below that the bar still stacks, so the gutter would be dead space. Pair with the existing `--filter-bar-sticky-background` (already an `initial` role-mirror knob) when theming the strip.'},{name:"--filter-bar-{search-width,filter-width,chip-gap,section-gap}",category:"component",tier:"component",role:"FilterBar typed-model geometry \u2014 every list page gets the SAME search width, filter width, chip rhythm and section stacking without page-local CSS (rule #45: theme sets once, className overrides per instance). `--filter-bar-search-width` (20rem) sizes the model search slot; `--filter-bar-filter-width` (\u2192 `--filter-picker-width-md`) is the min inline size of each typed filter group; both apply from 640px up, consumed as `min(100%, <token>)` so a 390px viewport never overflows with long JA/EN/VI labels (below 640px everything stacks full-width). `--filter-bar-chip-gap` (`--space-2`) spaces the applied-chips row; `--filter-bar-section-gap` (`--space-2`) stacks strip \u2192 chips \u2192 result-count/error line."},{name:"--app-shell-{sidebar-width,rail-width}",category:"component",tier:"component",role:"AppShell docked navigation TRACK widths. `--app-shell-sidebar-width` (default 16rem) is the sidebar expanded; `--app-shell-sidebar-collapsed-width` (default 4rem) is the SAME track at `<AppShell sidebarCollapsed>`; `--app-shell-nav-rail-width` (default 4rem) is a SECOND, separate track that exists only when the `navRail` slot is filled. These were hard-coded `grid-template-columns` literals; a service on a different design grid (e.g. a 255px sidebar) now sets ONE token in its theme instead of forking `.app-root`. Below the 900px shell breakpoint every track collapses to a single full-width column and both navigation columns move into AppShell's drawer. NOTE for anyone reading 19.x code or themes: the collapsed-sidebar token shipped as `--app-shell-rail-width` through 19.x and was renamed in 20.0.0 with NO alias, because it collided with the real rail added in the same release \u2014 two tokens, both 4rem, both spelled 'rail', meaning different things."},{name:"--app-shell-bar-{inset,inset-compact,gap}",category:"component",tier:"component",role:"AppShell top-bar chrome \u2014 `--app-shell-bar-inset` is the bar's inline padding, `--app-shell-bar-inset-compact` the tighter value below the compact step, `--app-shell-bar-gap` the gap between the bar's direct children (default --space-3). ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS: the bar sits in the SAME grid track as `.app-main`, directly above the page, so its first control and the page title are on one vertical edge. The two insets used to name their own values (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and nothing reconciled them \u2014 measured in Chromium, the bar's content started at x=80 and the page header's at x=88 (1512px), and because the two sides stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even constant (8px at 1512, 12px between 720 and 900, 4px below 720), which a consumer cannot correct by hand. The page gutter now OWNS the axis and these knobs read it: `--app-shell-bar-inset: var(--space-page-x)` (24px), `--app-shell-bar-inset-compact: var(--space-page-compact-x)` (16px), stepping at the PAGE's `(max-width: 720px)`, not the shell's 900px restructure. GEOMETRY MOVED \u2014 the bar's inline padding went 16px \u2192 24px (12px \u2192 16px compact, and 12px \u2192 24px between 720 and 900); the page did not move. The NAMES are unchanged, so a theme that already sets either knob keeps working, and a bar that genuinely wants to sit tighter than its page still has its own. Height stays `--app-shell-bar-height` (3rem) at EVERY width, and it is also the owner of the chrome BAND-HEIGHT axis \u2014 see `--page-header-min-block-size-chrome`."},{name:"--topbar-{height,inset,gap}",category:"component",tier:"component",role:"Standalone `<Topbar>` box knobs. Topbar is a pure slot bar, so the defaults are the QUIET ones and rendering is unchanged from before they existed: `--topbar-height: auto` and `--topbar-inset: 0px` (inside AppShell the `.app-topbar` grid row owns height and inset), `--topbar-gap: var(--space-2)`. A service that mounts Topbar DIRECTLY on a page sizes it from the theme (`--topbar-height: 3.5rem; --topbar-inset: var(--space-4)`) instead of an app-local class. `--topbar-gap` is both the gap BETWEEN the start/center/end clusters and the gap INSIDE each, so one knob re-rhythms the whole bar. None of them touch the shrink contract (start clips, center yields first, end stays anchored inline-end)."},{name:"--{dialog,sheet}-overlay-background / --app-shell-mobile-nav-background (+ -alpha)",category:"component",tier:"component",role:"Overlay scrims. All three are ROLE-MIRROR knobs declared `initial` at `:root`, with the default resolved at the CALL SITE as a SHARE of the one semantic `--overlay-background` \u2014 `color-mix(in srgb, var(--overlay-background) var(--<x>-overlay-alpha), transparent)`. Previously each carried a private literal, so setting `--overlay-background` had NO effect anywhere. The share knobs (`--dialog-overlay-alpha` 60%, `--sheet-overlay-alpha` 40%, `--app-shell-mobile-nav-alpha` 40%) keep every default byte-identical (0.3 / 0.2 / 0.2 black) while letting one `--overlay-background` override retint the whole system, including scoped `[data-tenant]` / `.dark` themes. Setting a `*-overlay-background` knob directly still wins outright. NOTE: overlays render in a portal, so a multi-tenant scope must also sit on the portal container."}];function R(t){return T.filter(a=>a.category===t)}var U=[{name:"--activity-mark-size",value:"0.25em",description:"Mark geometry. `em`-based so the whole mark tracks `--activity-font-size-*` (and therefore * `--font-size-base` and the density axis) instead of pinning a px diameter per size step."},{name:"--activity-mark-offset",value:"0.25em",description:"Travel of one `dots` step \u2014 the loop counterpart to `--reveal-distance`, named to match. * It is ALSO the height the mark row reserves, so the indicator appearing under a composer * never shifts the row."},{name:"--activity-mark-rest-alpha",value:"0.35",description:"Resting opacity of a dot at the bottom of its cycle. Never 0: a dot that vanishes reads as a * rendering bug at the trough, and the reduced-motion resting state must stay fully legible."},{name:"--activity-pulse-mark-size",value:"0.5em",description:"The single `pulse` mark \u2014 a breathing dot (live / recording), bigger than one `dots` dot * because it carries the whole affordance alone."},{name:"--activity-gap",value:"var(--space-1)",description:"Mark-to-mark and mark-to-label gap."},{name:"--activity-font-size-xs",value:"var(--font-size-2xs)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-sm",value:"var(--font-size-xs)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-md",value:"var(--font-size-sm)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-lg",value:"var(--font-size-lg)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-bar-width",value:"4rem",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-radius",value:"var(--radius-pill)",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-segment-width",value:"40%",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-track-alpha",value:"0.2",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-height",value:"0.25em",description:"scale-exempt: an em thickness that must track the label beside it, not a fixed band step"},{name:"--activity-color",value:"initial",description:'Mark colour. ROLE-MIRROR KNOB \u21D2 declared `initial` here with the role default at the CALL SITE * (`hsl(var(--activity-color, var(--muted-foreground)))` in styles/motion.css). Written as * `--activity-color: var(--muted-foreground)` it would freeze at the `:root` role value and a * scoped `[data-tenant]` / `.dark` override of `--muted-foreground` would never reach it. * @see docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`". * Documented default: --activity-color = var(--muted-foreground) (tone="muted").'},{name:"--badge-space-gap",value:"var(--space-inline-xs)",description:"Badge component tokens."},{name:"--badge-space-x",value:"var(--space-2)",description:"Badge component tokens."},{name:"--badge-space-y",value:"var(--space-1)",description:"Badge component tokens."},{name:"--badge-radius",value:"var(--radius-md)",description:"Corner of the chip (gh#404). Default = the historical literal `--radius-md`, so nothing moves; * it exists so a NESTING context can restate it through the cascade (a Badge inside a bordered * Button squares down to --radius-sm) and a call site can restate it back."},{name:"--badge-font-size",value:"var(--font-size-xs)",description:"Corner of the chip (gh#404). Default = the historical literal `--radius-md`, so nothing moves; * it exists so a NESTING context can restate it through the cascade (a Badge inside a bordered * Button squares down to --radius-sm) and a call site can restate it back."},{name:"--badge-line-height",value:"calc(1 / 0.75)",description:"Companion to --badge-font-size (gh#260). The cva's old `text-xs` utility also set * line-height via Tailwind's default `--text-xs--line-height: calc(1 / 0.75)` (the theme * remaps --text-xs but never that companion). Same unitless ratio here keeps the default * badge pixel-identical now that badge-layout.css owns the type metrics."},{name:"--badge-icon-size",value:"var(--icon-size-xs)",description:"Leading/trailing glyph inside the pill. It was a bare `0.75rem` in badge-layout.css with no * token at all, so a service could only resize it with `!important` or a forked stylesheet \u2014 * the two routes the icon axis's tier 2 exists to abolish (gh#326). Same step, so nothing * moves. Matches --badge-font-size's step by design: the glyph reads as a character in the * label's run, so the two retune together. Deliberately NOT --scaling-multiplied \u2014 the literal * it replaces did not track density."},{name:"--badge-tint-fill",value:"18%",description:"DATA COLOUR (`color` prop) \u2014 the entity's own colour, not a semantic tone. * * A caller colour is DATA: a project administrator picks it for a status, an * issue type, a tag, a label. Solid, no foreground clears WCAG AA for every * colour they can pick \u2014 near-black and white measure equal at luminance * 0.2029, where both land on 4.15:1, under the 4.5 that badge-sized text * needs, and a real picker can produce that. So the GROUND moves instead: * the colour is washed into the surface and the label stays the surface's * own foreground, which makes the ratio a function of these two knobs rather * than of the colour somebody chose. * * The fill is where the label sits, so it is quiet; the edge carries no text, * so it is free to be four times as saturated \u2014 it is what keeps a pale tint * from dissolving into the surface, and where the colour still says WHICH * status at a glance. At these defaults the worst case across the sRGB cube * measures 8.52:1 (both themes), against 4.15 for a solid chip."},{name:"--badge-tint-edge",value:"45%",description:"DATA COLOUR (`color` prop) \u2014 the entity's own colour, not a semantic tone. * * A caller colour is DATA: a project administrator picks it for a status, an * issue type, a tag, a label. Solid, no foreground clears WCAG AA for every * colour they can pick \u2014 near-black and white measure equal at luminance * 0.2029, where both land on 4.15:1, under the 4.5 that badge-sized text * needs, and a real picker can produce that. So the GROUND moves instead: * the colour is washed into the surface and the label stays the surface's * own foreground, which makes the ratio a function of these two knobs rather * than of the colour somebody chose. * * The fill is where the label sits, so it is quiet; the edge carries no text, * so it is free to be four times as saturated \u2014 it is what keeps a pale tint * from dissolving into the surface, and where the colour still says WHICH * status at a glance. At these defaults the worst case across the sRGB cube * measures 8.52:1 (both themes), against 4.15 for a solid chip."},{name:"--badge-tint-surface",value:"hsl(var(--card))",description:"The surface the chip is washed into, and the label it then carries. A * service whose chips sit on the page ground rather than on a card retunes * the pair together \u2014 they are one decision."},{name:"--badge-tint-foreground",value:"hsl(var(--card-foreground))",description:"The surface the chip is washed into, and the label it then carries. A * service whose chips sit on the page ground rather than on a card retunes * the pair together \u2014 they are one decision."},{name:"--badge-color",value:"var(--badge-tint-surface)",description:"The caller's colour \u2014 the only knob here that is PER-INSTANCE. badge.tsx * writes it inline on the element whenever `color` is given, and an inline * declaration outranks this one, so this is the value only when the prop is * absent. * * It has to be declared somewhere all the same. An undeclared custom property * makes both color-mix() calls in badge-layout.css invalid at computed-value * time, which drops the background AND the border rather than falling back to * anything \u2014 the failure check-dist-tokens-resolve.mjs exists to catch, and * which it did catch the moment 19.3.0 shipped the wash without it. * * The surface is the right default because mixing a colour into itself returns * that colour: an untinted chip is then exactly the card it sits on \u2014 the same * quiet degradation 19.3.1 chose for browsers without color-mix, rather than a * transparent hole."},{name:"--banner-radius",value:"0",description:"Square corners \u2014 a strip spans its container edge-to-edge, so it carries no radius."},{name:"--banner-border-width",value:"1px",description:"The strip keeps a single hairline block-end rule (tone-coloured via the alert * border rules); inline/block-start edges are open so it reads as part of the frame."},{name:"--banner-space-inset-block",value:"var(--space-3)",description:"Strip inset. Block is denser than the inline Alert card; inline defaults to the * page gutter so banner text aligns with page content under AppShell/PageContainer."},{name:"--banner-space-inset-inline",value:"var(--space-page-active-x, var(--space-6))",description:"Strip inset. Block is denser than the inline Alert card; inline defaults to the * page gutter so banner text aligns with page content under AppShell/PageContainer."},{name:"--card-space-inset",value:"var(--space-section-active)",description:"Horizontal inset of every slot (header / content / footer) + the resting top/bottom * shell padding. This is the column the title, body and footer all align to."},{name:"--card-space-shell-y",value:"initial",description:'BLOCK-axis (top/bottom) shell padding of the slotted card rhythm \u2014 a plain header\'s top, a * `solo` body\'s top, and the terminal slot\'s bottom (gh#232). Split off --card-space-inset so a * shell (AuthShell compact) can retune the card\'s height WITHOUT moving the inline column. * Declared `initial` \u2014 NOT `var(--card-space-inset)` \u2014 so the default resolves at the CALL SITE: * a :root binding would freeze at the :root inset and `[data-density="tight"|"cozy"]` (which * override --card-space-inset on the card element) would stop reaching it. See docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`" \u2014 the same call-site rule applies to derived knobs.'},{name:"--card-space-header-y",value:"var(--space-stack-sm)",description:"Vertical padding of a BANDED header band (top = bottom). Drives --card-space-divided-y."},{name:"--card-space-body-y",value:"var(--space-section-active)",description:"Gap between the header and the body, and the body's own top padding \u2014 the breathing * room under a title before content begins."},{name:"--card-space-solo-y",value:"initial",description:'Symmetric block padding for a SOLO content slot, so a composed shell can tune block and * inline spacing independently without targeting CardContent. * Declared `initial` for the SAME reason as --card-space-shell-y above: written as * `var(--card-space-inset)` here it would freeze at the :root inset, and a card carrying * [data-density="tight"|"cozy"] (which override --card-space-inset ON THE CARD) would keep the * :root value. The default now resolves at the call site through the chain * solo-y \u2192 shell-y \u2192 inset, so a solo body follows the general block knob when only that is * set, and an explicit solo-y still wins.'},{name:"--card-space-footer-y",value:"var(--space-stack-sm)",description:"Vertical padding of a SEPARATED footer band (top = bottom). Drives --card-space-divided-y."},{name:"--card-space-divided-y",value:"var(--card-space-header-y)",description:"DIVIDED-section vertical padding (rule #44/#45). A header/footer that carries a divider * border (banded header, separated footer) reads as its own band, so it pads SYMMETRICALLY * top+bottom \u2014 distinct from a plain header that flows into the body (top inset, no bottom). * One themeable knob keeps the header- and footer-band rhythm in sync; a service theme tunes * the band density here instead of forking per-slot CSS."},{name:"--card-space-gap",value:"var(--space-stack-xs)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-font-size",value:"var(--font-size-base)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-line-height",value:"var(--line-height-tight)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-font-weight",value:"var(--font-weight-semibold)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-description-font-size",value:"var(--font-size-sm)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-description-line-height",value:"var(--line-height-normal)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-background",value:"initial",description:'Card fill + edge \u2014 opt-in knobs that DEFAULT to the live --card / --border roles. Declared * `initial` (not `var(--card)`) so the default re-resolves at the call site under a scoped theme: * a :root binding to a role var freezes at the :root value and a scoped `[data-tenant]` override of * the role never reaches it (see docs/STANDARDS-vocabulary-tokens.md \xB7 "role-mirror knobs"). A * service still overrides the knob directly (--card-background: \u2026) to win over the role default.'},{name:"--card-border",value:"initial",description:"default = hsl(var(--card))"},{name:"--card-header-background",value:"initial",description:"Banded-header fill \u2014 role-tintable (rule #45): a service points this at any role, * e.g. --card-header-background: var(--primary), and tunes --card-header-background-alpha for * the wash strength. Default = the live --muted role (resolved at the call site)."},{name:"--card-header-background-alpha",value:"0.55",description:"default = hsl(var(--muted))"},{name:"--card-header-border-bottom",value:"initial",description:"Banded-header divider \u2014 tokenised (rule #44) so a service theme can make it * dashed / heavier / none without forking CSS. Pair with * --card-header-background-alpha: 0 for a quiet borderless-band header. * Default = 1px solid hsl(var(--card-border)) (resolved at the call site)."},{name:"--card-radius",value:"var(--radius-xl)",description:"Banded-header divider \u2014 tokenised (rule #44) so a service theme can make it * dashed / heavier / none without forking CSS. Pair with * --card-header-background-alpha: 0 for a quiet borderless-band header. * Default = 1px solid hsl(var(--card-border)) (resolved at the call site)."},{name:"--card-shadow",value:"var(--shadow-sm)",description:"The DXS hi-fi baseline uses a quiet 10px data surface with one shadow-sm * elevation layer. Consumers can still flatten or lift cards through this knob."},{name:"--card-glow",value:"0 0 0 0 transparent",description:"Brand glow layer \u2014 invisible no-op at rest (rule #44). Paired AFTER --card-shadow in the * surface box-shadow so a service can wash every card with the global glow, e.g. * --card-glow: var(--shadow-glow), with no markup change."},{name:"--card-tint",value:"transparent",description:"Fill tint \u2014 subtle role wash over the card background (default transparent = invisible). * Painted as an overlay so a service sets --card-tint: hsl(var(--primary) / 0.04) once."},{name:"--card-accent-rail-width",value:"var(--stroke-2xl)",description:"Accent edge \u2014 width of the semantic leading-edge stripe (data-accent). * Tokenised (rule #44) so a service theme can re-tune it without forking CSS. * The slot padding compensation in card-layout.css subtracts the same token, * so content stays aligned on the shell whatever the rail width."},{name:"--card-accent-perimeter-width",value:"var(--stroke-hairline)",description:'Accent placement `perimeter` (gh#12) \u2014 the FULL attention border. Two knobs so a service can * tune the edge weight and the outer ring independently; the defaults reproduce the optical * weight of `variant="featured"` (1px border + 1px ring) in the card\'s own semantic accent tone * instead of --primary. Structural 1px literals, like the base card hairline.'},{name:"--card-accent-perimeter-ring-width",value:"var(--stroke-hairline)",description:'Accent placement `perimeter` (gh#12) \u2014 the FULL attention border. Two knobs so a service can * tune the edge weight and the outer ring independently; the defaults reproduce the optical * weight of `variant="featured"` (1px border + 1px ring) in the card\'s own semantic accent tone * instead of --primary. Structural 1px literals, like the base card hairline.'},{name:"--card-featured-border-color",value:"initial",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--card-featured-ring-width",value:"var(--stroke-hairline)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-font-size",value:"var(--font-size-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-font-weight",value:"var(--font-weight-medium)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-letter-spacing",value:"0.04em",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-font-size",value:"var(--font-size-2xl)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-line-height",value:"1.1",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-font-weight",value:"var(--font-weight-semibold)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-hint-font-size",value:"var(--font-size-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-gap",value:"var(--space-stack-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-size",value:"var(--icon-size-2xl)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-glyph-size",value:"var(--icon-size-lg)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-radius",value:"var(--radius-md)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-background",value:"initial",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--stat-card-icon-foreground",value:"initial",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--stat-card-delta-font-size",value:"var(--font-size-xs)",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-space-gap",value:"var(--space-stack-sm)",description:"\u2500\u2500 ServiceLauncherCard (gh#219) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Internal rhythm of a launcher tile: one gap knob drives the vertical stack AND the * icon\u2194title\u2194status row, so a service theme retunes the whole tile density once."},{name:"--card-service-launcher-icon-size",value:"calc(var(--icon-size-2xl) * var(--scaling))",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-glyph-size",value:"calc(var(--icon-size-lg) * var(--scaling))",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-radius",value:"var(--radius-md)",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-background",value:"initial",description:"Available-service medallion tint. `initial` (role-mirror rule, docs/TOKENS.md) so the role * defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override reaches them. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-icon-foreground",value:"initial",description:"Available-service medallion tint. `initial` (role-mirror rule, docs/TOKENS.md) so the role * defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override reaches them. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-unavailable-icon-background",value:"initial",description:"Unavailable medallion tint \u2014 applied when the consumer supplies `disabledReason`, so an * un-launchable service never reads as brand-live. `initial` for the same role-mirror reason. * Defaults = hsl(var(--muted)) fill \xB7 hsl(var(--muted-foreground)) glyph."},{name:"--card-service-launcher-unavailable-icon-foreground",value:"initial",description:"Unavailable medallion tint \u2014 applied when the consumer supplies `disabledReason`, so an * un-launchable service never reads as brand-live. `initial` for the same role-mirror reason. * Defaults = hsl(var(--muted)) fill \xB7 hsl(var(--muted-foreground)) glyph."},{name:"--card-service-launcher-description-font-size",value:"var(--font-size-xs)",description:"Description prose \u2014 also drives the disabled-reason line and the catalog-CTA caption."},{name:"--card-service-launcher-description-line-height",value:"var(--line-height-body)",description:"Description prose \u2014 also drives the disabled-reason line and the catalog-CTA caption."},{name:"--card-service-launcher-metadata-font-size",value:"var(--font-size-xs)",description:"Mono metadata line (hostname \xB7 plan) \u2014 tighter leading than prose by design."},{name:"--card-service-launcher-metadata-line-height",value:"var(--line-height-normal)",description:"Mono metadata line (hostname \xB7 plan) \u2014 tighter leading than prose by design."},{name:"--card-service-launcher-cta-min-height",value:"calc(var(--control-height-lg) * 4)",description:"Dashed catalog/add companion tile: kept tall enough to sit level with a populated launcher * tile in the same grid row. Four control tiers \u2248 medallion + title + description + action."},{name:"--card-service-launcher-skeleton-title-width",value:"var(--space-12)",description:"Skeleton bar widths \u2014 shape-matched placeholders for the title and status badge."},{name:"--card-service-launcher-skeleton-status-width",value:"var(--space-10)",description:"Skeleton bar widths \u2014 shape-matched placeholders for the title and status badge."},{name:"--chart-trend-plot-height-xs",value:"3.5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-sm",value:"5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-md",value:"7.5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-lg",value:"10rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height",value:"var(--chart-trend-plot-height-xs)",description:"Active tier \u2014 chart-layout.css re-points this per `data-size`; overriding it directly * pins one height for every trend regardless of `size`."},{name:"--chart-trend-bar-gap",value:"var(--space-2)",description:"\u2500\u2500 Bar marks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Thin marks, a surface gap between neighbours and a rounded data-end anchored to the * baseline (the data-visualization mark spec)."},{name:"--chart-trend-bar-radius",value:"var(--radius-sm)",description:"\u2500\u2500 Bar marks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Thin marks, a surface gap between neighbours and a rounded data-end anchored to the * baseline (the data-visualization mark spec)."},{name:"--chart-trend-bar-max-width",value:"1.5rem",description:"Ceiling on a single mark so a 3-point trend does not render slabs."},{name:"--chart-trend-bar-min-height",value:"var(--stroke-md)",description:"Floor so a zero/absent value still reads as a plotted category rather than a hole."},{name:"--chart-trend-bar-background",value:"initial",description:'Muted mark fill \u2014 role-mirror knob, declared `initial` so the role default re-resolves * at the CALL SITE under `.dark` / `[data-tenant]` (docs/TOKENS.md \xB7 "Role-mirror knobs * MUST be `initial`"). Default = hsl(var(--muted-foreground) / 0.75), which clears the * 3:1 non-text contrast floor (WCAG 1.4.11) against the card surface.'},{name:"--chart-trend-bar-background-alpha",value:"0.75",description:"Opacity applied to the muted-fill role default."},{name:"--chart-trend-bar-emphasis-background",value:"initial",description:'Emphasized ("current") mark fill \u2014 role-mirror knob. Default = hsl(var(--primary)).'},{name:"--chart-trend-baseline-border",value:"initial",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-tick-gap",value:"var(--space-1)",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-tick-font-size",value:"var(--font-size-xs)",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-footer-gap",value:"var(--space-2)",description:"Gap between the plot block and the optional activity footer slot."},{name:"--chart-category-axis-gap",value:"var(--space-2)",description:"\u2500\u2500 Category axis (horizontal BarChart) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The category axis of a horizontal bar chart holds free text, and in Japanese that text is a * company name of 8\u201310 full-width glyphs (100\u2013125px at the tick size). recharts reserves a flat * 60px whatever the ticks say, which painted those names OUTSIDE the plot box where the SVG clip * cut them from the START \u2014 losing exactly the identifying `\u682A\u5F0F\u4F1A\u793E` (gh#409 \xB7 1). * * The chart now measures its widest tick and sizes the axis from it. These two knobs own the * limits of that: how much air sits between the tick and the plot, and how much of the canvas a * category axis may take before labels are truncated at their END instead. A service that runs * longer names raises the fraction; one that wants the bars to dominate lowers it."},{name:"--chart-category-axis-max-fraction",value:"0.4",description:"Share of the canvas the category axis may occupy, 0..1. At the 1102px dashboard column this * is ~440px \u2014 four times a 10-glyph \u5168\u89D2 name \u2014 so truncation is the exception, not the rule, * while a pathological label still cannot squeeze the bars out of their own chart."},{name:"--control-height-compact",value:"var(--band-height-sm)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-height-default",value:"var(--band-height-md)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-height-comfortable",value:"var(--band-height-xl)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-compact",value:"var(--space-2)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-default",value:"var(--space-3)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-comfortable",value:"var(--space-4)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-bounded-width",value:"min(15rem, 48vw)",description:'Held width for `width="bounded"` controls (gh#375). `min()` so the value is a ceiling on a * desktop bar and a share of the viewport on a phone, never a fixed rem that overflows it.'},{name:"--control-height",value:"calc(var(--control-height-default) * var(--scaling))",description:'Held width for `width="bounded"` controls (gh#375). `min()` so the value is a ceiling on a * desktop bar and a share of the viewport on a phone, never a fixed rem that overflows it.'},{name:"--control-height-sm",value:"calc(var(--control-height) - calc(0.25rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-height-lg",value:"calc(var(--control-height) + calc(0.25rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-height-xs",value:"calc(var(--control-height) - calc(0.5rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-padding-x",value:"var(--control-padding-x-default)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-gap",value:"var(--space-inline-sm)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-gap-sm",value:"var(--space-inline-xs)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-radius",value:"var(--radius)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--button-radius",value:"var(--radius-md)",description:"Button corner radius \u2014 defaults to the button's historical `rounded-md` so nothing * changes by default, but is its OWN knob so a service theme can retune the button * radius INDEPENDENTLY of input/control radius (issue #124)."},{name:"--control-font-size",value:"var(--font-size-base)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-border-width",value:"var(--stroke-hairline)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-shadow",value:"var(--shadow-xs)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-icon-size",value:"calc(var(--icon-size-md) * var(--scaling))",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-icon-size-sm",value:"calc(var(--icon-size-sm) * var(--scaling))",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-status-warning-border-color",value:"var(--warning)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-status-warning-glow-color",value:"var(--warning)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-status-warning-glow-alpha",value:"var(--control-outline-error-alpha)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-variant-filled-background",value:"var(--muted)",description:"CHROME VARIANT \u2014 antd's `variant` axis. `outlined` needs no token: it is what a field already * draws. `filled` swaps the boundary for a tinted surface; `borderless` drops both. Kept as * knobs so a service theme can retune the dense-form treatment once, globally."},{name:"--control-variant-filled-hover-background",value:"var(--accent)",description:"CHROME VARIANT \u2014 antd's `variant` axis. `outlined` needs no token: it is what a field already * draws. `filled` swaps the boundary for a tinted surface; `borderless` drops both. Kept as * knobs so a service theme can retune the dense-form treatment once, globally."},{name:"--control-count-font-size",value:"var(--font-size-sm)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-color",value:"var(--muted-foreground)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-exceeded-color",value:"var(--text-error)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-space-inline",value:"var(--space-1)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--textarea-count-inset-block-end",value:"var(--space-1)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--textarea-count-inset-inline-end",value:"var(--space-2)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--input-addon-background",value:"var(--muted)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--input-addon-color",value:"var(--muted-foreground)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--input-addon-padding-inline",value:"var(--control-padding-x)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--switch-content-font-size",value:"var(--font-size-xs)",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--switch-content-space-inline",value:"var(--space-1)",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--switch-spinner-size",value:"calc(var(--switch-thumb-size) - var(--space-1))",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--slider-mark-font-size",value:"var(--font-size-xs)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-mark-color",value:"var(--muted-foreground)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-mark-space-block-start",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-size",value:"var(--slider-track-height)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-background",value:"var(--background)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-border-color",value:"var(--border)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-active-border-color",value:"var(--primary)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-background",value:"var(--popover)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-color",value:"var(--popover-foreground)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-font-size",value:"var(--font-size-xs)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-radius",value:"var(--radius-sm)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-padding-inline",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-offset-block",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--choice-button-background",value:"var(--background)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-color",value:"var(--foreground)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-border-color",value:"var(--input)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-selected-color",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-selected-border-color",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-solid-background",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-solid-color",value:"var(--primary-foreground)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--toggle-focus-ring-width",value:"var(--stroke-lg)",description:'Ring knobs for the two controls that historically wanted a softer mark than the global * default \u2014 both are filled surfaces where the ring was felt to read as a second border. * * THE ALPHA IS 1, AND THAT IS THE CRITERION TALKING. WCAG 2.2 SC 1.4.11 asks for \u22653:1 between * the focused and unfocused states of the pixels that mark focus, and colour is the whole of * that bar. Measured against this palette, the focus hue at alpha 0.35 * composites to 1.64:1 against the page (0.45 \u2192 \u22481.90); nothing in that band is a compliant * indicator, so "softer" was buying taste at the cost of the criterion. The softening now comes * from the HALO (`--focus-ring-glow-*`), which sits outside the opaque stop and is free to be as * quiet as it likes because it is decoration rather than the indicator. The knobs stay \u2014 a * service can still trade the criterion away deliberately \u2014 but the shipped default no longer * makes that trade silently. Guarded by src/tokens/__tests__/focus-ring-contrast.test.ts.'},{name:"--toggle-focus-ring-alpha",value:"1",description:'Ring knobs for the two controls that historically wanted a softer mark than the global * default \u2014 both are filled surfaces where the ring was felt to read as a second border. * * THE ALPHA IS 1, AND THAT IS THE CRITERION TALKING. WCAG 2.2 SC 1.4.11 asks for \u22653:1 between * the focused and unfocused states of the pixels that mark focus, and colour is the whole of * that bar. Measured against this palette, the focus hue at alpha 0.35 * composites to 1.64:1 against the page (0.45 \u2192 \u22481.90); nothing in that band is a compliant * indicator, so "softer" was buying taste at the cost of the criterion. The softening now comes * from the HALO (`--focus-ring-glow-*`), which sits outside the opaque stop and is free to be as * quiet as it likes because it is decoration rather than the indicator. The knobs stay \u2014 a * service can still trade the criterion away deliberately \u2014 but the shipped default no longer * makes that trade silently. Guarded by src/tokens/__tests__/focus-ring-contrast.test.ts.'},{name:"--control-focus-ring-width",value:"var(--stroke-hairline)",description:"Mark width for a BORDERED FIELD. * * This knob exists because a field is the one control that already owns a boundary, so it is * the one place the mark could plausibly be dropped and the recoloured border left to carry the * state \u2014 which is the established treatment for a bordered field: a primary border plus a * translucent halo, nothing in between. * * It ships at the same step as `--focus-outline-weight`, the hairline stroke, so a field and a * button carry the same weight. A gate asserts the two stay equal, because this token cannot * literally READ the global one without freezing at :root (docs/TOKENS.md, the freeze rule). * * It feeds `--focus-ring-weight`, never `--focus-ring-width`. The width is * `weight \xD7 --focus-outline`, so a field's mark is still switched off with everything else \u2014 a * knob that bypassed the switch would be a hole in it. * * If a service sets this, note the unit: the halo's spread is summed with a length in * `calc()`, and CSS refuses to add a unitless number to a length \u2014 a bare `0` makes the whole * box-shadow invalid at computed-value time and it resolves to NONE. Write `0px`."},{name:"--rating-focus-ring-offset",value:"2px",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-border-width",value:"var(--stroke-hairline)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-gap",value:"var(--space-inline-sm)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-group-gap-x",value:"var(--space-6)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-group-gap-y",value:"var(--space-3)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-description-gap",value:"0.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-control-offset",value:"0.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width",value:"calc(2.25rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width-compact",value:"2rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width-comfortable",value:"2.5rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height",value:"calc(1.25rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height-compact",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height-comfortable",value:"1.375rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--slider-track-height",value:"0.375rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--slider-thumb-size",value:"1rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--otp-slot-size",value:"initial",description:'InputOTP slot box (gh#233). Its own knob so an auth surface can widen the 6-slot challenge row * to fill a wide panel WITHOUT re-scoping --control-height (which would resize every other * control in the same card). Declared `initial` \u2014 the tier-mirror form of the role-mirror rule in * docs/TOKENS.md: the default must resolve at the CALL SITE (`var(--otp-slot-size, * var(--control-height))`), because `--otp-slot-size: var(--control-height)` here would FREEZE at * the :root tier (32px) and an OTP row inside `.ui-auth-shell[data-variant="canonical"]`, which * re-scopes --control-height to 36px, would silently shrink. Verified in Chromium: 36px before * and after. A service opts in with a NAMED tier (`var(--control-height-lg)`), never a calc.'},{name:"--otp-slot-inline-size",value:"initial",description:'Per-AXIS overrides of the slot box (gh#12). --otp-slot-size stays the square shorthand; these * two win over it when set, so a code field can be WIDER-than-tall or TALLER-than-wide without * abandoning the token. A canonical device-grant code field is 27.5x52 per slot (a 4-slot * `appearance="grouped"` box of 112x54 with its 1px group border) \u2014 not expressible with one * square knob, which is why grouped OTP measured 146x38 against that artboard. `initial` for the * same tier-mirror reason as --otp-slot-size: the whole fallback chain * (axis \u2192 square \u2192 --control-height) must resolve at the CALL SITE so a shell that re-scopes * --control-height still reaches an OTP row that sets neither axis.'},{name:"--otp-slot-block-size",value:"initial",description:"default = var(--otp-slot-size, var(--control-height))"},{name:"--otp-container-align",value:"flex-start",description:'Main-axis alignment of the whole OTP row (rule #44/#45 \u2014 chrome is a token, default quiet). * `flex-start` is the historical behaviour, so an existing field is byte-identical; a centred * code field is `align="center"` on InputOTP (which wins over this knob) or this token set once * in a service theme. It exists because EVERY consumer was wrapping .ui-otp-container in a * flex-centring div to get a centred challenge.'},{name:"--checkbox-checked-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--switch-checked-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--toggle-on-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--slider-track-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--slider-range-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--switch-unchecked-background",value:"initial",description:'Switch OFF track fill (gh#315) \u2014 `initial`, default hsl(var(--input)). Its own knob so a * service can quieten the off-track without dragging the --input control-boundary role back * below the WCAG SC 1.4.11 floor (rule #45); whatever you set still owes 3:1 against the page * and against the thumb (--background), or "off" stops being a visible state.'},{name:"--switch-content-unchecked-foreground",value:"initial",description:"A labelled OFF track defaults to muted-foreground rather than the input boundary role: * text needs 4.5:1, not the 3:1 required of an empty track. Pair custom track fills with this * foreground; the default background role contrasts in both light and dark themes."},{name:"--color-picker-input-width",value:"6.5rem",description:"ColorPicker \u2014 width of the hex text field beside the swatch."},{name:"--command-list-max-height",value:"min(300px, 50vh)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-input-padding-x",value:"var(--space-3)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-group-padding",value:"var(--space-1)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-padding-y",value:"var(--space-2)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-padding-x",value:"var(--space-2)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-gap",value:"var(--control-gap)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-width",value:"35rem",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-inset-top",value:"calc(var(--space-6) * 4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-viewport-inset",value:"var(--space-3)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-padding-y",value:"var(--space-2)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-padding-x",value:"var(--space-4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-gap",value:"var(--space-4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--search-input-edge-inset",value:"var(--space-3)",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--search-input-start-padding",value:"calc( var(--search-input-edge-inset) + var(--control-icon-size) + var(--control-gap) )",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--search-input-end-padding",value:"calc( var(--search-input-edge-inset) + var(--control-icon-size) + var(--control-gap) )",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--choice-description-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--color-picker-hex-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--command-group-heading-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--search-input-label-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--tag-input-chip-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--toggle-sm-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--button-sm-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--control-affix-inset-inline-end",value:"var(--space-2)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-action-size",value:"1.5rem",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-action-radius",value:"var(--radius-sm)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-icon-size",value:"var(--icon-size-md)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-rest-alpha",value:"0.5",description:"Resting weight of an affix glyph \u2014 it must read as secondary until hovered/focused."},{name:"--control-trigger-space-inline-end",value:"2.25rem",description:"2.25rem \u2014 the room a single trailing affix needs. Written as a raw rem because the * literal it replaced (`pe-9`) is a flat Tailwind step, not a density-scaled one."},{name:"--control-inline-affix-size",value:"1.25rem",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-icon-size",value:"var(--control-affix-icon-size)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-space-gap",value:"var(--space-1)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-inset-inline",value:"var(--space-2)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-rest-alpha",value:"0.7",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-space-inline-end",value:"2.25rem",description:"Inline room the field reserves so its text never runs under a single affix."},{name:"--textarea-clear-inset-block-start",value:"var(--space-2)",description:"Input centres its affix on the field's single line; a textarea has no single line to centre * on, so its clear control parks at the top-end corner instead."},{name:"--control-multiline-padding-block",value:"var(--space-2)",description:"MULTILINE BOX \u2014 the block padding of `.ui-control-multiline` (Textarea). It was a bare * `--space-2` inside the padding shorthand, which made it unreachable for a service that runs a * denser composer, AND it is the constant the auto-grow row maths has to add back, so the two * had to read the same knob or drift (#45)."},{name:"--textarea-autogrow-line-height",value:"initial",description:'The unit a "row" is measured in. `initial` on purpose: the call site reads * `var(--textarea-autogrow-line-height, var(--line-height-normal))`, so a service that retunes * the multiline line-height for CJK legibility retunes the ceiling with it (#46). Unitless \u2014 * it is multiplied by `--control-font-size`.'},{name:"--textarea-autogrow-min-height-rows",value:"1",description:"Floor of the grown box, in text rows. The `minRows` prop overrides per instance \u2014 the same * theme-global / prop-local priority as `--form-label-width` vs `labelWidth`. The floor is * additionally clamped up to `--control-height` so a resting one-row composer still lines up * with the Input / Button beside it instead of undercutting the control tier."},{name:"--textarea-autogrow-max-height-rows",value:"8",description:"Ceiling of the grown box, in text rows; past it the control scrolls internally instead of * pushing the page. `maxRows={0}` sets this to `infinity` for an unbounded box."},{name:"--textarea-autogrow-box-inset",value:"calc( (var(--control-multiline-padding-block) + var(--control-border-width)) * 2 )",description:"The non-text part of the box the row maths must add back: block padding + border, both * edges. `.ui-textarea-autogrow--ghost` re-declares it without the border, because the ghost * variant drops its own chrome."},{name:"--control-composite-field-space-gap",value:"var(--space-2)",description:"COMPOSITE FIELD \u2014 the bordered box that wraps two inputs plus a separator (date/month * range pickers) or one input plus affixes. Shared so the four range/picker fields cannot * drift into four slightly different boxes."},{name:"--input-file-button-height",value:"var(--band-height-sm)",description:"The <input type=file> button is a browser-owned box we restyle; it sits one tier below the * field so it reads as a control INSIDE the control."},{name:"--input-file-button-font-size",value:"var(--font-size-sm)",description:"The <input type=file> button is a browser-owned box we restyle; it sits one tier below the * field so it reads as a control INSIDE the control."},{name:"--search-select-panel-max-width",value:"32rem",description:"SEARCH-SELECT \u2014 the Popover+Command combobox. Its panel geometry was baked onto the * component as arbitrary values (`max-w-[min(32rem,calc(100vw-1.5rem))]`), so a service could * not widen the panel or change the viewport gutter without forking."},{name:"--search-select-panel-inline-size",value:"auto",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-panel-viewport-inset",value:"var(--space-6)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-list-space-inset",value:"var(--space-1)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-footer-space-inset",value:"var(--space-1)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-space-gap",value:"var(--space-2)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-font-size",value:"var(--font-size-sm)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-sublabel-font-size",value:"var(--font-size-xs)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-status-space-inline",value:"var(--space-2)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-status-space-block",value:"var(--space-3)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-placeholder-space-block",value:"var(--space-6)",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--search-select-status-font-size",value:"var(--font-size-sm)",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--search-select-spinner-size",value:"1rem",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--cascader-column-min-width",value:"9rem",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-columns-max-height",value:"min(280px, 50vh)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-list-max-height",value:"min(300px, 50vh)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-panel-space-inset",value:"var(--space-1)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-inline",value:"var(--space-3)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-block",value:"var(--space-2)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-gap",value:"var(--space-1)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-font-size",value:"var(--font-size-sm)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-icon-size",value:"var(--icon-size-md)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-result-space-inline",value:"var(--space-2)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-space-block",value:"0.375rem",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-radius",value:"var(--radius-sm)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-icon-space-inline-end",value:"var(--space-2)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-empty-space-block",value:"var(--space-6)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--select-content-max-height",value:"24rem",description:"SELECT \u2014 the Radix listbox surface. Its popup shares the menu row rhythm (--menu-item-*), * so only what is genuinely its own lives here (#319)."},{name:"--select-content-inline-size",value:"auto",description:"Seat for a NUMERIC `popupMatchSelectWidth` on the plain listbox. `auto` is the inert default."},{name:"--select-empty-space-block",value:"var(--search-select-placeholder-space-block)",description:"Vertical room around the `notFoundContent` row \u2014 the same breathing space the SearchSelect * panel gives its own empty state, so the two empties read as one affordance."},{name:"--select-scroll-button-space-block",value:"var(--space-1)",description:"Vertical room around the `notFoundContent` row \u2014 the same breathing space the SearchSelect * panel gives its own empty state, so the two empties read as one affordance."},{name:"--select-item-space-inline",value:"0.625rem",description:"Select rows sit slightly wider than a menu row: a listbox has no leading icon column to * absorb the optical inset, so 2.5 reads level with a menu's 2 + icon."},{name:"--time-picker-column-height",value:"13rem",description:"TIME PICKER \u2014 scroll columns of hour/minute/second plus an inline affix pair. All of its * geometry was literal on the component (#319): a service could not shorten the column, widen * the panel for a 12-hour layout, or retune the row rhythm without forking."},{name:"--time-picker-panel-width",value:"9rem",description:"TIME PICKER \u2014 scroll columns of hour/minute/second plus an inline affix pair. All of its * geometry was literal on the component (#319): a service could not shorten the column, widen * the panel for a 12-hour layout, or retune the row rhythm without forking."},{name:"--time-picker-panel-width-12h",value:"13rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-space-inline",value:"var(--space-1)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-space-block",value:"0.375rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-font-size",value:"var(--font-size-xs)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-column-space-inset",value:"var(--space-1)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-space-block",value:"0.375rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-radius",value:"var(--radius-md)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-font-size",value:"var(--font-size-sm)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-footer-space-inset",value:"var(--space-2)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-footer-space-gap",value:"var(--space-2)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-affix-space-gap",value:"var(--control-inline-affix-space-gap)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--tree-select-list-max-height",value:"min(300px, 50vh)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-space-block",value:"0.375rem",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-space-inline-end",value:"var(--space-2)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-radius",value:"var(--radius-sm)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-font-size",value:"var(--font-size-sm)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-depth-space-base",value:"var(--space-2)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-depth-space-step",value:"1.25rem",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-toggle-size",value:"1.25rem",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-toggle-space-inline-end",value:"var(--space-1)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-label-space-gap",value:"var(--space-2)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-empty-space-block",value:"var(--space-6)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--calendar-space-inset",value:"var(--space-3)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-month-space-gap",value:"var(--space-4)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-caption-space-inline",value:"var(--space-8)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-caption-font-size",value:"var(--font-size-sm)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-space-block-start",value:"var(--space-3)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-space-inline",value:"var(--space-1)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-rest-alpha",value:"0.7",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-grid-space-block-start",value:"var(--space-4)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-week-space-block-start",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-weekday-font-size",value:"var(--font-size-xs)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-weekday-radius",value:"var(--radius-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-day-font-size",value:"var(--font-size-sm)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-day-radius",value:"var(--radius-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-chevron-size",value:"var(--icon-size-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-space-gap",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-space-block-start",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-border-width",value:"var(--stroke-hairline)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--transfer-pane-min-height",value:"14rem",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-pane-radius",value:"var(--radius-md)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-panes-space-gap",value:"var(--space-3)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-inline",value:"var(--space-3)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-block",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-font-size",value:"var(--font-size-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-gap",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-search-space-inset",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-list-space-inset",value:"var(--space-1)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-inline",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-block",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-gap",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-radius",value:"var(--radius-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-font-size",value:"var(--font-size-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-check-space-block-start",value:"0.125rem",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-row-description-font-size",value:"var(--font-size-xs)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-empty-space-block",value:"var(--space-8)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-actions-space-gap",value:"var(--space-2)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-action-icon-size",value:"var(--icon-size-md)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--month-picker-panel-space-inset",value:"var(--space-3)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-grid-space-block-start",value:"var(--space-3)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-grid-space-gap",value:"var(--space-1)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-cell-space-inline",value:"var(--space-4)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-nav-font-size",value:"var(--font-size-sm)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-nav-rest-alpha",value:"var(--calendar-nav-rest-alpha)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--month-picker-icon-size",value:"var(--icon-size-md)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--month-picker-separator-icon-size",value:"var(--icon-size-sm)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--button-xs-height",value:"var(--control-height-xs)",description:'BUTTON size-xs box + the count pill (#319, reconciled in #316). * * `size="xs"` now reads the tier, like every other control in the library. It used to be * `calc(var(--control-height) - 0.75rem)` = 1.25rem, which sat 4px BELOW `--control-height-xs` * (1.5rem) that `size="icon-xs"` already used \u2014 the same tier name, two heights, so an xs * Button never lined up with the xs control beside it. It was also the exact shape this repo\'s * own rule forbids: an ad-hoc `calc(var(--control-height) \xB1 length)` silently re-derives a tier * and drifts from its siblings (the bug that made Pagination\'s size-changer taller than its * page buttons), and being a raw length rather than a `--scaling`-multiplied step, it did not * move with density while the tier did. * * What settled it was not consistency but MEASUREMENT: an xs Button rendered 20px tall, under * the 24x24 CSS px that WCAG 2.2 SC 2.5.8 (Target Size, Minimum) requires, while icon-xs beside * it rendered 24px and passed. So this is an accessibility fix that happens to also remove an * inconsistency, not a visual preference. It is a real visual change on the most-used component * in the library (20px -> 24px), and it stays a knob: a service that wants the old box sets * --button-xs-height back.'},{name:"--button-bare-target-size",value:"var(--control-height-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-space-inline",value:"var(--space-2)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-space-gap",value:"var(--space-1)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-font-size",value:"var(--font-size-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-icon-size",value:"var(--icon-size-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-icon-space-inline-md",value:"var(--space-3)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-sm",value:"0.625rem",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-lg",value:"var(--space-4)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-xs",value:"0.375rem",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-space-block",value:"var(--space-2)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--otp-caret-block-size",value:"1rem",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--otp-caret-inline-size",value:"var(--stroke-hairline)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--otp-separator-icon-size",value:"var(--icon-size-md)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-min-width",value:"var(--space-4)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-space-inline",value:"var(--space-1)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-font-size",value:"var(--font-size-xs)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-default-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-default-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-destructive-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-destructive-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-secondary-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-secondary-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--control-label-font-size",value:"var(--font-size-sm)",description:"LABEL \u2014 the Label primitive's own box and type (#319). Every one of these was a Tailwind * literal baked into label.tsx (`text-sm leading-none flex items-center gap-2`), so a service * whose form grid wanted a smaller/denser label had to hand-write font-size on every call site * (which is exactly why --form-label-font-size had to be invented as a per-instance escape). * They live under the `control` prefix because Label is a control-family primitive and * src/tokens/components/ has no `label` file of its own. * * Defaults reproduce today's rendering exactly: * font-size \u2190 `text-sm` \u2192 --text-sm \u2192 var(--font-size-sm) * line-height \u2190 `leading-none` \u2192 1 (leading-none beats text-sm's companion line-height)"},{name:"--control-label-line-height",value:"1",description:"LABEL \u2014 the Label primitive's own box and type (#319). Every one of these was a Tailwind * literal baked into label.tsx (`text-sm leading-none flex items-center gap-2`), so a service * whose form grid wanted a smaller/denser label had to hand-write font-size on every call site * (which is exactly why --form-label-font-size had to be invented as a per-instance escape). * They live under the `control` prefix because Label is a control-family primitive and * src/tokens/components/ has no `label` file of its own. * * Defaults reproduce today's rendering exactly: * font-size \u2190 `text-sm` \u2192 --text-sm \u2192 var(--font-size-sm) * line-height \u2190 `leading-none` \u2192 1 (leading-none beats text-sm's companion line-height)"},{name:"--control-label-space-gap",value:"0.5rem",description:"Label \u2192 addon/required-marker gap. A RAW rem, deliberately NOT var(--space-2): the `gap-2` it * replaces reads Tailwind's own --spacing grid, which this repo does NOT density-scale, so a * --space-* default would silently resize every label row under a compact/comfortable density. * A service that WANTS it to follow density points the knob at var(--space-2) itself."},{name:"--control-label-disabled-alpha",value:"0.7",description:"Weight of a label whose `peer` control is disabled. Deliberately its OWN knob rather than the * global --disabled-opacity (0.5): a label must stay READABLE next to a disabled control \u2014 it is * still the field's accessible name \u2014 so it rests one step heavier than the control it names. * Default = the historical `peer-disabled:opacity-70`."},{name:"--control-surface-border-color",value:"hsl(var(--input))",description:'\u2500\u2500 CONTROL SURFACE \u2014 the antd `variant` \xD7 `status` matrix (antd 6.6.2) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * * The four surfaces and the two statuses are TOKENS, not utilities, and that is the whole point * of this block. The select-family trigger used to state its surface as `border-input * bg-background` \u2014 two Tailwind utilities, which live in `@layer utilities` and therefore beat * anything a stylesheet in `@layer components` can say. A `[data-variant="filled"]` rule would * have been dead on arrival, exactly the way `w-full` killed `.ui-app-setting-picker-icon` * (gh#366) and `--control-bounded-width` (gh#375). So the family now withholds those two * utilities and reads the surface from here instead; the DEFAULT values reproduce the previous * rendering byte for byte. * * `--control-surface-*` is the `outlined` default; the other three name themselves.'},{name:"--control-surface-background",value:"hsl(var(--background))",description:'\u2500\u2500 CONTROL SURFACE \u2014 the antd `variant` \xD7 `status` matrix (antd 6.6.2) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * * The four surfaces and the two statuses are TOKENS, not utilities, and that is the whole point * of this block. The select-family trigger used to state its surface as `border-input * bg-background` \u2014 two Tailwind utilities, which live in `@layer utilities` and therefore beat * anything a stylesheet in `@layer components` can say. A `[data-variant="filled"]` rule would * have been dead on arrival, exactly the way `w-full` killed `.ui-app-setting-picker-icon` * (gh#366) and `--control-bounded-width` (gh#375). So the family now withholds those two * utilities and reads the surface from here instead; the DEFAULT values reproduce the previous * rendering byte for byte. * * `--control-surface-*` is the `outlined` default; the other three name themselves.'},{name:"--control-filled-border-color",value:"transparent",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-filled-background",value:"hsl(var(--muted))",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-filled-shadow",value:"none",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-borderless-border-color",value:"transparent",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-borderless-background",value:"transparent",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-borderless-shadow",value:"none",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-status-error-border-color",value:"hsl(var(--destructive))",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-status-warning-border-color",value:"hsl(var(--text-warning))",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-status-warning-outline-color",value:"var(--warning)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-height-compact",value:"var(--band-height-xl)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-height-default",value:"var(--band-height-xl)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-block-start",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-block-end",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-inline-start",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-inline-end",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--accordion-chevron-size",value:"var(--icon-size-md)",description:'Accordion chevron and Carousel arrow. Both were bare 1rem literals in * data-display-layout.css \u2014 glyphs with no tier-2 route, invisible to the icon ratchet because * neither selector contains the word "icon".'},{name:"--carousel-arrow-icon-size",value:"var(--icon-size-md)",description:'Accordion chevron and Carousel arrow. Both were bare 1rem literals in * data-display-layout.css \u2014 glyphs with no tier-2 route, invisible to the icon ratchet because * neither selector contains the word "icon".'},{name:"--accordion-focus-ring-offset",value:"2px",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--carousel-dot-focus-ring-offset",value:"2px",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--progress-label-font-size",value:"var(--font-size-xs)",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--code-block-font-size",value:"var(--font-size-sm)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-font-size-xs",value:"var(--font-size-xs)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-line-height",value:"var(--line-height-normal)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-space-inset",value:"var(--space-3)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-radius",value:"var(--radius-md)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-sm",value:"12rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-md",value:"20rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-lg",value:"32rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--prose-font-size",value:"var(--font-size-base)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-font-size-sm",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-line-height",value:"var(--line-height-body)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-space-block",value:"var(--space-3)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-heading-space-block-start",value:"var(--space-6)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-list-space-inline",value:"var(--space-6)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-list-item-space",value:"var(--space-1)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-quote-border-width",value:"var(--stroke-md)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-quote-space-inline",value:"var(--space-3)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-font-size",value:"calc(1em / var(--font-size-ratio))",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-space-inline",value:"var(--space-1)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-radius",value:"var(--radius-sm)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-image-radius",value:"var(--radius-md)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--tree-item-indent-width",value:"var(--space-5)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--tree-item-title-font-size",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--tree-item-description-font-size",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--timeline-note-font-size",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--avatar-background",value:"initial",description:"Avatar surface \u2014 `initial` so the --muted default re-resolves at the call site under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override never reaches it). A service re-tints the placeholder fill once (e.g. --avatar-background: hsl(var(--accent))). Default = hsl(var(--muted))."},{name:"--avatar-tint",value:"transparent",description:"Optional role wash over the avatar (default transparent = invisible, rule #44). Painted as an overlay so a service sets --avatar-tint: hsl(var(--primary) / 0.08)."},{name:"--avatar-square-radius",value:"var(--radius-lg)",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-size",value:"var(--control-height)",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-background",value:"initial",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-foreground",value:"initial",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-tinted-background",value:"initial",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-tinted-foreground",value:"initial",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-tinted-glyph-size",value:"var(--control-icon-size)",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-presence-size",value:"30%",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-min-size",value:"var(--space-2)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-inset",value:"0",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-ring-width",value:"var(--stroke-md)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-stroke-width",value:"var(--stroke-sm)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-bar-inline-size",value:"56%",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-bar-block-size",value:"var(--stroke-sm)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-ring-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-online-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-away-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-busy-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-offline-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--progress-track-background",value:"initial",description:"Progress track + fill \u2014 `initial` so the role defaults re-resolve under a scoped theme. Track reads --secondary, fill reads --success; a service re-tones once. Defaults = hsl(var(--secondary)) track \xB7 hsl(var(--success)) fill."},{name:"--progress-fill-background",value:"initial",description:"Progress track + fill \u2014 `initial` so the role defaults re-resolve under a scoped theme. Track reads --secondary, fill reads --success; a service re-tones once. Defaults = hsl(var(--secondary)) track \xB7 hsl(var(--success)) fill."},{name:"--progress-breakdown-block-size",value:"1.375rem",description:"BREAKDOWN geometry (`segments`) \u2014 its own block size and corner, not the meter's. A 0.5rem pill carries ONE fill legibly; three abutting fills at that height read as a coloured hairline and the ratios stop being comparable, which is the only thing a breakdown is for. The corner follows --radius rather than --radius-pill: pill ends would round the first and last slice only, so the partition would look like it starts and stops somewhere other than where it does."},{name:"--progress-breakdown-radius",value:"var(--radius)",description:"BREAKDOWN geometry (`segments`) \u2014 its own block size and corner, not the meter's. A 0.5rem pill carries ONE fill legibly; three abutting fills at that height read as a coloured hairline and the ratios stop being comparable, which is the only thing a breakdown is for. The corner follows --radius rather than --radius-pill: pill ends would round the first and last slice only, so the partition would look like it starts and stops somewhere other than where it does."},{name:"--legend-gap",value:"0.875rem",description:'Legend \u2014 the key for a colour-coded surface. Small chrome, so it carries its own rhythm rather than the stack scale: the swatch is a MARK the size of a character, not a control, and the gap that reads as "these two belong together" is tighter than any named step.'},{name:"--legend-item-gap",value:"0.3125rem",description:"scale-exempt: the legend's rhythm follows its TYPE (11-12px), not the layout space scale \u2014 --space-3 (12px) is close enough to the item gap that a swatch starts binding to the label on its left, and --space-4 (16px) breaks three keys into three objects."},{name:"--legend-swatch-size",value:"0.625rem",description:"scale-exempt: half the swatch, so a mark and its label read as one word; derived from --legend-swatch-size, not from the layout scale."},{name:"--legend-swatch-radius",value:"0.125rem",description:"scale-exempt: half the swatch, so a mark and its label read as one word; derived from --legend-swatch-size, not from the layout scale."},{name:"--legend-font-size",value:"var(--font-size-xs)",description:"scale-exempt: --radius (6px) on a 10px square is 60% of the mark and reads as a DOT, a different symbol; this is the smallest corner that softens the square without becoming one."},{name:"--legend-color",value:"initial",description:"`initial` so the muted role re-resolves at the call site under a scoped theme. Default = hsl(var(--muted-foreground))."},{name:"--timeline-dot-done-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--timeline-dot-current-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--timeline-line-completed-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--tree-item-active-border",value:"initial",description:"Tree active item \u2014 border + soft bg tint over the --primary role. `initial` so the default re-resolves under a scoped theme. Defaults = hsl(var(--primary) / 0.3) border \xB7 0.05 fill."},{name:"--tree-item-active-background",value:"initial",description:"Tree active item \u2014 border + soft bg tint over the --primary role. `initial` so the default re-resolves under a scoped theme. Defaults = hsl(var(--primary) / 0.3) border \xB7 0.05 fill."},{name:"--qr-code-foreground",value:"0 0% 0%",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-background",value:"0 0% 100%",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-xs",value:"6rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-sm",value:"8rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-md",value:"10rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-lg",value:"12.5rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--scroll-area-bar-size",value:"0.625rem",description:"SCROLL AREA \u2014 the custom scrollbar rail. `.ui-scroll-area-*` did not exist at all: the whole * rail shipped as Tailwind literals on the component (`w-2.5 p-px` / `h-2.5 p-px`, * `rounded-full`), so a service could not widen the bar for a touch/coarse-pointer console or * square the thumb to match a sharp-cornered theme without forking ScrollArea (rule #45). * --scroll-area-bar-size is a RAW rem on purpose: it replaces a FLAT Tailwind step (2.5 = 10px), * not a --space-* step, so binding it to the density-scaled scale would silently change today's * rendering under a non-default --scaling. Defaults reproduce the previous rail exactly."},{name:"--scroll-area-bar-padding",value:"1px",description:"Hairline inset that keeps the thumb off the rail edge \u2014 a service running a thicker bar * usually wants a proportionally larger gutter here."},{name:"--scroll-area-thumb-radius",value:"var(--radius-pill)",description:"Hairline inset that keeps the thumb off the rail edge \u2014 a service running a thicker bar * usually wants a proportionally larger gutter here."},{name:"--timeline-grid-hour-height",value:"2.5rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-axis-width",value:"3.25rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-column-min-width",value:"6rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-event-min-height-minutes",value:"36",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-axis-font-size",value:"var(--font-size-2xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-head-font-size",value:"var(--font-size-xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-font-size",value:"var(--font-size-2xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-gap",value:"var(--space-1)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-space-inset",value:"var(--space-1)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-radius",value:"var(--radius-sm)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-border-width",value:"var(--stroke-md)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-now-width",value:"var(--stroke-sm)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-line-color",value:"initial",description:"Role-mirror knobs (docs/TOKENS.md): `initial` so the defaults re-resolve at the CALL SITE and * a scoped [data-tenant]/.dark override of the role still reaches them. * Defaults = hsl(var(--border)) hour rules \xB7 hsl(var(--primary)) block accent \xB7 * hsl(var(--destructive)) now marker \xB7 hsl(var(--primary)) current-column wash."},{name:"--timeline-grid-event-color",value:"initial",description:"Role-mirror knobs (docs/TOKENS.md): `initial` so the defaults re-resolve at the CALL SITE and * a scoped [data-tenant]/.dark override of the role still reaches them. * Defaults = hsl(var(--border)) hour rules \xB7 hsl(var(--primary)) block accent \xB7 * hsl(var(--destructive)) now marker \xB7 hsl(var(--primary)) current-column wash."},{name:"--timeline-grid-event-muted-color",value:"hsl(var(--foreground))",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--timeline-grid-now-color",value:"initial",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--timeline-grid-current-tint",value:"initial",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--permission-matrix-label-width",value:"16rem",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-role-space-gap",value:"var(--space-1)",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-name-space-gap",value:"0.375rem",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-cell-icon-size",value:"var(--control-icon-size)",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-min-width",value:"48rem",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-label-width",value:"var(--app-shell-sidebar-width)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-unit-width",value:"calc(var(--control-height-sm) * 2)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-row-height",value:"var(--control-height-lg)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-bar-height",value:"var(--control-height-sm)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-border-color",value:"var(--border)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--password-strength-score-font-size",value:"var(--font-size-xs)",description:"Data-entry component tokens \u2014 small-by-design text knobs (rule #45/#46)."},{name:"--password-strength-checklist-font-size",value:"var(--font-size-xs)",description:"Data-entry component tokens \u2014 small-by-design text knobs (rule #45/#46)."},{name:"--branch-scope-picker-gap",value:"0.75rem",description:"Stack rhythm between the mode radios, the subset box and the error line (was `gap-3`)."},{name:"--branch-scope-picker-badges-gap",value:"0.375rem",description:"Read-only summary: the wrapped run of branch Badges (was `gap-1.5`)."},{name:"--branch-scope-picker-subset-gap",value:"0.5rem",description:'The `mode="selected"` subset box \u2014 its inner stack rhythm and the inset that clears its * indent rule (was `gap-2` / `ps-4`).'},{name:"--branch-scope-picker-subset-padding-inline",value:"1rem",description:'The `mode="selected"` subset box \u2014 its inner stack rhythm and the inset that clears its * indent rule (was `gap-2` / `ps-4`).'},{name:"--branch-scope-picker-subset-border-width",value:"var(--stroke-md)",description:"The indent rule itself is CHROME (#44), so it is a knob: a service that wants the flat * treatment sets it to 0 rather than forking the component. Default = today's `border-s-2`."},{name:"--branch-scope-picker-list-max-height",value:"16rem",description:"Bounded height of the scrollable branch list (was `max-h-64`). Flat by design: the box is a * keyboard-reachable scroll region whose job is to cap the control's measure, so it must not * grow with density and push the surrounding form off a 390px frame."},{name:"--descriptions-label-width",value:"8rem",description:'Width of the label column when <Descriptions layout="horizontal">. Labels align to this * shared column so the values line up (the horizontal-detail look, mirroring <Form layout>). * A rem value gives a fixed aligned column; set `max-content` to size each label to its text. * (rule #44/#45 \u2014 a service theme tunes it here instead of forking CSS.)'},{name:"--descriptions-row-gap",value:"var(--space-3)",description:"Row-to-row gap (gh#294). Default = the historical hardcoded `gap-y-3`, so nothing changes * visually by default. A consumer composing Descriptions beside a Form/FormField (a read-only * block above an editable field on the same card) retunes this to `var(--space-4)` to match * Form's own field-to-field rhythm instead of the two blocks reading as visually unrelated."},{name:"--descriptions-column-gap",value:"1.5rem",description:"Column-to-column gap of the <dl> grid (#319). Was a hardcoded `gap-x-6`, the one axis of the * grid rhythm a service could NOT reach while --descriptions-row-gap was already a knob \u2014 so a * 2/3-column detail block could be retuned vertically but never horizontally. * A RAW rem, deliberately NOT var(--space-6): `gap-x-6` reads Tailwind's own --spacing grid, * which this repo does NOT density-scale, so a --space-* default would silently rescale the * column gap under a compact/comfortable density. Point it at var(--space-6) to opt in."},{name:"--descriptions-label-gap",value:"0.75rem",description:'Label \u2192 value gap inside ONE item when layout="horizontal" (was `gap-x-3`). Pairs with * --descriptions-label-width: a service that narrows the label column usually wants to close * this gap in the same step. Raw rem for the same --spacing reason as above.'},{name:"--descriptions-value-font-size",value:"var(--font-size-sm)",description:"VALUE TYPOGRAPHY (gh#294 + #319). `FormField staticText` renders its read-only value with the * SAME typography as a <dd> so a static Form row and a Descriptions value are indistinguishable * when mixed on one card. That contract used to be two copies of the literal `text-sm` plus a * comment asking future editors to keep them in sync; both call sites now read these tokens, so * the mirror is mechanical and a service retunes BOTH from one place."},{name:"--descriptions-value-line-height",value:"calc(1.25 / 0.875)",description:"Companion to --descriptions-value-font-size (the gh#260 bug). The `text-sm` utility this * replaces ALSO set a line-height, via Tailwind's default `--text-sm--line-height` * (= calc(1.25 / 0.875)); the theme remaps --text-sm but never that companion. Without this the * value would silently inherit ambient leading instead of its own 20px line box."},{name:"--descriptions-row-border",value:"none",description:"ROW CHROME (gh#414) \u2014 the ruled property panel. Both knobs are QUIET by default (rule #44), so * an existing Descriptions is byte-identical: no rule, no band height. * * Same shape as --page-header-divider / --page-toolbar-divider / --page-footer-divider on * PageContainer: a `border` shorthand a service opts into with ONE declaration * (`--descriptions-row-border: 1px solid hsl(var(--border))`), read at the call site. Bound at * :root rather than `initial` because the default is a plain CSS keyword, not another role * token \u2014 there is nothing for a scoped [data-tenant]/.dark override to re-resolve, and the * keyword is worth reading here (the same reasoning --page-toolbar-background records). * * The rule is drawn only on an UNBORDERED grid: `bordered` already draws a rule between every * cell, and a second block-end border would double every line it owns. * * --descriptions-row-min-height gives the ruled variant its band height \u2014 a ruled row whose * value is one short line otherwise reads as a hairline sandwich. `auto` = today. * * A continuously ruled panel sets --descriptions-row-gap to `0` in the same declaration block: * the row gap is the space BETWEEN rules, so leaving it at the default 12px draws a ladder of * detached hairlines rather than a ruled list."},{name:"--descriptions-row-min-height",value:"auto",description:"ROW CHROME (gh#414) \u2014 the ruled property panel. Both knobs are QUIET by default (rule #44), so * an existing Descriptions is byte-identical: no rule, no band height. * * Same shape as --page-header-divider / --page-toolbar-divider / --page-footer-divider on * PageContainer: a `border` shorthand a service opts into with ONE declaration * (`--descriptions-row-border: 1px solid hsl(var(--border))`), read at the call site. Bound at * :root rather than `initial` because the default is a plain CSS keyword, not another role * token \u2014 there is nothing for a scoped [data-tenant]/.dark override to re-resolve, and the * keyword is worth reading here (the same reasoning --page-toolbar-background records). * * The rule is drawn only on an UNBORDERED grid: `bordered` already draws a rule between every * cell, and a second block-end border would double every line it owns. * * --descriptions-row-min-height gives the ruled variant its band height \u2014 a ruled row whose * value is one short line otherwise reads as a hairline sandwich. `auto` = today. * * A continuously ruled panel sets --descriptions-row-gap to `0` in the same declaration block: * the row gap is the space BETWEEN rules, so leaving it at the default 12px draws a ladder of * detached hairlines rather than a ruled list."},{name:"--descriptions-border-width",value:"var(--stroke-hairline)",description:"BORDERED grid (antd `bordered`). The rule between cells and the frame around them. Width is a * stroke step so a service that thickens every hairline gets this one with it; colour is * deliberately left to the global `border-color` role so a scoped [data-tenant] override still * reaches it."},{name:"--descriptions-border-radius",value:"var(--radius-md)",description:"BORDERED grid (antd `bordered`). The rule between cells and the frame around them. Width is a * stroke step so a service that thickens every hairline gets this one with it; colour is * deliberately left to the global `border-color` role so a scoped [data-tenant] override still * reaches it."},{name:"--descriptions-cell-padding-y",value:"var(--space-2)",description:"Inset inside one bordered cell. Only read while `bordered` is set \u2014 an unbordered * Descriptions has no cell box to pad, and gains nothing."},{name:"--descriptions-cell-padding-x",value:"var(--space-3)",description:"Inset inside one bordered cell. Only read while `bordered` is set \u2014 an unbordered * Descriptions has no cell box to pad, and gains nothing."},{name:"--descriptions-label-background",value:"initial",description:"Shaded label cell, the half of antd's bordered table that makes the pairs readable at a * glance. `initial` so the --muted default re-resolves under a scoped theme. * Default = hsl(var(--muted))."},{name:"--email-shell-width",value:"480px",description:"\u2500\u2500 Shell \u2014 the 480px transactional-email geometry \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-shell-padding",value:"32px",description:"canonical transactional card width"},{name:"--email-shell-page-padding",value:"24px",description:"card inset \u2014 mirrors --space-8 (2rem)"},{name:"--email-shell-border-width",value:"1px",description:"gutter between the client viewport and the card (--space-6)"},{name:"--email-card-radius",value:"10px",description:"card edge \u2014 mirrors the 1px --border hairline"},{name:"--email-card-reference-height",value:"407px",description:"mirrors --card-radius (--radius-xl = 6px \xD7 \u03C6 \u2248 10px)"},{name:"--email-stack-gap",value:"24px",description:"canonical invitation reference measures 480\xD7407"},{name:"--email-stack-gap-sm",value:"12px",description:"block rhythm \u2014 mirrors --space-stack-lg (1.5rem)"},{name:"--email-mark-width",value:"22px",description:'The mark ARTWORK is the same 32\xD732 capsule + glyph `<Logo mark="godx" />` paints; only the * RENDERED BOX differs. The canonical SCR-302 header sets it at 22px next to a 13px/700 "GoDX" * wordmark, which is smaller than the web --logo-godx-size (2rem) \u2014 an email header carries the * identity, not the navigation, so the lockup sits quieter (gh#250).'},{name:"--email-mark-height",value:"22px",description:"canonical SCR-302 header lockup mark box"},{name:"--email-mark-gap",value:"8px",description:"canonical SCR-302 header lockup mark box"},{name:"--email-wordmark-font-size",value:"13px",description:"mark \u2194 wordmark \u2014 mirrors --logo-wordmark-gap (--space-2)"},{name:"--email-wordmark-font-weight",value:"700",description:"canonical wordmark size (\u2248 --font-size-xs 12.5px)"},{name:"--email-font-family-sans",value:'"Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, "M PLUS 2", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, Arial, sans-serif',description:'The DXS canonical face is Noto Sans JP (see src/styles/fonts.css; product override, direct * instruction). Email clients honour NO @font-face, so the stack ships the face NAME first and * degrades through the platform JP faces to a generic \u2014 a client with Noto Sans JP installed (or * a webmail that already loaded it, which is common \u2014 it is a widely preinstalled/CDN-cached * Google face, more likely to actually render than the niche M PLUS 2 ever was) renders the * canonical face, everything else lands on Hiragino (macOS/iOS) \u2192 Yu Gothic (Windows) \u2192 * M PLUS 2 \u2192 Meiryo \u2192 the system UI face \u2192 Arial \u2192 sans-serif. Family names are SINGLE-quoted * on export (the generator normalises) because an inline `style="\u2026"` attribute is double-quoted; * only ASCII aliases are listed, since a non-ASCII family name does not survive every transfer * encoding.'},{name:"--email-font-family-mono",value:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",description:"Tabular/reference strings \u2014 invoice ids, masked card numbers, ISO dates, amounts \u2014 are set in * the mono face in the canonical card. Mirrors --font-family-mono."},{name:"--email-body-font-size",value:"14px",description:"Tabular/reference strings \u2014 invoice ids, masked card numbers, ISO dates, amounts \u2014 are set in * the mono face in the canonical card. Mirrors --font-family-mono."},{name:"--email-body-line-height",value:"1.9",description:"1.9, NOT the web --line-height-body (1.7) \u2014 the canonical email card runs its JP body copy * looser than a screen, because a mail client gives the reader no density control."},{name:"--email-body-font-weight",value:"400",description:"1.9, NOT the web --line-height-body (1.7) \u2014 the canonical email card runs its JP body copy * looser than a screen, because a mail client gives the reader no density control."},{name:"--email-heading-font-size",value:"17px",description:"mirrors --font-weight-normal"},{name:"--email-heading-line-height",value:"1.7",description:"canonical card title (\u2248 --heading-h2, base \xD7 \u03C6^\xBC\xB2 \u2248 17.6px)"},{name:"--email-heading-font-weight",value:"500",description:"the title shares the card's body leading, not a tight ramp"},{name:"--email-cta-height",value:"44px",description:`TOUCH TARGET, deliberately DECOUPLED from --control-height-lg (36px). Do not "restore" the * mirror: email is a mobile-first, touch-only medium. There is no hover state, no precise * pointer, and mail clients do not reliably offer zoom or a focus affordance \u2014 so the web's AA * floor (SC 2.5.8, 24x24, which 36px clears) is the wrong bar here. 44px is the AAA target size * (SC 2.5.5, 44x44) and the Apple HIG 44pt / Material 48dp convention. A service that must keep * the old box sets --email-cta-height + --email-cta-line-height in its own theme.`},{name:"--email-cta-line-height",value:"44px",description:`TOUCH TARGET, deliberately DECOUPLED from --control-height-lg (36px). Do not "restore" the * mirror: email is a mobile-first, touch-only medium. There is no hover state, no precise * pointer, and mail clients do not reliably offer zoom or a focus affordance \u2014 so the web's AA * floor (SC 2.5.8, 24x24, which 36px clears) is the wrong bar here. 44px is the AAA target size * (SC 2.5.5, 44x44) and the Apple HIG 44pt / Material 48dp convention. A service that must keep * the old box sets --email-cta-height + --email-cta-line-height in its own theme.`},{name:"--email-cta-padding-x",value:"16px",description:"equal to the height: bulletproof vertical centring in Outlook"},{name:"--email-cta-radius",value:"6px",description:"mirrors --space-4"},{name:"--email-cta-font-size",value:"14px",description:"mirrors the --radius base (0.375rem)"},{name:"--email-cta-font-weight",value:"500",description:"mirrors --font-size-base"},{name:"--email-footer-font-size",value:"11px",description:"\u2500\u2500 Legal footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-footer-line-height",value:"1.8",description:"mirrors --font-size-2xs (base \xF7 \u03C6^\xBC\xB2 \u2248 11.1px)"},{name:"--email-footer-link-gap",value:"12px",description:"the legal band runs looser than the web --line-height-normal"},{name:"--email-footer-padding-top",value:"20px",description:"horizontal separation between footer links (--space-3)"},{name:"--email-footer-border-width",value:"1px",description:"space above the legal band"},{name:"--email-focus-border-width",value:"2px",description:"\u2500\u2500 Focus affordance (webmail preview panes that DO honour :focus) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-mobile-max-width",value:"520px",description:"\u2500\u2500 Mobile reflow \u2014 applied under the narrow media query and by inline fallbacks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-mobile-width",value:"100%",description:"the reflow breakpoint (card width + both gutters)"},{name:"--email-mobile-padding",value:"20px",description:"the card goes fluid below the breakpoint"},{name:"--email-mobile-page-padding",value:"12px",description:"reduced card inset \u2014 mirrors --space-5"},{name:"--email-mobile-heading-font-size",value:"16px",description:"One step below the 17px desktop title. The canonical 390px reference raster is unusable (it is * 435px wide and already clips the card \u2014 dxs-platform/platform#496), so this is the library's * documented contract rather than a measured canonical value."},{name:"--email-mobile-cta-width",value:"100%",description:"One step below the 17px desktop title. The canonical 390px reference raster is unusable (it is * 435px wide and already clips the card \u2014 dxs-platform/platform#496), so this is the library's * documented contract rather than a measured canonical value."},{name:"--error-surface-max-width",value:"32rem",description:"Measure of the surface block. Caps the status code + body + metadata column so a long ja/vi * headline wraps at a readable width in BOTH shells, including the application shell where * PageContainer is much wider than the copy wants to be."},{name:"--error-surface-gap",value:"var(--space-3)",description:"Rhythm between the status code, the EmptyState body, the metadata list and the progress meter."},{name:"--error-surface-padding-block",value:"var(--space-10)",description:"Block padding of the surface inside the shell it is placed in. Desktop (1440/1024) default; the * 390 step steps it down so a phone loses no vertical space (see styles/shell-layout.css)."},{name:"--error-surface-padding-block-compact",value:"var(--space-6)",description:"Block padding of the surface inside the shell it is placed in. Desktop (1440/1024) default; the * 390 step steps it down so a phone loses no vertical space (see styles/shell-layout.css)."},{name:"--error-surface-brand-gap",value:"var(--space-2)",description:"Brand slot (a Logo) above the status code, system mode only."},{name:"--error-surface-meta-gap",value:"var(--space-1)",description:"Metadata description list: row rhythm and the label\u2194value gap inside one row."},{name:"--error-surface-meta-row-gap",value:"var(--space-2)",description:"Metadata description list: row rhythm and the label\u2194value gap inside one row."},{name:"--error-surface-meta-border",value:"none",description:"Chrome, default quiet (#44). A service opts in with * `--error-surface-meta-border: 1px solid hsl(var(--border));`."},{name:"--error-surface-meta-padding-block",value:"0",description:"Chrome, default quiet (#44). A service opts in with * `--error-surface-meta-border: 1px solid hsl(var(--border));`."},{name:"--error-surface-progress-max-width",value:"18rem",description:"Width of the maintenance progress meter \u2014 narrower than the measure, so it reads as metadata * rather than as the primary content of the page."},{name:"--sheet-width-default",value:"22.5rem",description:"Feedback primitive tokens: dialog, alert, empty state."},{name:"--sheet-overlay-background",value:"initial",description:"Overlay scrims \u2014 `initial` so the shared semantic --overlay-background re-resolves at the CALL * SITE under a scoped [data-tenant]/.dark theme (a :root binding to it freezes at :root and a * scoped override never reaches the overlay). Each surface takes a SHARE of that one scrim rather * than a private literal, so a service retints every backdrop with one --overlay-background while * the calibrated per-surface depth survives: a slide-in Sheet washes the page more lightly than a * modal Dialog. Defaults resolve to rgb(0 0 0 / 0.2) (sheet) and rgb(0 0 0 / 0.3) (dialog)."},{name:"--sheet-overlay-alpha",value:"40%",description:"Overlay scrims \u2014 `initial` so the shared semantic --overlay-background re-resolves at the CALL * SITE under a scoped [data-tenant]/.dark theme (a :root binding to it freezes at :root and a * scoped override never reaches the overlay). Each surface takes a SHARE of that one scrim rather * than a private literal, so a service retints every backdrop with one --overlay-background while * the calibrated per-surface depth survives: a slide-in Sheet washes the page more lightly than a * modal Dialog. Defaults resolve to rgb(0 0 0 / 0.2) (sheet) and rgb(0 0 0 / 0.3) (dialog)."},{name:"--sheet-shadow",value:"var(--shadow-lg)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-header-space-gap",value:"0.375rem",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-block-space-gap",value:"var(--space-1)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-row-space-gap",value:"var(--space-3)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-extra-space-gap",value:"var(--space-2)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-footer-space-gap",value:"var(--space-2)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-font-size",value:"var(--font-size-lg)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-description-font-size",value:"var(--font-size-sm)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-body-space-block",value:"var(--space-1)",description:"The scroll region keeps a sliver of padding so a focused control's ring is never clipped at * the scroll edges \u2014 retune together with --focus-ring-width."},{name:"--sheet-close-offset",value:"var(--space-4)",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--sheet-close-rest-alpha",value:"0.7",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--sheet-header-close-space-inline-end",value:"var(--space-8)",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-width-default",value:"32rem",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-viewport-inset",value:"1.5rem",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-overlay-background",value:"initial",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-overlay-alpha",value:"60%",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-space-x",value:"var(--space-chrome-x)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-y",value:"var(--space-chrome-y)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-inset",value:"var(--dialog-space-y) var(--dialog-space-x)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-gap",value:"var(--space-stack-md)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-close-space-offset",value:"var(--space-4)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-header-space-gap",value:"var(--space-stack-xs)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-title-row-space-gap",value:"var(--space-3)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-title-block-space-gap",value:"var(--space-1)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-extra-space-gap",value:"var(--space-2)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-header-close-space-inline-end",value:"var(--space-8)",description:"Inline room the header reserves so a long title or the extra slot never runs under the * absolutely-positioned close button; retune together with --dialog-close-space-offset. * Mirrors --sheet-header-close-space-inline-end."},{name:"--dialog-close-rest-alpha",value:"0.7",description:"Close button rest opacity \u2014 quiet at rest, full on hover (rule #44). Was a hard 0.7 baked into * dialog-layout.css with no way for a theme to make the \u2715 louder. Mirrors * --sheet-close-rest-alpha so the two overlay siblings retune together."},{name:"--dialog-step-up-error-font-size",value:"var(--font-size-sm)",description:"Type-to-confirm challenge: the step-up failure line under the input. Its size + ink were * `text-sm text-destructive` on the component, i.e. unreachable from a theme."},{name:"--alert-radius",value:"var(--card-radius)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-space-inset",value:"var(--space-section-active)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-space-gap",value:"var(--space-inline-md)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-inner-space-gap",value:"var(--space-stack-sm)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-dismiss-space-offset",value:"var(--space-3)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-icon-size",value:"var(--icon-size-lg)",description:"Leading tone glyph (the \u26A0/\u2713/\u24D8 at the start of the strip). It was a bare `1.25rem` in * alert-layout.css with no token at all, so the ONLY ways to resize it were `!important` or a * forked stylesheet \u2014 the two things the icon axis's tier 2 exists to abolish (gh#326). Same * step, so nothing moves; a service now scopes `--alert-icon-size` to one Alert instead. * Deliberately NOT --scaling-multiplied: the literal it replaces did not track density."},{name:"--alert-dismiss-rest-alpha",value:"0.7",description:"Dismiss \u2715 \u2014 rest opacity (quiet at rest, full on hover, rule #44) and glyph size. The rest * alpha was a hard 0.7 in alert-layout.css whose `:hover` companion lived on the COMPONENT as * `hover:opacity-100`, so the two halves of one affordance sat in two files and neither was * themeable. Mirrors --sheet-close-rest-alpha. The icon size carries a raw rem, not * var(--space-N): it replaces a flat Tailwind `size-4` step and must not start tracking the * density axis."},{name:"--alert-dismiss-icon-size",value:"var(--icon-size-md)",description:"Dismiss \u2715 \u2014 rest opacity (quiet at rest, full on hover, rule #44) and glyph size. The rest * alpha was a hard 0.7 in alert-layout.css whose `:hover` companion lived on the COMPONENT as * `hover:opacity-100`, so the two halves of one affordance sat in two files and neither was * themeable. Mirrors --sheet-close-rest-alpha. The icon size carries a raw rem, not * var(--space-N): it replaces a flat Tailwind `size-4` step and must not start tracking the * density axis."},{name:"--alert-bg-alpha",value:"0.05",description:"Soft (subtle) semantic tint ratios \u2014 themeable so a service can hit its exact spec * (a brand's success-bg/-border are often more present than the faint 5%/30% default)."},{name:"--alert-border-alpha",value:"0.3",description:"Soft (subtle) semantic tint ratios \u2014 themeable so a service can hit its exact spec * (a brand's success-bg/-border are often more present than the faint 5%/30% default)."},{name:"--banner-border-block-end-width",value:"1px",description:"BANNER \u2014 the page-level Alert treatment (gh#255). Every constant a service would want to * match to its page grid is a knob (rule #45). * * --banner-radius and --banner-border-width are NOT declared here (gh#327). They used to be, * and both copies were dead: components/banner.css declares the same two names at the same * `:root`, base.css imports banner AFTER feedback, so banner won every time. Radius agreed at * `0`, but border-width did not \u2014 this file said `0` and banner.css says `1px`, and `1px` is * what alert-layout.css actually paints as the strip's block-end hairline. So anyone who read * THIS file for the default was told the strip has no rule when it has one, and the MCP token * catalog carried both entries with the two conflicting values. banner.css owns the strip * geometry; these two live there and only there. * * The inline inset tracks the live page gutter, so a banner mounted above a PageContainer lines * its text up with the page title instead of sitting at a second, unrelated margin."},{name:"--banner-space-block",value:"var(--space-3)",description:"BANNER \u2014 the page-level Alert treatment (gh#255). Every constant a service would want to * match to its page grid is a knob (rule #45). * * --banner-radius and --banner-border-width are NOT declared here (gh#327). They used to be, * and both copies were dead: components/banner.css declares the same two names at the same * `:root`, base.css imports banner AFTER feedback, so banner won every time. Radius agreed at * `0`, but border-width did not \u2014 this file said `0` and banner.css says `1px`, and `1px` is * what alert-layout.css actually paints as the strip's block-end hairline. So anyone who read * THIS file for the default was told the strip has no rule when it has one, and the MCP token * catalog carried both entries with the two conflicting values. banner.css owns the strip * geometry; these two live there and only there. * * The inline inset tracks the live page gutter, so a banner mounted above a PageContainer lines * its text up with the page title instead of sitting at a second, unrelated margin."},{name:"--banner-space-inline",value:"var(--space-page-active-x)",description:"Inline inset tracks the page gutter so a banner's text lines up with the page title. * `--space-page-active-x` steps down to the compact gutter on `.ui-page-container` only, and * custom properties inherit \u2014 so a banner rendered INSIDE the container picks the compact value * up for free, while the normal case (a banner mounted ABOVE the container, or in AppShell) would * keep the desktop gutter and sit 8px out at 390px. The compact step below is what actually keeps * the two aligned; retune it rather than hard-coding a mobile inset at the call site."},{name:"--banner-space-inline-compact",value:"var(--space-page-compact-x)",description:"Inline inset tracks the page gutter so a banner's text lines up with the page title. * `--space-page-active-x` steps down to the compact gutter on `.ui-page-container` only, and * custom properties inherit \u2014 so a banner rendered INSIDE the container picks the compact value * up for free, while the normal case (a banner mounted ABOVE the container, or in AppShell) would * keep the desktop gutter and sit 8px out at 390px. The compact step below is what actually keeps * the two aligned; retune it rather than hard-coding a mobile inset at the call site."},{name:"--banner-dismiss-space-offset",value:"var(--space-2)",description:"Dismiss offset is measured from the banner's own (shorter) block inset, so the \u2715 stays * optically centred on a one-line strip instead of floating at the inline-alert offset."},{name:"--dialog-content-glow",value:"0 0 0 0 transparent",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-space-y",value:"var(--space-10)",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-space-x",value:"var(--space-6)",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-description-max-width",value:"28rem",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-section-space-y",value:"var(--space-6)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-section-space-x",value:"var(--space-4)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-compact-space-y",value:"var(--space-3)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-compact-space-x",value:"var(--space-2)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-icon-foreground",value:"initial",description:"EmptyState icon medallion colour \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (rule #44). A service recolours the glyph (--empty-state-icon-foreground) * or washes the medallion fill (--empty-state-icon-tint) without forking. * Defaults = hsl(var(--muted-foreground)) glyph \xB7 hsl(var(--muted)) fill."},{name:"--empty-state-icon-tint",value:"initial",description:"EmptyState icon medallion colour \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (rule #44). A service recolours the glyph (--empty-state-icon-foreground) * or washes the medallion fill (--empty-state-icon-tint) without forking. * Defaults = hsl(var(--muted-foreground)) glyph \xB7 hsl(var(--muted)) fill."},{name:"--empty-state-icon-size",value:"var(--icon-size-4xl)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--empty-state-icon-glyph-size",value:"var(--icon-size-xl)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-row-gap",value:"var(--space-stack-sm)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-cell-gap",value:"var(--space-inline-lg)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-card-inset",value:"var(--space-section-active)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-radius",value:"var(--radius)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-background",value:"initial",description:"Skeleton placeholder fill \u2014 `initial` so the --muted default re-resolves at the call site under * a scoped theme (a :root binding to a role var freezes at :root). A service tints the shimmer to * its surface (rule #44) without forking the keyframes. Default = hsl(var(--muted))."},{name:"--skeleton-block-height",value:"1rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-caption-height",value:"0.75rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-title-height",value:"1.75rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-label-width",value:"6rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-detail-value-max-width",value:"28rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-stat-value-width",value:"8rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-stat-caption-width",value:"5rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--query-load-more-space-block-start",value:"var(--space-stack-md)",description:'QUERY LIFECYCLE FOOTERS \u2014 the two rows `<InfiniteQueryState>` appends under a paginated feed: * the "load more" button row and the "loading more\u2026" caption. Both gaps were Tailwind literals * on the component (`pt-4` / `pt-2`), so a service running a denser (or airier) feed could not * align them to its own vertical rhythm without forking the component (rule #45). They live in * the feedback tier because these ARE query feedback surfaces and there is no query stylesheet. * Defaults = var(--space-stack-md) (16px) and var(--space-stack-sm) (8px) \u2014 the exact values the * Tailwind steps resolved to, so adopting this changes nothing until a theme opts in.'},{name:"--query-loading-more-space-block-start",value:"var(--space-stack-sm)",description:'QUERY LIFECYCLE FOOTERS \u2014 the two rows `<InfiniteQueryState>` appends under a paginated feed: * the "load more" button row and the "loading more\u2026" caption. Both gaps were Tailwind literals * on the component (`pt-4` / `pt-2`), so a service running a denser (or airier) feed could not * align them to its own vertical rhythm without forking the component (rule #45). They live in * the feedback tier because these ARE query feedback surfaces and there is no query stylesheet. * Defaults = var(--space-stack-md) (16px) and var(--space-stack-sm) (8px) \u2014 the exact values the * Tailwind steps resolved to, so adopting this changes nothing until a theme opts in.'},{name:"--tooltip-max-width",value:"20rem",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-space-inline",value:"var(--space-2)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-space-block",value:"var(--space-1)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-radius",value:"var(--radius)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-font-size",value:"var(--font-size-xs)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-shadow",value:"var(--shadow-md)",description:"Raised-surface depth \u2014 role-mirror knob, so a flat service theme sets `none` once."},{name:"--tooltip-background",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--tooltip-foreground",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--tooltip-border-color",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--popover-width",value:"18rem",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-space-inset",value:"var(--space-4)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-radius",value:"var(--radius)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-shadow",value:"var(--shadow-md)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-header-space-gap",value:"var(--space-1)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-header-font-size",value:"var(--font-size-sm)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-surface-background",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-foreground",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-border-color",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-inline-size",value:"initial",description:"Width knob, for a panel that owns its own box \u2014 a time column pair, a calendar. The three * colour knobs above already existed and padding already read `--popover-space-inset`; width was * the one surface property left absolute, so a modifier could only reach it by re-declaring the * property \u2014 which loses to import order (styles/__tests__/popover-surface-knob-cascade)."},{name:"--toast-icon-size",value:"var(--icon-size-md)",description:"TOAST (Sonner) \u2014 the status glyph in the toast's leading slot. * * WHY A KNOB AND NOT A UTILITY: sonner renders the toast body itself and takes the five status * glyphs through ONE `icons={{ success, info, warning, error, loading }}` config prop. That prop * is all-or-nothing \u2014 a consumer who wants a different glyph size must re-declare all five icons, * re-importing lucide and re-deriving the aria wiring. Routing the size through a token makes it * a one-line theme override instead (rule #45). * * Raw rem, not var(--space-N): it replaces a flat Tailwind `size-4` step, and the 16px box sonner * gives `[data-icon]` is itself fixed \u2014 scaling the glyph with density alone would overflow it. * * NAMESPACE NOTE: sonner publishes its own `--toast-*` custom properties (--toast-icon-margin-*, * --toast-svg-margin-*, --toast-button-margin-*, --toast-close-button-*). Neither name below * collides with those; keep it that way when adding to this group."},{name:"--toast-mobile-offset",value:"16px",description:"Viewport gutter of the mobile toast stack. Sonner passes `mobileOffset` straight into inline * CSS, so a var() string resolves normally. Flat 16px on purpose: this is a fixed inset from the * device edge (thumb reach / safe area), not a density-scaled gap inside a surface."},{name:"--flex-surface-background",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-surface-warning-alpha",value:"0.04",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-surface-radius",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-actions-offset-block",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-actions-offset-inline",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--form-label-width",value:"8rem",description:"Fixed aligned label column by default (gh#284) \u2014 `max-content` sized each field's label * column to its own label, so horizontal forms (especially columns={2} grids) had controls * starting at ragged x positions. 8rem mirrors --descriptions-label-width so edit forms and * show pages share the same optical grid; the Form/FormField `labelWidth` prop overrides."},{name:"--form-label-gap",value:"var(--space-4)",description:"Column gap between the label and its control in horizontal/inline layout."},{name:"--form-label-font-size",value:"var(--text-sm)",description:"Type in the label column. Inherits the body size by default, so nothing moves unless a * service opts in. It is a knob because the label column already is one: --form-label-width * lets a service align forms to its grid, and a service whose grid was drawn around a * smaller label had no way to say so \u2014 leaving it to hand-write font-size per label, which * is exactly what the width token exists to prevent."},{name:"--form-block-gap",value:"var(--space-4)",description:"Row rhythm between a Form's own top-level blocks (gh#295) \u2014 e.g. the field group's * CardContent and its CardFooter action row, or two FormFields that happen to be Form's OWN * direct children (no Card framing). Unchanged from the historical value."},{name:"--form-field-row-gap",value:"var(--space-3)",description:"Field-to-field row rhythm (gh#295) \u2014 mirrors --descriptions-row-gap so a read-only value * mixed in via `FormField.staticText` (gh#294) and a real Descriptions block share ONE canonical * rhythm. Applied via margin-based sibling spacing on FormField itself (not Form's flex `gap`, * which only reaches DIRECT children \u2014 dead in the common `Form > CardContent > FormField*` * composition every real Save-button form needs), so it holds at any DOM depth relative to Form."},{name:"--form-grid-row-gap",value:"var(--form-field-row-gap)",description:"Row rhythm between the ROWS of a `<Form columns={n}>` grid (gh#304). The grid path cannot use * the margin above \u2014 a per-item margin inside a grid double-counts the track gap AND leaves the * first item of row 1 unshifted while its row-mates drop, so row 1's columns end up misaligned. * The rhythm therefore rides the grid's own `row-gap`, and it DEFAULTS TO THE SAME * --form-field-row-gap the stacked path uses so `columns={1}` \u2014 and every `columns={n}` form once * it collapses to one column on a narrow container \u2014 is pixel-identical to a Form with no * `columns` at all. Retune this alone only to give multi-column forms a looser row rhythm than * stacked ones; retune --form-field-row-gap to move both together."},{name:"--form-grid-column-gap",value:"var(--space-4)",description:"Gutter between the COLUMNS of a `<Form columns={n}>` grid (gh#304). Was ResponsiveGrid's * generic 16px stack gap with no way to say otherwise; it is a form's inter-field gutter and a * service aligning forms to its design grid needs it as a knob (rule #45). The default keeps the * historical 16px, so nothing moves unless a theme opts in."},{name:"--legal-document-measure-max-width",value:"46rem",description:"Readable document measure. Caps the header, the section column and the footer so * a 1440px viewport still reads at ~75-90 characters per line."},{name:"--legal-document-column-gap",value:"var(--space-10)",description:"Rail \u2194 document column gutter (two-column mode only)."},{name:"--legal-document-toc-width",value:"15rem",description:"Sticky table-of-contents rail width (two-column mode only)."},{name:"--legal-document-toc-inset-block-start",value:"var(--space-6)",description:"Distance the pinned rail keeps from the top of the scrollport."},{name:"--legal-document-toc-max-height",value:"calc(100dvh - var(--space-12))",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-gap",value:"var(--space-1)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-item-padding",value:"var(--space-1) var(--space-2)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-item-radius",value:"var(--radius)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-title-font-size",value:"var(--font-size-2xs)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-font-size",value:"var(--font-size-xs)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-marker-width",value:"var(--stroke-md)",description:"Leading marker on the active contents entry \u2014 a non-colour affordance so the * active state is never colour-only (WCAG 1.4.1)."},{name:"--legal-document-nav-gap",value:"var(--space-4)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-header-gap",value:"var(--space-2)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-meta-gap",value:"var(--space-2)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-meta-font-size",value:"var(--font-size-xs)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-section-gap",value:"var(--space-10)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-section-title-gap",value:"var(--space-3)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-body-line-height",value:"1.8",description:"Long-form leading \u2014 legal prose reads looser than UI text."},{name:"--legal-document-scroll-offset",value:"var(--space-6)",description:"`scroll-margin-block-start` on every section: the offset a hash jump / anchor * activation leaves above the heading so it is not hidden under sticky chrome."},{name:"--legal-document-footer-gap",value:"var(--space-4)",description:"`scroll-margin-block-start` on every section: the offset a hash jump / anchor * activation leaves above the heading so it is not hidden under sticky chrome."},{name:"--legal-document-toc-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-header-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-footer-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-meta-foreground",value:"initial",description:"\u2500\u2500 Role-mirror knobs \u2014 `initial` here, role default at the call site \u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-summary-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-active-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-active-background",value:"initial",description:"default = hsl(var(--foreground))"},{name:"--legal-document-toc-marker-color",value:"initial",description:"default = hsl(var(--accent))"},{name:"--list-row-padding-y",value:"var(--space-3)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-padding-x",value:"var(--space-4)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-gap",value:"var(--space-3)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-border",value:"initial",description:"Row divider \u2014 `initial` so the --border default re-resolves at the call site under a scoped * theme (a :root binding to a role var freezes at :root). Default = 1px solid hsl(var(--border))."},{name:"--list-row-body-min-width",value:"12rem",description:"Inline size the content column keeps before the trailing actions wrap onto their own line * (#45 \u2014 a service retunes the stack threshold to its grid). Clamped with min(\u2026, 100%) at the * call site, so a container narrower than the knob can never force page-root overflow (#224)."},{name:"--list-row-trailing-gap",value:"var(--space-2)",description:"Gap BETWEEN trailing actions \u2014 they also wrap among themselves at narrow widths (#224)."},{name:"--list-row-compact-padding-y",value:"initial",description:'\u2500\u2500 Compact inline-actions geometry (`density="compact"`, #246) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The canonical invitation / history row: a 36px leading avatar, a shrinkable title + * description body and one or two small trailing Buttons, all on ONE line inside the canonical * 358px card (326px content after the row\'s own inline inset) at a 390px viewport. These knobs * only LOWER the geometry \u2014 the #224 wrap contract (row + trailing cluster wrap, body clamped * with min(\u2026, 100%)) is untouched, so a cluster that genuinely cannot fit still wraps instead of * widening the page root. * Declared `initial` so the spacing defaults re-resolve at the CALL SITE \u2014 --space-2 is * density-scaled and re-declared inside a `.ui-density-*` subtree, so a :root binding would * freeze compact rows at the :root density (docs/TOKENS.md \u2014 the :root freeze rule). * Defaults = var(--space-2) block padding \xB7 var(--list-row-padding-x) inline padding \xB7 * var(--space-2) gap.'},{name:"--list-row-compact-padding-x",value:"initial",description:"Inline inset defaults to the default row axis so compact and default rows in the same Card keep * one optical axis; a service retunes it to its own grid (#45)."},{name:"--list-row-compact-gap",value:"initial",description:"Inline inset defaults to the default row axis so compact and default rows in the same Card keep * one optical axis; a service retunes it to its own grid (#45)."},{name:"--list-row-compact-body-min-width",value:"6rem",description:"Compact body threshold \u2014 small enough that avatar + body + two compact Buttons fit the * canonical column (36 + 8 + 96 + 8 + 146 = 294 \u2264 326), and still a readable measure."},{name:"--list-row-read-background",value:"initial",description:"Read (default) row surface \u2014 `initial`, documented default = transparent, i.e. the Card * surface shows through untouched (#44 \u2014 chrome defaults to the quietest state)."},{name:"--list-row-unread-background",value:"initial",description:"Unread emphasis surface (`unread` rows) \u2014 `initial` so the --muted default re-resolves at the * call site under a scoped theme. Documented default = hsl(var(--muted)), the same quiet * emphasis role the table header uses; it keeps the xs muted description line at WCAG AA * (4.63:1 light / 5.47:1 dark), which hsl(var(--accent)) would not (4.23:1 light)."},{name:"--list-row-indicator-color",value:"initial",description:"Unread indicator dot fill \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme. Documented default = hsl(var(--primary))."},{name:"--list-row-indicator-size",value:"var(--space-2)",description:"Diameter of the read/unread indicator dot; the gutter is reserved on read rows too so the * titles of a mixed list stay on one optical axis."},{name:"--logo-radius",value:"var(--radius)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-xs",value:"1.25rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-sm",value:"1.5rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-md",value:"1.75rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-lg",value:"2.25rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-xs",value:"var(--font-size-2xs)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-sm",value:"var(--font-size-xs)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-md",value:"var(--font-size-sm)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-lg",value:"var(--font-size-base)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-success-background",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-success-foreground",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-godx-color",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-identity-foreground",value:"48 9% 9%",description:'Identity-fill INK \u2014 the ink `mark="glyph"` sets its (caller-supplied) TEXT in when it sits on * the --brand identity fill. This is deliberately NOT --brand-foreground. * * --brand-foreground is the identity artwork\'s KNOCKOUT colour, not an ink: it tracks * --background in both themes (light 60 33% 99% = --background; dark 48 9% 9% = --background) * because `<Logo mark="godx">` punches its inner bar as an evenodd HOLE and the email mark has to * paint that hole as a solid fill to match. Negative space only has to clear WCAG 2.2 SC 1.4.11 * (3:1, non-text) \u2014 and at 3.67:1 on the emerald it does. * * The boxed glyph is a different thing: it renders real TEXT, so SC 1.4.3 applies at 4.5:1 (14px * bold is NOT "large text" \u2014 that needs 18.66px bold / 24px), and the knockout white measured * 3.67:1 \u2192 a genuine AA failure. This ink is 48 9% 9% (#191815), the same near-black spine the * DARK theme already inked the glyph with, so it is theme-INVARIANT: dark renders byte-identically * (6.89:1, unchanged) and light rises 3.67 \u2192 4.74:1. A service that re-themes --brand to a dark * fill overrides --logo-success-foreground (the public knob) to re-invert the ink. * * NOT a role-mirror knob: its default is a real value, not a role token, so there is no role to * freeze at :root and the `initial` + call-site rule (docs/TOKENS.md) does not apply to it.'},{name:"--logo-glyph-cap-baseline-optical-offset",value:"-0.01em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-cap-descender-optical-offset",value:"-0.09em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-x-baseline-optical-offset",value:"-0.11em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-x-descender-optical-offset",value:"-0.21em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-optical-offset",value:"initial",description:"The escape hatch, for a mark none of the four bands fits \u2014 a face with unusual metrics, or a * glyph the classifier cannot see (an inline `<svg>`, which is left unclassified on purpose). * Set once and it PINS every band to that value. * * Declared `initial` (guaranteed-invalid) so it is inert by default and the per-band default at * the CALL SITE wins \u2014 the same pattern as --logo-godx-size (docs/TOKENS.md). * Documented default: --logo-glyph-optical-offset = the --logo-glyph-*-optical-offset for the * band the glyph was classified into, or 0 when it was not classified."},{name:"--logo-glyph-fullwidth-width",value:"1",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-wide-width",value:"1.06",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-narrow-width",value:"0.81",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-space-width",value:"0.34",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-fit-max-width",value:"0.95",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-godx-size-xs",value:"1.5rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-sm",value:"1.75rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-md",value:"2rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-lg",value:"2.5rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size",value:"initial",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-wordmark-gap",value:"var(--space-2)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-xs",value:"var(--font-size-xs)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-sm",value:"var(--font-size-sm)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-md",value:"var(--font-size-base)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-lg",value:"var(--font-size-lg)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-weight",value:"700",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-letter-spacing",value:"-0.01em",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-family",value:"initial",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-color",value:"initial",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--pagination-gap",value:"var(--space-inline-sm)",description:"Navigation primitive tokens: pagination, filters, compact pickers."},{name:"--pagination-item-gap",value:"var(--space-inline-xs)",description:"Navigation primitive tokens: pagination, filters, compact pickers."},{name:"--pagination-size-width",value:"5.5rem",description:"Size-changer trigger MIN width (gh#286) - the trigger sizes to its content (w-max) so * localized labels (ja 100/\u30DA\u30FC\u30B8) never clip; this token only keeps short labels from * collapsing below the control rhythm."},{name:"--pagination-page-padding-x",value:"var(--space-1)",description:"Inline padding on a page button. The button keeps min-width: var(--control-height), so this * only takes effect once a number outgrows that box. Deliberately --space-1 rather than * --space-2: at the wider value a two-digit label (14.8px of text + 2 * 8px + 2px border) came * to 32.8px and pushed the common 1\u20132 digit buttons off square by 0.8px."},{name:"--pagination-total-font-size",value:"var(--font-size-sm)",description:"Inline padding on a page button. The button keeps min-width: var(--control-height), so this * only takes effect once a number outgrows that box. Deliberately --space-1 rather than * --space-2: at the wider value a two-digit label (14.8px of text + 2 * 8px + 2px border) came * to 32.8px and pushed the common 1\u20132 digit buttons off square by 0.8px."},{name:"--pagination-icon-size",value:"var(--control-icon-size)",description:'Chevron glyph inside the `simple` form\'s Prev/Next Buttons (#319). Those are size="sm" * Buttons, so `.ui-button--sm svg` would draw them at --control-icon-size-sm; the component * pinned them larger with a literal `size-4` class instead, because in simple mode the chevron * IS the control \u2014 there is no label beside it to carry the affordance. The knob keeps that * deliberate override themeable (rule #45) and tracks the default control-icon tier, so it now * follows density like every other control glyph instead of staying a flat 1rem.'},{name:"--pagination-control-height-sm",value:"var(--band-height-sm)",description:'Ant Design `size="small"`. Retuned as ONE local --control-height on the bar, so the page * buttons, the size-changer trigger and the quick-jumper field shrink together instead of each * carrying its own tier \u2014 exactly how a service would retune the whole footer.'},{name:"--pagination-jumper-gap",value:"var(--space-inline-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--pagination-jumper-width",value:"4rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--pagination-jumper-font-size",value:"var(--pagination-total-font-size)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-bar-gap",value:"var(--space-3)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-bar-padding-y",value:"var(--space-2)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-label-font-size",value:"var(--font-size-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-picker-width-sm",value:"11rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-picker-width-md",value:"14rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-gap",value:"var(--space-2)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-item-gap",value:"var(--space-1)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-font-size",value:"var(--font-size-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-separator-size",value:"var(--control-icon-size-sm)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-index-font-weight",value:"var(--font-weight-bold)",description:"Inline-step emphasis (gh#12). The step number's weight and tint are separate knobs so a * service can express progression the canonical way \u2014 an accent TINT at normal weight \u2014 instead * of the original bold. --steps-inline-index-color / --steps-inline-separator-color are * role-mirror knobs (docs/TOKENS.md): `initial` so their defaults (the inherited step colour and * the --muted-foreground role) resolve at the CALL SITE and a scoped [data-tenant]/.dark * override still reaches them. Defaults reproduce today's row byte for byte."},{name:"--steps-inline-index-color",value:"initial",description:"Inline-step emphasis (gh#12). The step number's weight and tint are separate knobs so a * service can express progression the canonical way \u2014 an accent TINT at normal weight \u2014 instead * of the original bold. --steps-inline-index-color / --steps-inline-separator-color are * role-mirror knobs (docs/TOKENS.md): `initial` so their defaults (the inherited step colour and * the --muted-foreground role) resolve at the CALL SITE and a scoped [data-tenant]/.dark * override still reaches them. Defaults reproduce today's row byte for byte."},{name:"--steps-inline-separator-color",value:"initial",description:"default = currentColor at the call site"},{name:"--app-setting-picker-compact-control-height",value:"var(--control-height-sm)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-padding-x",value:"var(--space-2)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-gap",value:"var(--space-1)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-font-size",value:"var(--font-size-xs)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--breadcrumb-font-size",value:"var(--font-size-xs)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--breadcrumb-menu-trigger-gap",value:"var(--space-inline-xs)",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--menubar-shortcut-font-size",value:"var(--font-size-xs)",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-list-max-inline-size",value:"100%",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-list-overflow",value:"auto",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-indicator-background",value:"initial",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-indicator-size",value:"2px",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-indicator-offset",value:"0px",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-root-gap",value:"0.5rem",description:"Gap between the tab strip and the panel below it."},{name:"--tabs-list-line-space-inset",value:"0px",description:"Inset of the `line` strip. The default/pill strip keeps its own padding box; the line strip is * a flat underlined rail, so its default is the quietest value \u2014 none (rule #44). Raise it to * give the rail breathing room above its hairline."},{name:"--tabs-list-focus-ring-space-inset",value:"initial",description:"BLOCK HEADROOM FOR THE FOCUS RING (gh#376). The horizontal strip is a scroll container * (`overflow-x: auto` + `overflow-y: hidden`), and a block-axis clip shaves whatever a trigger * paints outside its own box \u2014 measured in Chromium, the `line` strip gives its triggers 0px of * block headroom, so the entire focus ring was cut off top and bottom. The headroom has to come * from LAYOUT, not from relaxing the clip: `overflow-y: visible` beside `overflow-x: auto` * computes back to `auto` per spec (a second scroll container, not a ring), and Chromium honours * `overflow-clip-margin` only when BOTH axes are `clip`, so a single-axis clip silently drops it. * The strip therefore pads its block axis by the ring's outer reach and pulls the same amount * back with a negative block margin, so the ring paints INSIDE the scrollport while the strip * occupies exactly the space it did before. * * `initial` (the role-mirror rule in docs/TOKENS.md, not a :root binding) because the default is * derived from `--focus-ring-*`, which components and tenants DO re-scope; binding it at :root * would freeze the headroom while the ring it is sized from moved. Documented default = * `calc(var(--focus-ring-width) + var(--focus-ring-glow-width))` \u2014 the ring's outer reach, read * at the call site so the two can never disagree."},{name:"--tabs-trigger-line-radius",value:"0px",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-line-padding-x",value:"1rem",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-line-padding-y",value:"0.5rem",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-height-sm",value:"var(--band-height-sm)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-height-md",value:"var(--band-height-md)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-height-lg",value:"var(--band-height-lg)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-sm",value:"var(--font-size-xs)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-md",value:"var(--font-size-base)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-lg",value:"var(--font-size-lg)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-sm",value:"var(--space-2)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-md",value:"var(--space-3)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-lg",value:"var(--space-4)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-card-list-radius",value:"0px",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-list-space-inset",value:"0px",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-list-space-gap",value:"var(--space-1)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-radius",value:"var(--radius-md)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-rail-border-width",value:"var(--stroke-hairline)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-background",value:"initial",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-bar-gap",value:"var(--space-2)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-extra-gap",value:"var(--space-2)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-size",value:"var(--band-height-md)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-radius",value:"var(--radius-md)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-icon-size",value:"var(--control-icon-size)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-trigger-icon-size",value:"var(--control-icon-size)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-size",value:"var(--band-height-xs)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-radius",value:"var(--radius-sm)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-icon-size",value:"var(--icon-size-xs)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-space-inline-end",value:"var(--space-1)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--menubar-item-hover-background",value:"initial",description:"Menu item hover/highlight tint \u2014 `initial` so the --accent default re-resolves at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--accent-foreground)) text."},{name:"--menubar-item-hover-foreground",value:"initial",description:"Menu item hover/highlight tint \u2014 `initial` so the --accent default re-resolves at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--accent-foreground)) text."},{name:"--filter-bar-sticky-offset",value:"0px",description:"Sticky offset for the pinned filter strip (Toolbar `sticky`, #197). Default 0 (chrome, * rule #44); raise it so the strip parks below a fixed topbar."},{name:"--filter-bar-sticky-background",value:"initial",description:"Fill painted only when the filter strip is pinned. Role-mirror knob (rule #45): `initial` * so --background re-resolves at the call site under a scoped [data-tenant]/.dark theme."},{name:"--filter-bar-scroll-padding-y",value:"var(--space-1)",description:'Scrollbar gutter reserved under a `overflow="scroll"` filter strip (#216) so the inline * scrollbar never overlaps the controls. Rule #45 \u2014 a service theme retunes it to its grid * (0 on an overlay-scrollbar platform).'},{name:"--filter-bar-search-width",value:"20rem",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-filter-width",value:"var(--filter-picker-width-md)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-chip-gap",value:"var(--space-2)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-section-gap",value:"var(--space-2)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--menu-item-height",value:"var(--band-height-md)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-radius",value:"var(--radius-sm)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-space-inline",value:"var(--space-2)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-space-gap",value:"var(--space-2)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-font-size",value:"var(--font-size-base)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-inset-space-inline-start",value:"var(--space-8)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-indicator-size",value:"0.875rem",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-indicator-inset-inline-start",value:"var(--space-2)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-icon-size",value:"var(--icon-size-md)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-content-space-inset",value:"var(--space-1)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-content-min-width",value:"10rem",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--dropdown-content-min-width",value:"8rem",description:"DropdownMenu is anchored to a small trigger, so it opens narrower than a context menu."},{name:"--menu-content-width-sm",value:"12rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--menu-content-width-md",value:"16rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--menu-content-width-lg",value:"20rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--dropdown-arrow-width",value:"var(--space-3)",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--dropdown-arrow-height",value:"var(--space-inline-xs)",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--dropdown-arrow-background",value:"initial",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--menu-separator-space-block",value:"var(--space-1)",description:"default = var(--popover) at the call site"},{name:"--menu-separator-space-inline",value:"calc(var(--space-1) * -1)",description:"default = var(--popover) at the call site"},{name:"--navigation-menu-trigger-icon-size",value:"var(--icon-size-sm)",description:"NAVIGATION MENU \u2014 the disclosure chevron on a top-level trigger. It was a bare `0.9rem` in * navigation-layout.css: no token, so unreachable from an app (gh#326), and 14.4px, so off the * icon scale AND off the pixel grid. A stroked chevron drawn into a 14.4px box lands its path * on half pixels at 1x, which is a rendering defect rather than a rounding preference, so this * SNAPS to the nearest step \u2014 --icon-size-sm, 14px, \u22120.4px. The nearest step upward is 16px * (+1.6px) and would also fight the `opacity: 0.7` that makes this chevron deliberately quiet. * `sm` rather than `md` is the same call the other quiet chevrons in the system already made * (--month-picker-separator-icon-size, --steps-inline-separator-size). NOT * --scaling-multiplied: the literal it replaces did not track density."},{name:"--steps-dot-size",value:"0.625rem",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-dot-process-ring-width",value:"var(--stroke-xl)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-border-width",value:"var(--stroke-md)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-font-size",value:"var(--font-size-sm)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-icon-size",value:"var(--icon-size-md)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-wait-icon-size",value:"var(--icon-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-title-font-size",value:"var(--font-size-sm)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-title-font-size-compact",value:"var(--font-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-subtitle-font-size",value:"var(--font-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-vertical-space-gap",value:"var(--space-3)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-vertical-space-block-end",value:"var(--space-8)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-vertical-text-space-block-start",value:"var(--space-1)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-horizontal-text-space-block-start",value:"var(--space-2)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-horizontal-text-space-inline",value:"var(--space-2)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-connector-inset",value:"1.25rem",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-connector-space-block-start",value:"var(--space-4)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-nav-space-gap",value:"var(--space-2)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-space-inline",value:"var(--space-4)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-space-block",value:"var(--space-3)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-radius",value:"var(--radius-md)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-separator-size",value:"var(--control-icon-size-sm)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-progress-ring-width",value:"var(--stroke-md)",description:"STEPS `percent` (Ant Design) \u2014 the determinate arc around the CURRENT marker. It is a ring * drawn in a padding box AROUND the existing marker, so no status face changes geometry. * `--steps-progress-track-color` is a role-mirror knob (docs/TOKENS.md): `initial`, so the * --muted default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme."},{name:"--steps-progress-track-color",value:"initial",description:"STEPS `percent` (Ant Design) \u2014 the determinate arc around the CURRENT marker. It is a ring * drawn in a padding box AROUND the existing marker, so no status face changes geometry. * `--steps-progress-track-color` is a role-mirror knob (docs/TOKENS.md): `initial`, so the * --muted default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme."},{name:"--app-setting-picker-locale-width",value:"10rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-timezone-width",value:"14rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-date-format-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-time-format-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-theme-width",value:"9rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-brand-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-density-width",value:"10rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-font-size-width",value:"9rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-width-breakpoint",value:"40rem",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-bar-border-width",value:"0",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-bar-shadow",value:"none",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-icon-size",value:"var(--icon-size-md)",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-icon-rest-alpha",value:"0.7",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--scroll-area-anchor-offset",value:"3rem",description:'How close to the bottom edge the reader still counts as "following the stream" for * `<ScrollArea anchor="bottom">`. Inside this band new content keeps the viewport pinned to the * newest item; one pixel beyond it the reader is reading history and anchoring NEVER moves them * again until they come back (WCAG 3.2.5 \u2014 no change of context on request of the machine). * * It is a rule #45 knob because the right distance is a function of the row height a service * renders: one line of a dense audit log is ~20px, a chat bubble with an avatar is ~64px, and * "one row from the bottom" is what the reader actually means. Expressed in rem on purpose \u2014 it * then tracks the user\'s font size, so the band is still one row at 200% zoom (WCAG 1.4.4) * instead of collapsing to a third of a row. The `anchorOffset` prop overrides it per instance; * px/rem/em are all accepted.'},{name:"--segmented-track-padding",value:"calc(var(--space-1) / 2)",description:"track padding = the bold line width = 2px. Half the base spacing step rather than a raw length, * so it rides `--scaling` with everything else."},{name:"--segmented-track-background",value:"var(--muted)",description:"track background \u2014 the recessed ground a control group sits in."},{name:"--segmented-track-radius",value:"var(--radius)",description:"track radius = the base radius; item radius = one step DOWN the radius scale, not * `radius \u2212 trackPadding` (the two coincide only because the source scale happens to step by 2). * This scale is \u03C6-spaced, so \"one step down\" from --radius is --radius-md (6px \u2192 3.71px, against * the source's 6 \u2192 4); --radius-sm is two steps and reads visibly squarer. The same pair is * already what TabsList (`rounded-lg`) and TabsTrigger (`rounded-md`) use \u2014 this library's other * track-and-slab control."},{name:"--segmented-item-radius",value:"var(--radius-md)",description:"track radius = the base radius; item radius = one step DOWN the radius scale, not * `radius \u2212 trackPadding` (the two coincide only because the source scale happens to step by 2). * This scale is \u03C6-spaced, so \"one step down\" from --radius is --radius-md (6px \u2192 3.71px, against * the source's 6 \u2192 4); --radius-sm is two steps and reads visibly squarer. The same pair is * already what TabsList (`rounded-lg`) and TabsTrigger (`rounded-md`) use \u2014 this library's other * track-and-slab control."},{name:"--segmented-item-height",value:"calc(var(--control-height) - var(--segmented-track-padding) * 2)",description:"label height = control height \u2212 track padding \xD7 2. The track therefore measures exactly * --control-height, so a Segmented sits level with an Input and a Button on the same row."},{name:"--segmented-item-padding-inline",value:"calc(var(--control-padding-x) - 1px)",description:"item padding-inline = control padding-x \u2212 one border width."},{name:"--segmented-item-gap",value:"calc(var(--space-3) / 2)",description:"icon gap = the small margin step / 2."},{name:"--segmented-item-color",value:"var(--muted-foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-hover-color",value:"var(--foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-selected-color",value:"var(--foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-hover-background",value:"var(--accent)",description:"item hover fill = the lighter neutral \xB7 active fill = the heavier of the pair."},{name:"--segmented-item-active-background",value:"var(--secondary)",description:"item hover fill = the lighter neutral \xB7 active fill = the heavier of the pair."},{name:"--segmented-item-selected-background",value:"var(--background)",description:"selected fill = the elevated surface + a soft shadow \u2014 the selected slab reads as lifted * off the recessed track, which is the whole affordance."},{name:"--segmented-item-selected-shadow",value:"var(--shadow-sm)",description:"selected fill = the elevated surface + a soft shadow \u2014 the selected slab reads as lifted * off the recessed track, which is the whole affordance."},{name:"--separator-rule-size",value:"var(--stroke-hairline)",description:"Rule weight, both orientations and both halves of a labelled rule."},{name:"--separator-rule-color",value:"initial",description:"Rule colour. Role-mirror knob \u2192 declared `initial` so the --border default re-resolves at the * CALL SITE under a scoped [data-tenant] / .dark theme (docs/TOKENS.md \u2014 the :root freeze rule). * Documented default = hsl(var(--border))."},{name:"--separator-label-gap",value:"initial",description:"Gap between the label and each rule half. `initial` so the default re-resolves at the call * site: --space-* is density-scaled and re-declared inside a `.ui-density-*` subtree, so a * :root binding would freeze the gap at the :root density. Documented default = var(--space-3)."},{name:"--separator-label-inset",value:"initial",description:'Length of the SHORT rule half when labelAlign is `start` / `end` \u2014 the label\'s inset from the * inline edge (the Slack/Mattermost stream convention). It is a grid track on the INLINE axis, * so it flips with the writing direction under dir="rtl" with no extra rule. `initial` for the * same density reason as the gap. Documented default = var(--space-6).'},{name:"--separator-label-font-size",value:"var(--font-size-xs)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-line-height",value:"var(--line-height-normal)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-font-weight",value:"var(--font-weight-medium)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-color",value:"initial",description:"Label colour. Role-mirror \u2192 `initial`; documented default = hsl(var(--muted-foreground))."},{name:"--separator-tone-muted-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-muted-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-primary-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-primary-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-success-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-success-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-warning-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-warning-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-destructive-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-destructive-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-info-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-info-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--sheet-responsive-breakpoint-width",value:"48rem",description:'Viewport width at and below which `SheetContent responsive="auto"` renders the mobile bottom * sheet instead of the desktop side panel. Read at runtime by useSheetResponsiveMode() (a CSS * @media cannot resolve a custom property), so a service moves the drawer breakpoint from ONE * knob for every overlay that opts into the responsive contract \u2014 Sheet and OrgSwitcher alike. * 48rem = 768px mirrors the library\'s canonical mobile line (useIsMobile). Accepts px/rem/em.'},{name:"--sheet-bottom-max-height",value:"85dvh",description:'Block size cap for the responsive BOTTOM presentation only (never for a plain * `side="bottom"` sheet, which stays content-sized). Keeps the sheet below the viewport so the * SheetBody scrolls and the page behind it stays visible/dismissable.'},{name:"--responsive-grid-column-width",value:"20rem",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-section-label-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-product-tenant-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-badge-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-badge-background",value:"initial",description:'Sidebar nav count pill colours \u2014 the pill had a font-size knob and NO colour knob, so a rail * that needed to tell "unread" from "mentions you" had to nest a <Badge> inside `badge` and got * two pills, one inside the other. `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--secondary)) fill \xB7 hsl(var(--muted-foreground)) text.'},{name:"--sidebar-badge-foreground",value:"initial",description:'Sidebar nav count pill colours \u2014 the pill had a font-size knob and NO colour knob, so a rail * that needed to tell "unread" from "mentions you" had to nest a <Badge> inside `badge` and got * two pills, one inside the other. `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--secondary)) fill \xB7 hsl(var(--muted-foreground)) text.'},{name:"--sidebar-badge-destructive-background",value:"initial",description:'The EMPHASIS pair, read only by `SidebarItemProp.badgeTone="destructive"` (rule #44 \u2014 a * neutral row never resolves them). Defaults = hsl(var(--destructive)) fill \xB7 * hsl(var(--destructive-foreground)) text, the canonical AA-checked pair.'},{name:"--sidebar-badge-destructive-foreground",value:"initial",description:'The EMPHASIS pair, read only by `SidebarItemProp.badgeTone="destructive"` (rule #44 \u2014 a * neutral row never resolves them). Defaults = hsl(var(--destructive)) fill \xB7 * hsl(var(--destructive-foreground)) text, the canonical AA-checked pair.'},{name:"--sidebar-user-focus-ring-alpha",value:"1",description:'Focus-ring alpha on the tinted shell grounds. It was 0.45, to stop the ring reading as a * SELECTED item rather than a focused one \u2014 a real concern, but 0.45 composites to \u22481.90:1 * against the page, so it answered it by making the indicator non-compliant with WCAG 2.2 * SC 1.4.11 \u2014 colour IS the criterion for a focus indicator, so a translucent mark fails it * whatever its area. The mark is opaque and the quieting comes from the halo outside it * (`--focus-ring-glow-*`), which carries no criterion, and from the mark\'s light weight * (one `lineWidth`, inset into the row). "Focused" is kept distinct from "selected" by the * halo\'s shape, not by weakening the mark (styles/focus-ring.css).'},{name:"--topbar-chip-icon-size",value:"1.125rem",description:"Topbar glyphs. Three separate sizes, all previously baked as literals in shell-layout.css. * * --topbar-chip-icon-size is off the SCALE but on the pixel GRID, and those are different * findings. Read the rule it styles: `display: grid; place-items: center; font-weight: 700` \u2014 * it is a letter MEDALLION, not a glyph, so the half-pixel-stroke argument that made the * NavigationMenu chevron snap from 14.4px to 14px does not apply here. 18px is a whole pixel * sitting between --icon-size-md (16) and -lg (20); snapping it would be a visible 2px box * change bought for nothing. Declared, not silently tolerated. * scale-exempt: 18px letter medallion, a whole pixel between two icon steps, not a glyph"},{name:"--sidebar-product-caret-icon-size",value:"var(--icon-size-sm)",description:"Sidebar product-switcher caret \u2014 a real glyph, previously a bare 0.875rem."},{name:"--topbar-icon-size",value:"var(--icon-size-md)",description:"Sidebar product-switcher caret \u2014 a real glyph, previously a bare 0.875rem."},{name:"--topbar-caret-icon-size",value:"var(--icon-size-xs)",description:"The caret is the eighth literal-sized icon rule in this file. The ratchet missed it because * its selector says `caret` while the pattern looked for `icon|glyph` \u2014 the guard has been * taught the wider vocabulary."},{name:"--topbar-icon-focus-ring-alpha",value:"1",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-user-role-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--org-switcher-meta-foreground",value:"var(--muted-foreground)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-nav-sub-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-flyout-title-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--topbar-chip-icon-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--kbd-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-logo-mark-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-avatar-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-user-name-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-gradient",value:"none",description:"Brand-chrome gradient hooks \u2014 opt-in, invisible by default. A service paints * the sidebar/topbar surface by setting these to a gradient (no-op = none)."},{name:"--topbar-gradient",value:"none",description:"Brand-chrome gradient hooks \u2014 opt-in, invisible by default. A service paints * the sidebar/topbar surface by setting these to a gradient (no-op = none)."},{name:"--app-shell-bar-height",value:"var(--band-height-2xl)",description:"DXS application-shell geometry. These defaults mirror the checked-in * Admin/Console hi-fi source while remaining themeable by consumers."},{name:"--app-shell-bar-inset",value:"var(--space-page-x)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-bar-inset-compact",value:"var(--space-page-compact-x)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-bar-gap",value:"var(--space-3)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-sidebar-width",value:"16rem",description:'Docked navigation TRACK widths \u2014 the SINGLE most-retuned shell constant (rule #45). A service * that designs on a different grid sets `--app-shell-sidebar-width: 15.9375rem` (255px) once * instead of forking `.app-root`. * * THREE WIDTHS, THREE DIFFERENT QUESTIONS \u2014 and two of them used to share the word "rail": * * - `--app-shell-sidebar-width` the sidebar track, expanded. * - `--app-shell-sidebar-collapsed-width` the SAME track at `<AppShell sidebarCollapsed>`. * - `--app-shell-nav-rail-width` a SECOND, separate track that only exists when the * `navRail` slot is filled (the Slack/Teams shape). * * The middle one shipped as `--app-shell-rail-width` through 19.x, which read as "the width of * the rail" and therefore collided head-on with the real rail added in 20.0.0 \u2014 two tokens, both * 4rem, both spelled "rail", meaning entirely different things. Renamed with NO alias: an alias * would resolve to a plausible width in either reading and break silently, which is precisely the * failure class this package gates against everywhere else.'},{name:"--app-shell-sidebar-collapsed-width",value:"4rem",description:'Docked navigation TRACK widths \u2014 the SINGLE most-retuned shell constant (rule #45). A service * that designs on a different grid sets `--app-shell-sidebar-width: 15.9375rem` (255px) once * instead of forking `.app-root`. * * THREE WIDTHS, THREE DIFFERENT QUESTIONS \u2014 and two of them used to share the word "rail": * * - `--app-shell-sidebar-width` the sidebar track, expanded. * - `--app-shell-sidebar-collapsed-width` the SAME track at `<AppShell sidebarCollapsed>`. * - `--app-shell-nav-rail-width` a SECOND, separate track that only exists when the * `navRail` slot is filled (the Slack/Teams shape). * * The middle one shipped as `--app-shell-rail-width` through 19.x, which read as "the width of * the rail" and therefore collided head-on with the real rail added in 20.0.0 \u2014 two tokens, both * 4rem, both spelled "rail", meaning entirely different things. Renamed with NO alias: an alias * would resolve to a plausible width in either reading and break silently, which is precisely the * failure class this package gates against everywhere else.'},{name:"--app-shell-nav-rail-width",value:"3.5rem",description:"3.5rem, not the 4rem the collapsed sidebar uses. Two reasons, and both are why the default * moved: at 4rem the rail's 32px controls sat in 16px of air on each side and read as a wide * column rather than a rail; and a rail that happened to be exactly as wide as the collapsed * sidebar made the two adjacent nav tracks fuse into one 8rem block the moment the sidebar * collapsed. 3.5rem still clears the coarse-pointer 44px tap target. It is a token precisely so * a service that wants Slack's wider rail sets this one line \u2014 never a forked `.app-nav-rail`."},{name:"--app-shell-page-max-width",value:"80rem",description:"3.5rem, not the 4rem the collapsed sidebar uses. Two reasons, and both are why the default * moved: at 4rem the rail's 32px controls sat in 16px of air on each side and read as a wide * column rather than a rail; and a rail that happened to be exactly as wide as the collapsed * sidebar made the two adjacent nav tracks fuse into one 8rem block the moment the sidebar * collapsed. 3.5rem still clears the coarse-pointer 44px tap target. It is a token precisely so * a service that wants Slack's wider rail sets this one line \u2014 never a forked `.app-nav-rail`."},{name:"--app-shell-main-background",value:"initial",description:'Page ground behind `.app-main` (gh#399). Declared `initial` so the CALL SITE resolves the * default \u2014 `var(--app-shell-main-background, var(--surface-recessed))` \u2014 against the LIVE * theme: `--surface-recessed` is re-stated by the dark arm in tokens/semantic/layout.css, and a * `:root` binding here would freeze it at the light value for any SCOPED dark subtree * (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * It used to bind `hsl(var(--muted) / 0.4)` directly, which inverted the page/card elevation on * dark (the page composited 1.015:1 LIGHTER than the cards standing on it) \u2014 see the * --surface-recessed comment for the measurement. Light is byte-identical; dark now sits behind * the card at 1.089:1. A service that wants its own ground still sets this token. * Default = var(--surface-recessed).'},{name:"--app-shell-mobile-nav-width",value:"22.5rem",description:'Page ground behind `.app-main` (gh#399). Declared `initial` so the CALL SITE resolves the * default \u2014 `var(--app-shell-main-background, var(--surface-recessed))` \u2014 against the LIVE * theme: `--surface-recessed` is re-stated by the dark arm in tokens/semantic/layout.css, and a * `:root` binding here would freeze it at the light value for any SCOPED dark subtree * (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * It used to bind `hsl(var(--muted) / 0.4)` directly, which inverted the page/card elevation on * dark (the page composited 1.015:1 LIGHTER than the cards standing on it) \u2014 see the * --surface-recessed comment for the measurement. Light is byte-identical; dark now sits behind * the card at 1.089:1. A service that wants its own ground still sets this token. * Default = var(--surface-recessed).'},{name:"--app-shell-mobile-nav-background",value:"initial",description:"Mobile-drawer scrim \u2014 `initial` so the shared --overlay-background default re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding freezes at :root). Default = * var(--app-shell-mobile-nav-alpha) of the global scrim, i.e. rgb(0 0 0 / 0.2) out of the box."},{name:"--app-shell-mobile-nav-alpha",value:"40%",description:"Share of the global --overlay-background this drawer's scrim uses. A slide-in drawer washes the * page more lightly than a modal dialog; keeping it a RATIO means a service retints the whole * system with one --overlay-background and every overlay keeps its calibrated depth."},{name:"--app-shell-mobile-nav-inset",value:"var(--space-1)",description:"Inline inset of the mobile drawer's scrollable nav body. Near-zero by design: the drawer nav * (the <Sidebar> node by default) owns its own inset via --sidebar-nav-scroll-padding, so the * generic sheet chrome inset must NOT stack on top of it (gh#211). Set it to var(--space-6) for * a custom mobileNav node that wants the full sheet chrome inset."},{name:"--app-shell-mobile-nav-icon-size",value:"var(--icon-size-lg)",description:'Hamburger glyph in the drawer trigger. Bigger ON PURPOSE than the trigger Button\'s own * `size="sm"` icon step (--control-icon-size-sm, 0.875rem) \u2014 it is the ONLY navigation * affordance on a phone, so it reads at the 1.25rem step. A flat rem, not a density-scaled * alias: it must not move with the density axis, or the one tap target that opens navigation * shrinks on a compact page. Consumed as a `size-[var(...)]` utility so it outranks * `.ui-button--sm svg` (see the comment at the call site in app-shell.tsx).'},{name:"--service-role-panel-list-gap",value:"0.25rem",description:"ServiceRolePanel (gh#319). `.ui-service-role-panel` shipped as a bare hook \u2014 the class was on * the root but no rule existed anywhere, so the role rail's rhythm lived entirely as Tailwind * literals inside the component and no theme could reach it (#45). The panel is a thin * composition over MasterDetail, which still owns ALL the two-track geometry; these knobs cover * only the role LIST inside the master rail. * * Flat rems, not `--space-*`: the literals they replace read Tailwind's own `--spacing` grid, * which this package never remaps and which does not follow the density axis. Aliasing them * would start scaling the rail inside a `.ui-density-*` subtree \u2014 a visual change, not a * refactor."},{name:"--service-role-panel-row-gap",value:"0.25rem",description:"between role rows (was `gap-1`)"},{name:"--service-role-panel-item-title-gap",value:"0.375rem",description:"select button \u2194 delete button (was `gap-1`)"},{name:"--service-role-panel-item-padding-block",value:"0.5rem",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-brand-mark-size",value:"1.375rem",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-nav-item-height",value:"var(--band-height-md)",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-nav-item-font-size",value:"var(--font-size-xs)",description:"ON the type scale (gh#329). This was `0.8125rem` \u2014 13px, which is not a step: the golden scale * runs \u2026/ratio\xB2 \u2248 11.1 \xB7 /ratio \u2248 12.5 \xB7 base 14\u2026, so 13 sat BETWEEN two steps and every nav row * in the rail read off the system's type rhythm. It had no mechanical anchor either \u2014 unlike the * auth field label below, which is pinned to an artboard y-coordinate and keeps its literal with * a declared `scale-exempt` \u2014 only the checked-in hi-fi source's number. * * GEOMETRY MOVES, by 0.53px: 13px \u2192 --font-size-xs (\u224812.47px), the step the sub-row * (--sidebar-nav-sub-font-size) and the flyout title already take. Nothing reflows \u2014 the row is a * fixed 2rem with `align-items: center`, and 1.5 \xD7 12.47 = 18.7px sits inside it with the same * headroom 19.5px had. What is gained is that a service overriding --font-size-base now moves the * rail's labels with the rest of its type, instead of leaving one constant behind."},{name:"--sidebar-nav-item-line-height",value:"1.5",description:"Line box of the nav LABEL, not the row (gh#254): `.sb-label` clips, so its line box is its clip * box, and the row's `line-height: 1` shears descenders and Vietnamese tone marks. Keep >= 1.2."},{name:"--auth-account-summary-email-line-height",value:"1.5",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--topbar-start-truncate-line-height",value:"1.5",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-icon-size",value:"var(--icon-size-md)",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-gap",value:"0.625rem",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-padding-x",value:"0.625rem",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-gap",value:"2px",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-radius",value:"calc(var(--radius) - 1px)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-nav-scroll-padding",value:"var(--space-3) var(--space-2)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-gap",value:"var(--space-4)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-label-padding-x",value:"var(--space-2)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-label-padding-bottom",value:"var(--space-1)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--topbar-search-max-width",value:"none",description:"Default `none` (gh#296): the search trigger fills its whole `Topbar` center slot \u2014 flush to * whatever sits in `end` (a locale picker, notification bell, account menu) \u2014 rather than * floating as a fixed ~420px box with dead space on either side at normal desktop widths. A * consumer that wants a capped, centered search box (the previous look) sets this explicitly."},{name:"--topbar-height",value:"auto",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-inset",value:"0px",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-gap",value:"var(--space-2)",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-center-compact-display",value:"none",description:"\u26A0 THIS KNOB DELETES CONTENT AT 1100px AND BELOW \u2014 read before you ship a center slot. * At compact desktop/tablet widths the docked sidebar leaves too little inline room for three * intrinsically-sized clusters, so the package hides the optional center slot before it can * cover the breadcrumb/title or end utilities (gh#244). The default is `none`, which means a * global search trigger placed in `center` is INVISIBLE from 1100px down \u2014 including on every * phone \u2014 unless the consumer opts back in. That default arrived in 18.6.0 and removed the slot * for consumers who never changed a line of their own code (gh#12); it stays because the * overlap it prevents is a real defect and flipping a shipped default twice is worse than * documenting it once, but it is a DECISION, not an accident: * * :root { --topbar-center-compact-display: flex; } \u2190 restore the slot at every width * * Opt back in only once the center content has a compact presentation of its own (an icon-only * search trigger, a collapsing field). A page-local media query is the anti-pattern this knob * replaces."},{name:"--topbar-item-padding-inline",value:"var(--space-3)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-gap",value:"var(--space-2)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-min-width",value:"var(--control-height)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-radius",value:"var(--radius-sharp)",description:"Square by default: a cell that meets both bar edges has no corner to round. A service that * wants the softer read sets this to var(--radius)."},{name:"--topbar-item-color",value:"var(--muted-foreground)",description:"Square by default: a cell that meets both bar edges has no corner to round. A service that * wants the softer read sets this to var(--radius)."},{name:"--topbar-item-hover-background",value:"var(--accent)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-hover-color",value:"var(--accent-foreground)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-active-background",value:"var(--secondary)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-badge-offset-block",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-offset-inline",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-size",value:"1rem",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-padding-inline",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-font-size",value:"var(--font-size-2xs)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-background",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-foreground",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-destructive-background",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-destructive-foreground",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-focus-ring-offset",value:"calc(-1 * var(--focus-ring-width))",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-trigger-height",value:"var(--band-height-xl)",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-trigger-padding-x",value:"var(--space-2)",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-avatar-size",value:"var(--control-height-sm)",description:"1.75rem was the literal; --control-height-sm IS 1.75rem and is the tier this mark belongs to, * so a service that re-tiers its controls moves the mark with them instead of leaving it behind."},{name:"--org-switcher-sheet-inset",value:"var(--space-3)",description:"The compact-picker inset, shared by the sheet heading and the list \u2014 see .ui-org-switcher-sheet."},{name:"--org-switcher-list-inset",value:"var(--org-switcher-sheet-inset)",description:"Where a row's LABEL starts \u2014 the same on every surface, so it lines up with the heading."},{name:"--org-switcher-list-offset",value:"0px",description:"What the SURROUNDING SURFACE insets the list by, which a row cancels so its fill and its rule * reach both edges. Zero by default: the popover publishes --popover-space-inset: 0, so there is * nothing to cancel there, and cancelling anyway drags the row outside the panel and puts its * text on the border. The sheet, which does inset its body, overrides this."},{name:"--org-switcher-dialog-width",value:"26rem",description:"The dialog surface's measure. Wider than --org-switcher-menu-width because the whole reason to * reach for the dialog is that a row carries more than a name; narrower than the generic * --dialog-width-default because it is still a list of choices, not a form."},{name:"--org-switcher-search-space-block",value:"var(--space-3)",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-menu-width",value:"16rem",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-sheet-max-height",value:"75dvh",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-state-min-height",value:"8rem",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--app-launcher-panel-width",value:"20rem",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-panel-max-height",value:"26rem",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-panel-gap",value:"var(--space-3)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-sheet-max-height",value:"75dvh",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-grid-gap",value:"var(--space-1)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-gap",value:"var(--space-1)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-padding",value:"var(--space-2)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-min-height",value:"var(--control-height-comfortable)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-radius",value:"var(--radius)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-color",value:"var(--foreground)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-hover-background",value:"var(--accent)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-hover-color",value:"var(--accent-foreground)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-current-background",value:"initial",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-size",value:"2.5rem",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-radius",value:"var(--radius)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-background",value:"var(--secondary)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-foreground",value:"var(--secondary-foreground)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-font-size",value:"var(--font-size-sm)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-name-font-size",value:"var(--font-size-2xs)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-group-label-font-size",value:"var(--font-size-2xs)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-group-label-color",value:"var(--muted-foreground)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-state-min-height",value:"8rem",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--sidebar-item-active-color",value:"initial",description:"Sidebar active-item tint/marker \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override * never reaches it). A service re-tunes the active sub-item accent without forking CSS. * Defaults = hsl(var(--primary)) marker/tint."},{name:"--sidebar-item-active-tint",value:"initial",description:"Sidebar active-item tint/marker \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override * never reaches it). A service re-tunes the active sub-item accent without forking CSS. * Defaults = hsl(var(--primary)) marker/tint."},{name:"--sidebar-item-active-background",value:"initial",description:"Main nav-item active row \u2014 defaults mirror the hover state (accent bg, foreground text); a * service overrides these to brand the selected row (e.g. a gold tint + gold text on a navy * sidebar). `initial` so the defaults re-resolve under a scoped theme. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--foreground)) text."},{name:"--sidebar-item-active-foreground",value:"initial",description:"Main nav-item active row \u2014 defaults mirror the hover state (accent bg, foreground text); a * service overrides these to brand the selected row (e.g. a gold tint + gold text on a navy * sidebar). `initial` so the defaults re-resolve under a scoped theme. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--foreground)) text."},{name:"--auth-shell-control-height",value:"var(--control-height-comfortable)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-heading-size",value:"var(--font-size-2xl)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-card-max-width",value:"24rem",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-bar-padding",value:"var(--space-5) var(--space-6)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-main-padding",value:"var(--space-6)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-footer-padding",value:"var(--space-3) var(--space-6) var(--space-4)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-bar-gap",value:"var(--space-inline-sm)",description:"Gap between the items of the brand bar: brand to a wrapped `actions` row, and between the * page-level controls inside that row (locale \xB7 theme \xB7 help)."},{name:"--auth-shell-wide-card-max-width",value:"64rem",description:'Content-slot measure for `measure="wide"` \u2014 the SPLIT login (brand panel beside the auth card). * Same width as the widest CenteredShell tier, so a product\'s login and its signed-in pages read * at one page measure. Only `measure="wide"` reads it; the default 24rem card is untouched.'},{name:"--auth-shell-canonical-control-height",value:"var(--band-height-lg)",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-card-max-width",value:"22.5rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-heading-size",value:"var(--font-size-base)",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-main-padding",value:"1rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-main-padding-mobile",value:"0.9375rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-compact-card-inset",value:"var(--space-6)",description:"INLINE (start/end) inset of the compact auth card \u2014 the column the title, fields and actions * align to. Independent of the block axis below (gh#232)."},{name:"--auth-shell-card-padding-block-compact",value:"initial",description:"BLOCK (top/bottom) padding of the compact auth card \u2014 the knob that tunes canonical Login card * HEIGHT without narrowing the column. Bound to the card's --card-space-shell-y, so it really * reaches CardContent's block edges (before gh#232 it was wired only to --card-space-body-y and * the rendered body kept the inset on both block edges \u2014 the documented token did nothing). * Declared `initial` so the default mirrors the LIVE --auth-shell-compact-card-inset resolved at * the CALL SITE: the canonical card renders exactly as before (24px block = 24px inline), and a * service that re-tunes the inset inside a scoped `[data-tenant]` still drags the block default * with it (a :root binding would freeze at the :root inset \u2014 docs/TOKENS.md)."},{name:"--auth-shell-card-body-gap-compact",value:"var(--space-3)",description:"Header\u2194body gap inside the compact auth card (the breathing room under the title before the * first field). Its own knob since gh#232 \u2014 it used to ride on * --auth-shell-card-padding-block-compact, which conflated the section gap with the card's block * padding and made the block knob un-tunable. Default is the pre-gh#232 12px rhythm."},{name:"--auth-shell-card-gap-compact",value:"var(--space-3)",description:"IN-SLOT stack gap of the compact auth card (title \u2195 description inside the header)."},{name:"--auth-shell-main-align",value:"center",description:"Main-axis alignment of the auth column. Default `center` = today's vertically-centred card; * a flow whose intro + card + footnote stack is tall opts into `start` via this knob."},{name:"--auth-shell-card-stack-gap",value:"0px",description:"Gap between the direct sections of the auth column (intro \xB7 card \xB7 remember row). Default 0 * (quiet, rule #44) so an existing single-card consumer is untouched; presets opt in."},{name:"--auth-shell-login-card-max-width",value:"22.5rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-flow-offset-block",value:"14.4375rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-flow-offset-block-mobile",value:"13.8125rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-inline",value:"1rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-inline-mobile",value:"0.9375rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-block-end",value:"1rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-identity-slot-block-size",value:"7rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-card-stack-gap",value:"1.25rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-card-padding-block-compact",value:"var(--auth-shell-compact-card-inset)",description:"Canonical SCR-001 block inset is a FLAT 24px \u2014 the same measure as the inline inset. The card * draws its own 1px border and a border-box rect already contains it, so the former * `+ 2 x --control-border-width` double-counted the border and pushed the passkey CTA to y=390 * instead of the canonical y=388 (gh#263)."},{name:"--auth-shell-device-card-max-width",value:"23.75rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-main-padding",value:"1rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-main-padding-mobile",value:"0.9375rem 0.3125rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-otp-slot-inline-size",value:"1.71875rem",description:'CODE FIELD measure \u2014 the preset owns it (gh#12). A device grant is the one canonical flow whose * PRIMARY control is the code field, so leaving it on the generic square --otp-slot-size made the * preset own the page but not its own subject: two 4-slot `appearance="grouped"` boxes rendered * 146x38 (4 x the canonical 36px control tier + the 1px group border) against a 112x54 artboard. * These are the per-slot boxes that ADD UP to that artboard group: * inline 27.5px x 4 + 2 x 1px group border = 112px * block 52px + 2 x 1px group border = 54px * Literal artboard lengths, like every other preset measure here \u2014 they must not drift with * --scaling. A service that groups its code differently overrides --otp-slot-inline-size / * --otp-slot-block-size on its own field; the generic square knob is untouched everywhere else.'},{name:"--auth-shell-device-otp-slot-block-size",value:"3.25rem",description:'CODE FIELD measure \u2014 the preset owns it (gh#12). A device grant is the one canonical flow whose * PRIMARY control is the code field, so leaving it on the generic square --otp-slot-size made the * preset own the page but not its own subject: two 4-slot `appearance="grouped"` boxes rendered * 146x38 (4 x the canonical 36px control tier + the 1px group border) against a 112x54 artboard. * These are the per-slot boxes that ADD UP to that artboard group: * inline 27.5px x 4 + 2 x 1px group border = 112px * block 52px + 2 x 1px group border = 54px * Literal artboard lengths, like every other preset measure here \u2014 they must not drift with * --scaling. A service that groups its code differently overrides --otp-slot-inline-size / * --otp-slot-block-size on its own field; the generic square knob is untouched everywhere else.'},{name:"--auth-shell-context-card-max-width",value:"25rem",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-main-padding",value:"var(--space-6)",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-main-padding-mobile",value:"var(--space-6) 0",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-card-stack-gap",value:"1rem",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-recovery-card-max-width",value:"27rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-recovery-main-padding",value:"1rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-recovery-main-padding-mobile",value:"0.9375rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-registration-card-max-width",value:"22.5rem",description:"Registration preset (gh#256) \u2014 the canonical sign-up measure. Two things make it structurally * different from every preset above, and both are the reason it could not be expressed by * re-using `login`: * * 1. LONG-FORM SCROLLING. A registration card is the tallest surface in the hosted-identity set * (name \xB7 email \xB7 password \xB7 confirm \xB7 strength meter \xB7 consent \xB7 submit \xB7 provider row), and * a vertically CENTRED tall card clips its own top on a short viewport \u2014 the top overflows * above the scroll origin and becomes unreachable. So the column is start-aligned and the * block-start inset becomes ordinary page padding the user can scroll past. * 2. FOOTER CLEARANCE. The legal/consent footer must never be flush against the submit button * at the end of a long scroll, so the block-end inset is a knob of its own rather than * mirroring the block-start one. * * The 360px form measure and the 15px mobile inline gutter match the canonical Login flow exactly * (22.5rem card, x=15 at 390 \u21D2 width=360), so a user moving sign-in \u2192 sign-up on a phone never * sees the surface jump."},{name:"--auth-shell-registration-main-padding-block-start",value:"9.5rem",description:"Block-start offsets are DERIVED from the canonical SCR-002 artboard, not chosen: the card * anchors at y=284 (1440x900) and y=274 (390x844), and the column is * card y = padding-block-start + identity slot + stack gap * so 284 - 112 - 20 = 152px (9.5rem) and 274 - 112 - 20 = 142px (8.875rem). Like every canonical * screen in this family the page passes NO brand bar (the mark lives INSIDE the column as * AuthIdentity), so `main` starts at the viewport top and the offset is the whole anchor."},{name:"--auth-shell-registration-main-padding-block-start-mobile",value:"8.875rem",description:"Block-start offsets are DERIVED from the canonical SCR-002 artboard, not chosen: the card * anchors at y=284 (1440x900) and y=274 (390x844), and the column is * card y = padding-block-start + identity slot + stack gap * so 284 - 112 - 20 = 152px (9.5rem) and 274 - 112 - 20 = 142px (8.875rem). Like every canonical * screen in this family the page passes NO brand bar (the mark lives INSIDE the column as * AuthIdentity), so `main` starts at the viewport top and the offset is the whole anchor."},{name:"--auth-shell-registration-main-padding-inline",value:"1rem",description:"Block-start offsets are DERIVED from the canonical SCR-002 artboard, not chosen: the card * anchors at y=284 (1440x900) and y=274 (390x844), and the column is * card y = padding-block-start + identity slot + stack gap * so 284 - 112 - 20 = 152px (9.5rem) and 274 - 112 - 20 = 142px (8.875rem). Like every canonical * screen in this family the page passes NO brand bar (the mark lives INSIDE the column as * AuthIdentity), so `main` starts at the viewport top and the offset is the whole anchor."},{name:"--auth-shell-registration-main-padding-inline-mobile",value:"0.9375rem",description:"Block-start offsets are DERIVED from the canonical SCR-002 artboard, not chosen: the card * anchors at y=284 (1440x900) and y=274 (390x844), and the column is * card y = padding-block-start + identity slot + stack gap * so 284 - 112 - 20 = 152px (9.5rem) and 274 - 112 - 20 = 142px (8.875rem). Like every canonical * screen in this family the page passes NO brand bar (the mark lives INSIDE the column as * AuthIdentity), so `main` starts at the viewport top and the offset is the whole anchor."},{name:"--auth-shell-registration-main-padding-block-end",value:"3rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-main-padding-block-end-mobile",value:"2rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-card-stack-gap",value:"1.25rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-identity-slot-block-size",value:"7rem",description:"Fixed identity track, the same 112px `login` proved (gh#237). Without it the card anchor moves * with the title/requester line count, so the canonical y above would hold for exactly one copy * length and drift for every other. The slot absorbs absent / one-line / two-line identity * content instead."},{name:"--auth-shell-divider-gap",value:"0.625rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-font-size",value:"var(--font-size-2xs)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-line-height",value:"calc(19 / 11)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-rule-color",value:"var(--border)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-color",value:"var(--muted-foreground)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-identity-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-icon-size",value:"var(--icon-size-md)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-glyph-size",value:"var(--icon-size-2xs)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-min-height",value:"var(--control-height-comfortable)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-gap",value:"var(--space-2)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-padding",value:"var(--space-1) var(--space-2)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-identity-min-width",value:"12rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-avatar-size",value:"var(--control-height-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-avatar-glyph-size",value:"var(--control-icon-size-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-email-font-size",value:"var(--font-size-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-footer-content-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-footer-text-font-size",value:"var(--font-size-2xs)",description:"The same 11px \u2192 2xs snap as the divider label above (gh#329); this one carried no artboard * anchor at all, only the literal. GEOMETRY MOVES by 0.11px."},{name:"--auth-stack-gap",value:"var(--space-3)",description:"The same 11px \u2192 2xs snap as the divider label above (gh#329); this one carried no artboard * anchor at all, only the literal. GEOMETRY MOVES by 0.11px."},{name:"--auth-shell-field-label-gap",value:"var(--space-1)",description:"The same 11px \u2192 2xs snap as the divider label above (gh#329); this one carried no artboard * anchor at all, only the literal. GEOMETRY MOVES by 0.11px."},{name:"--auth-shell-field-label-font-size",value:"0.75rem",description:"scale-exempt: SCR-001 pins the email input at y=489; --font-size-xs (12.47px) drifts the 18px label box to 18.7px (gh#263)"},{name:"--auth-shell-field-label-line-height",value:"1.5",description:"scale-exempt: SCR-001 pins the email input at y=489; --font-size-xs (12.47px) drifts the 18px label box to 18.7px (gh#263)"},{name:"--centered-shell-bar-height",value:"var(--app-shell-bar-height)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-bar-padding-x",value:"var(--space-page-x)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-bar-padding-x-compact",value:"var(--space-page-compact-x)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-main-padding",value:"var(--space-6)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-main-padding-inline-compact",value:"var(--space-page-compact-x)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-footer-padding",value:"var(--space-3) var(--space-6) var(--space-4)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-footer-padding-inline-compact",value:"var(--space-page-compact-x)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-column-offset-block",value:"0",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-sm",value:"32rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-md",value:"46rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-lg",value:"64rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-landing-max-width",value:"67.5rem",description:'CenteredShell \xB7 public-landing preset (gh#252) \u2014 the token-owned geometry of a PUBLIC marketing * / product landing page: one content measure shared by header, main column and footer, the * section rhythm between page sections, the flat (chrome-quiet) card presentation and the hero * heading tier. Every value is a service-themeable knob (rule #45): a landing composition is a * COMPOSITION of real primitives (docs/COMPOSITION-VS-COMPONENT.md \u2014 Hero/Navbar/Footer FAIL the * Framework-Component Test), so the consumer must never own geometry or a media query. These * knobs are read ONLY under `.ui-centered-shell[data-preset="public-landing"]`, so the default * shell \u2014 which emits no `data-preset` at all \u2014 is byte-identical to before.'},{name:"--centered-shell-landing-inset-inline",value:"var(--space-6)",description:"1080px \u2014 header/main/footer share ONE measure"},{name:"--centered-shell-landing-inset-inline-compact",value:"var(--space-4)",description:"24px page gutter \u2265 40rem"},{name:"--centered-shell-landing-main-padding-block",value:"var(--space-10)",description:"16px page gutter < 40rem"},{name:"--centered-shell-landing-main-padding-block-compact",value:"var(--space-6)",description:"40px"},{name:"--centered-shell-landing-section-gap",value:"var(--space-10)",description:"24px"},{name:"--centered-shell-landing-section-gap-compact",value:"var(--space-6)",description:"rhythm BETWEEN page sections"},{name:"--centered-shell-landing-footer-padding-block",value:"var(--space-8)",description:"rhythm BETWEEN page sections"},{name:"--centered-shell-landing-card-shadow",value:"none",description:"Chrome is a token, default quiet (rule #44): a landing surface is FLAT \u2014 no card elevation \u2014 * so a service opts back IN with `--centered-shell-landing-card-shadow: var(--card-shadow)`."},{name:"--centered-shell-landing-heading-size",value:"var(--font-size-display)",description:"Hero heading tier. The preset re-points `--heading-h1` (same mechanism as * `.ui-auth-shell` \u2192 `--auth-shell-heading-size`), so a hero title is a real `Heading level={1}` * and never a consumer font-size."},{name:"--centered-shell-landing-heading-size-compact",value:"var(--font-size-3xl)",description:"Hero heading tier. The preset re-points `--heading-h1` (same mechanism as * `.ui-auth-shell` \u2192 `--auth-shell-heading-size`), so a hero title is a real `Heading level={1}` * and never a consumer font-size."},{name:"--centered-shell-landing-background",value:"initial",description:'Role-mirror knob \u2014 MUST stay `initial`, with the role default at the CALL SITE * (`var(--centered-shell-landing-background, var(--background))`), so a scoped * `[data-tenant]` / `.dark` override of `--background` still reaches it (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented default = hsl(var(--background)) \u2014 a public * page is the plain page canvas, not the app\'s `--muted` chrome.'},{name:"--app-shell-bar-height",value:"var(--band-height-3xl)",description:"Rule #24 companion (gh#291): on coarse pointers --control-height grows to 2.75rem * (44px tap floor), and the shell bar sits flush with the viewport top \u2014 a 3rem bar * leaves the control's 3px focus ring painting ABOVE y=0, off-screen, which no * overflow setting can recover. 3.5rem gives 6px of breathing per side."},{name:"--mobile-shell-block-size",value:"100dvh",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-block-start",value:"env(safe-area-inset-top)",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-block-end",value:"env(safe-area-inset-bottom)",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-inline",value:"max(env(safe-area-inset-left), env(safe-area-inset-right))",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-inset-inline",value:"var(--space-4)",description:"Page gutter shared by every band AND by the scroll region, so the app-bar title, the list rows * and the sticky action bar sit on ONE content edge \u2014 the axis gh#330 had to repair for * CenteredShell after the bar and the column drifted 8px apart."},{name:"--mobile-shell-control-height",value:"var(--control-height-comfortable)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-region-gap",value:"var(--space-2)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-status-bar-height",value:"var(--band-height-lg)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-header-bar-height",value:"var(--band-height-3xl)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-tab-bar-height",value:"calc(var(--band-height-3xl) + var(--space-2))",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--mobile-shell-main-padding-block",value:"var(--space-4)",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--mobile-shell-actions-padding-block",value:"var(--space-3)",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--sidebar-nav-item-foreground",value:"initial",description:"Resting nav row + label (also the resting sub-row). Default = hsl(var(--muted-foreground))."},{name:"--sidebar-nav-item-hover-foreground",value:"initial",description:"Hovered nav row + label. Default = hsl(var(--foreground))."},{name:"--sidebar-nav-item-disabled-foreground",value:"initial",description:"`aria-disabled` nav row + label. Default = the resting row colour."},{name:"--sidebar-nav-icon-foreground",value:"initial",description:"Nav ICON (`.sb-icon`, incl. the collapsed rail and group triggers). Default = currentColor, * i.e. the row colour \u2014 the pre-gh#228 look. Set this alone to get canonical dark icons next to * muted labels."},{name:"--sidebar-nav-icon-hover-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--sidebar-nav-icon-active-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--sidebar-nav-icon-disabled-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--table-row-height-compact",value:"var(--band-height-sm)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height-default",value:"var(--band-height-md)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height-comfortable",value:"var(--band-height-xl)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height",value:"calc(var(--table-row-height-default) * var(--scaling))",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-padding-y",value:"var(--space-2)",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-space-x",value:"var(--control-padding-x)",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-indent-space-step",value:"var(--space-4)",description:"Hierarchy indent step for `<TableCell indent={depth}>` (gh#354). The cell's inset is * `--table-cell-space-x + depth \xD7 this step`, so level 0 sits exactly on the column's own text * axis and every further level is one step in. Owned here rather than as a magic expression in * JSX (the trap `--tree-select-depth-space-step` was pulled out of), so a denser service dials * the step down \u2014 or to `0` for a flat table \u2014 without touching a call site."},{name:"--table-border-color",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-pagination-padding-y",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-pagination-padding-x",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-surface-min-inline-size",value:"640px",description:'DataTable surface \u2014 narrow-viewport legibility FLOOR (gh#253). Below the `sm` viewport step a * multi-column admin grid whose columns are `white-space: nowrap` would otherwise be crushed, so * the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. * This shipped as a hard-coded `min-w-[640px]` utility on the surface element, which left a * service that wants a narrower (or no) floor with no route but forking the component (#45). * Default = the previous literal, in px so the floor releases at EXACTLY the same width as the * px-based `sm` media query that clears it (a rem value would drift under a non-16px root and * re-introduce the scroll between the two thresholds). Set `0` to opt out entirely \u2014 which is * what `preset="action-collection"` does, because there the priority measures own the width.'},{name:"--table-head-font-size",value:"var(--font-size-xs)",description:'DataTable surface \u2014 narrow-viewport legibility FLOOR (gh#253). Below the `sm` viewport step a * multi-column admin grid whose columns are `white-space: nowrap` would otherwise be crushed, so * the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. * This shipped as a hard-coded `min-w-[640px]` utility on the surface element, which left a * service that wants a narrower (or no) floor with no route but forking the component (#45). * Default = the previous literal, in px so the floor releases at EXACTLY the same width as the * px-based `sm` media query that clears it (a rem value would drift under a non-16px root and * re-introduce the scroll between the two thresholds). Set `0` to opt out entirely \u2014 which is * what `preset="action-collection"` does, because there the priority measures own the width.'},{name:"--table-head-font-weight",value:"var(--font-weight-medium)",description:"Header WEIGHT (gh#410). Was the literal `var(--font-weight-medium)` in table-layout.css, which * left a service that wants a quiet header row writing `font-normal` on every `<TableHead>` \u2014 18 * of them in the app that reported this. Default is byte-identical; a quiet header is now one * declaration (`--table-head-font-weight: var(--font-weight-normal)`)."},{name:"--table-header-background",value:"initial",description:"Header band \u2014 its OWN bg + fg knobs (decoupled from --secondary). Declared `initial` so the * default re-resolves to the LIVE --muted / --muted-foreground roles at the call site: a :root * binding to a role var freezes at the :root value and a scoped [data-tenant] role override never * reaches it. A brand sets both header tokens together to keep band/text contrast. * Defaults = hsl(var(--muted)) band \xB7 hsl(var(--muted-foreground)) text."},{name:"--table-header-foreground",value:"initial",description:"Header band \u2014 its OWN bg + fg knobs (decoupled from --secondary). Declared `initial` so the * default re-resolves to the LIVE --muted / --muted-foreground roles at the call site: a :root * binding to a role var freezes at the :root value and a scoped [data-tenant] role override never * reaches it. A brand sets both header tokens together to keep band/text contrast. * Defaults = hsl(var(--muted)) band \xB7 hsl(var(--muted-foreground)) text."},{name:"--table-pin-shadow",value:"-6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:"Inline-end shadow that lifts a pinned (sticky) action column off the body it scrolls over."},{name:"--table-fixed-shadow-start",value:"6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:'The same lift for a column frozen to the inline START (antd `fixed: "start"`), pointing the * other way. `box-shadow` has no logical offset, so the writing direction needs its own value \u2014 * the RTL companion is a token rather than a literal in the stylesheet so a service that retunes * one edge cannot leave the other behind.'},{name:"--table-fixed-shadow-start-rtl",value:"-6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:'The same lift for a column frozen to the inline START (antd `fixed: "start"`), pointing the * other way. `box-shadow` has no logical offset, so the writing direction needs its own value \u2014 * the RTL companion is a token rather than a literal in the stylesheet so a service that retunes * one edge cannot leave the other behind.'},{name:"--table-expand-column-width",value:"2.5rem",description:"Leading column that carries the expand affordance (antd `expandable`). Sized like the * selection column beside it so the two leading columns read as one gutter."},{name:"--table-summary-background",value:"initial",description:"Footer totals row (antd `summary`). `initial` so the --muted default re-resolves under a * scoped theme, exactly like the row-state washes above. * Default = hsl(var(--muted))."},{name:"--table-summary-border-width",value:"var(--stroke-hairline)",description:"Footer totals row (antd `summary`). `initial` so the --muted default re-resolves under a * scoped theme, exactly like the row-state washes above. * Default = hsl(var(--muted))."},{name:"--table-row-expanded-background",value:"initial",description:"Wash behind an expanded detail row, so the panel reads as belonging to the row above it. * Default = hsl(var(--muted) / 0.3), the same weight as the selected-row tint."},{name:"--table-selection-menu-gap",value:"var(--space-1)",description:"Gap between the header checkbox and the `selections` dropdown trigger beside it."},{name:"--table-row-striped-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-row-hover-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-row-selected-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-action-collection-primary-width",value:"18%",description:'Table \xB7 action-collection preset (gh#253) \u2014 the canonical dense approval / action queue. * Column PRIORITY measures replace the desktop intrinsic widths (a nowrap free-text column is * what makes a five-column queue wider than its card and forces a horizontal scroll). Nothing * here is read unless `preset="action-collection"` is set, so every existing table is untouched. * Percentages so the ratio holds at any card width; the action affordance is an absolute measure * because it must never be squeezed below its touch target.'},{name:"--table-action-collection-secondary-width",value:"22%",description:"requester / subject"},{name:"--table-action-collection-meta-width",value:"12%",description:"target / resource"},{name:"--table-action-collection-actions-width",value:"3.5rem",description:"timestamps, ids \u2014 lowest priority"},{name:"--table-action-collection-primary-width-compact",value:"24%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-secondary-width-compact",value:"22%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-meta-width-compact",value:"20%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-actions-width-compact",value:"2.75rem",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-primary-width-floor",value:"6rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-secondary-width-floor",value:"5.5rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-meta-width-floor",value:"5rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-flex-width-floor",value:"5rem",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-font-size-compact",value:"var(--font-size-xs)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-cell-space-x-compact",value:"var(--space-2)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-cell-padding-y-compact",value:"var(--space-2)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-row-height-compact",value:"var(--table-row-height-compact)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-min-inline-size-compact",value:"0",description:'Compact-tier LEGIBILITY FLOOR \u2014 the measure below which the preset stops fitting the table * to its container and lets the scroll region it already owns take over. * * The percentage budget above is sized for ONE column per priority tier plus one free-text * column. A queue that repeats a tier \u2014 two `secondary` columns, three `meta` columns, or an * unmarked column beside them \u2014 asks for more than 100%, and under `table-layout: fixed` the * surplus is taken out of the columns rather than out of the table: measured on a seven-column * Japanese admin queue at 390, every column landed at 44\u201359px and CJK labels wrapped at ONE to * TWO characters per line (dxs-platform/platform#680). That is a WCAG 2.2 SC 1.4.10 Reflow (AA) * failure, and it is the failure mode this floor removes. * * Scrolling is the correct escape, not a concession: SC 1.4.10 exempts "parts of the content * which require two-dimensional layout for usage or meaning", and its own note names data * tables as the example. A table that scrolls horizontally inside its card conforms; a table * whose cells are one character wide does not. * * Default `0` so nothing changes for any existing consumer: a queue that fits its priority * budget keeps fitting. A consumer whose queue carries more columns than the budget sets this * to the measure at which its narrowest column is still readable (roughly 5rem per column for * Japanese at the compact type tier) and the table scrolls instead of crushing.'},{name:"--table-stacked-collection-card-padding-y",value:"var(--space-stack-sm)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-card-padding-x",value:"var(--space-inline-md)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-card-gap",value:"var(--space-stack-sm)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-cell-padding-y",value:"var(--space-stack-xs)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-label-font-size",value:"var(--font-size-xs)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-select-column-width",value:"2.5rem",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-sort-icon-size",value:"var(--icon-size-xs)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-toolbar-icon-size",value:"var(--icon-size-md)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-pagination-icon-size",value:"var(--icon-size-md)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-pagination-font-size",value:"var(--font-size-sm)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-skeleton-check-size",value:"1rem",description:"Skeleton placeholders mimic the real content they stand in for: a checkbox square and a * text line at the row's cap height. Retune with --table-cell-padding-y to keep the loading * state the same height as the loaded one."},{name:"--table-skeleton-line-block-size",value:"1rem",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-skeleton-line-height",value:"var(--table-skeleton-line-block-size)",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-skeleton-radius",value:"var(--radius-sm)",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-font-size",value:"var(--font-size-sm)",description:"The table's own base type step (gh#319). Was a `text-sm` utility on the <table>; the theme * remaps `--text-sm` to `--font-size-sm`, so this default is byte-identical."},{name:"--table-line-height",value:"calc(1.25 / 0.875)",description:"MANDATORY companion to --table-font-size \u2014 the gh#260 trap, again. `text-sm` also set * line-height from Tailwind's `--text-sm--line-height`, and styles/base.css remaps `--text-sm` * but NOT that companion. Without this the table would silently inherit ambient page leading * the moment the font-size moved into CSS. Same unitless ratio Tailwind ships."},{name:"--table-row-border-width",value:"var(--stroke-hairline)",description:'Horizontal row rule (chrome, #44) \u2014 the divider between body rows AND under the header row. * Owned here rather than as TableRow\'s `border-b` utility so the "last row draws no rule" * rule in `@layer components` can actually zero it; a utility would outrank it by layer. * Colour is deliberately NOT set: it inherits the global `* { border-color: hsl(var(--border)) }` * so a scoped [data-tenant]/.dark override of --border still reaches every row.'},{name:"--table-flush-divider-width",value:"var(--table-row-border-width)",description:"Flush divider (chrome, #44/#45) \u2014 the ONE edge a full-bleed table keeps when it sits inside * `<CardContent flush>`: the line between a plain CardHeader and the first row. The other three * edges coincide with the card's own frame and are erased (gh#305); this one has nothing behind * it, so without it the header band floats (gh#306). Scoped by construction to the case that * needs it \u2014 a BANDED header, a CardBar or a headerless card already draw their own line there * and never reach this token \u2014 so a service tunes only the plain-header divider: `0` for a * borderless full-bleed table, heavier for a stronger band. Colour and style are NOT set here: * only the width is restored, so the surface's own border declaration still owns them and a * scoped [data-tenant]/.dark override of --border reaches it. * Default = the same hairline the table's other rules draw."},{name:"--text-link-underline-offset",value:"0.2em",description:"Distance from the text baseline to the underline. In `em` on purpose: the rule has to stay * proportional across the seven type steps, and a px value that reads right at `lg` crowds the * descenders at `2xs`."},{name:"--text-link-underline-width",value:"auto",description:"`auto` lets the face decide; a theme that wants a heavier rule names a length."},{name:"--toggle-count-min-width",value:"var(--space-4)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-space-inline",value:"var(--space-1)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-font-size",value:"var(--font-size-xs)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-radius",value:"var(--radius-pill)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-gap",value:"0",description:"Quiet default (#44) \u2014 the toggle's own flex gap already separates label from pill; this knob * ADDS to it for a service whose design grid wants the counter pushed further out."},{name:"--toggle-count-background",value:"initial",description:"\u2500\u2500 Counter pill \xB7 unpressed colours. Defaults = hsl(var(--muted)) fill (quiet: 1.09:1 against * the chip's own surface, so at rest the count reads as text, #44) and hsl(var(--foreground)) * text (14.25:1 on that fill). Opaque on purpose \u2014 a translucent fill would take its contrast * from whatever surface the chip currently has, and lose ~0.7 on hover."},{name:"--toggle-count-color",value:"initial",description:"\u2500\u2500 Counter pill \xB7 unpressed colours. Defaults = hsl(var(--muted)) fill (quiet: 1.09:1 against * the chip's own surface, so at rest the count reads as text, #44) and hsl(var(--foreground)) * text (14.25:1 on that fill). Opaque on purpose \u2014 a translucent fill would take its contrast * from whatever surface the chip currently has, and lose ~0.7 on hover."},{name:"--toggle-pressed-count-background",value:"initial",description:"\u2500\u2500 Counter pill \xB7 PRESSED colours. Defaults = hsl(var(--primary-foreground)) fill, * hsl(var(--primary)) text \u2014 the pressed chip's OWN pair, swapped. Not `--primary` on * `--primary`: the pressed chip is already filled with --primary, so a --primary pill would be * invisible on it. The swap also flips the pill from near-invisible to solid, which is one of * the encodings that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--toggle-pressed-count-color",value:"initial",description:"\u2500\u2500 Counter pill \xB7 PRESSED colours. Defaults = hsl(var(--primary-foreground)) fill, * hsl(var(--primary)) text \u2014 the pressed chip's OWN pair, swapped. Not `--primary` on * `--primary`: the pressed chip is already filled with --primary, so a --primary pill would be * invisible on it. The swap also flips the pill from near-invisible to solid, which is one of * the encodings that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--toggle-pressed-border-color",value:"initial",description:"\u2500\u2500 Pressed chrome. Default = hsl(var(--primary)), i.e. the pressed fill itself, so out of the * box this border is quiet (#44) and the pressed state is carried by the fill inversion + the * pill inversion + the forced-colors rule below. A service whose pressed fill is a PALE tint * (where those inversions get weak) opts into a visible outline by overriding this."},{name:"--toggle-count-forced-outline-width",value:"var(--stroke-hairline)",description:"Under forced-colors every fill is flattened to a system colour, so neither inversion encodes * anything any more. This outline is the state's structural fallback there \u2014 drawn on the * PRESSED pill only, and as `outline` (not `border`) so it costs no layout."},{name:"--upload-dropzone-space-inset",value:"var(--space-10)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-radius",value:"var(--radius-lg)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-border-width",value:"var(--stroke-md)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-icon-size",value:"var(--icon-size-3xl)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-hint-space-block-start",value:"var(--space-3)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-hint-font-size",value:"var(--font-size-sm)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-meta-space-block-start",value:"var(--space-1)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-meta-font-size",value:"var(--font-size-xs)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-tile-size",value:"6rem",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-radius",value:"var(--radius-md)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-space-gap",value:"var(--space-3)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-icon-size",value:"var(--icon-size-xl)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-label-space-block-start",value:"var(--space-1)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-label-font-size",value:"var(--font-size-xs)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-overlay-font-size",value:"var(--font-size-xs)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-overlay-background",value:"initial",description:"Busy scrim over a tile/frame \u2014 role-mirror knob, `initial` so --background re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme. Default = hsl(var(--background) / 0.7)."},{name:"--upload-overlay-alpha",value:"70%",description:"Busy scrim over a tile/frame \u2014 role-mirror knob, `initial` so --background re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme. Default = hsl(var(--background) / 0.7)."},{name:"--upload-remove-space-inset",value:"var(--space-1)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-remove-offset",value:"var(--space-1)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-remove-icon-size",value:"var(--icon-size-sm)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-picture-max-width",value:"20rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-radius",value:"var(--radius-md)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-preview-max-height",value:"12rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-height",value:"8rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-label-space-block-start",value:"var(--space-2)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-label-font-size",value:"var(--font-size-sm)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-overlay-font-size",value:"var(--font-size-sm)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-badge-radius",value:"var(--radius-md)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-offset",value:"var(--space-2)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-space-inline",value:"var(--space-2)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-space-block",value:"0.125rem",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-font-size",value:"var(--font-size-xs)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-avatar-size",value:"6rem",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-border-width",value:"var(--stroke-md)",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-change-space-block",value:"var(--space-1)",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-change-background",value:"rgb(0 0 0 / 0.7)",description:'The "change" strip sits ON the photo, so its scrim is intentionally a fixed dark wash rather * than a surface role \u2014 it must stay legible over an arbitrary user image in either theme.'},{name:"--upload-avatar-change-foreground",value:"#fff",description:'The "change" strip sits ON the photo, so its scrim is intentionally a fixed dark wash rather * than a surface role \u2014 it must stay legible over an arbitrary user image in either theme.'},{name:"--upload-avatar-pending-delete-alpha",value:"0.4",description:"Alpha of an image the user has marked for deletion but not yet committed."},{name:"--upload-draft-space-inline",value:"var(--space-3)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-space-block",value:"var(--space-2)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-space-gap",value:"var(--space-2)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-radius",value:"var(--radius-md)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-font-size",value:"var(--font-size-sm)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-icon-size",value:"var(--icon-size-sm)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-row-space-inline",value:"var(--space-3)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-space-block",value:"var(--space-2)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-space-gap",value:"var(--space-3)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-radius",value:"var(--radius-md)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-font-size",value:"var(--font-size-sm)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-icon-size",value:"var(--icon-size-md)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-crop-dialog-max-width",value:"24rem",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-preview-size",value:"12rem",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-preview-radius",value:"var(--radius-pill)",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-zoom-space-inline",value:"var(--space-2)",description:"Zoom row inset \u2014 the slider is inset from the dialog edge so its thumb's focus ring is never * flush against the dialog padding."}];var h={issue:"https://github.com/godx-jp/godxjp-ui/issues/163",standard:"docs/FRAME-COVERAGE-STANDARD.md",ledger:"preview/frame-coverage.ledger.json",recordedAt:"2026-07-30",warning:"UNTESTED means no executed case demonstrates this dimension. It is NOT a pass. Do not infer support from a happy-path example, a similarly-named frame, or a rendered screenshot.",verdicts:{covered:"An executed case proves this dimension.",untested:"No executed case. NOT a pass \u2014 report it as UNTESTED to the user.","not-applicable":"The dimension cannot exist for this export; the ledger carries the written reason."},requiredViewports:[320,375,390,768,1024,1280,1440,1920],containerWidths:[240,320,480,640,960],totals:{exports:297,dimensionCells:4158,covered:79,untested:2317,notApplicable:1762,exportsWithoutFrame:0},dimensions:[{id:"variants",title:"Variants",axis:"visual"},{id:"tones",title:"Tones",axis:"visual"},{id:"sizes",title:"Sizes",axis:"visual"},{id:"shapes",title:"Shapes",axis:"visual"},{id:"density",title:"Spacing / density",axis:"visual"},{id:"ownership",title:"Controlled / uncontrolled / reset",axis:"ownership"},{id:"states",title:"Disabled / read-only / loading / empty / error / success",axis:"state"},{id:"async",title:"Async: loading / reject / retry / cancel / offline",axis:"async"},{id:"responsive",title:"Responsive viewport matrix",axis:"responsive"},{id:"rtl",title:"RTL / direction",axis:"international"},{id:"contentStress",title:"Long / localized content stress",axis:"contentStress"},{id:"keyboard",title:"Keyboard / focus order / focus return",axis:"accessibility"},{id:"accessibleName",title:"Accessible name / description / error association",axis:"accessibility"},{id:"reducedMotion",title:"Preferences: reduced motion / forced colors / 200% zoom / coarse touch",axis:"preferences"}],knownGaps:[{id:"button-contract-gaps",targets:["Button"],dimensions:["states","contentStress","rtl","keyboard","reducedMotion"],cases:["implicit form `type` inside a form","loading combined with asChild","count / overflowCount / showZero overflow","long Japanese and Vietnamese labels","RTL","coarse touch target"]},{id:"card-contract-gaps",targets:["Card"],dimensions:["variants","density","rtl","accessibleName"],cases:["`variant` \xD7 `accent` \xD7 `size` matrix",'`density="tight"` spacing mode',"nested heading levels","RTL accent rail"]},{id:"card-subcomponent-contract-gaps",targets:["CardBar","CardContent","CardFooter","CardHeader"],dimensions:["rtl","accessibleName","contentStress"],cases:["CardBar `extra` slot","CardContent `tight` / `flush` / `solo`","CardFooter `flush` / `separated`","CardHeader `banded`","RTL"]},{id:"empty-state-contract-gaps",targets:["EmptyState"],dimensions:["variants","contentStress","accessibleName"],cases:["`section` variant","`compact` variant","without icon / description / action","heading level (`titleAs` / `titleLevel`) and live-region semantics"]},{id:"progress-contract-gaps",targets:["Progress"],dimensions:["tones","contentStress"],cases:["destructive tone","`over={true}` (value beyond 100%)"]},{id:"carousel-contract-gaps",targets:["Carousel"],dimensions:["ownership","contentStress","keyboard","reducedMotion","rtl"],cases:["single slide","plugins / setApi","autoplay pause","arrow-key traversal alongside tabs","touch / swipe","RTL"]},{id:"data-table-contract-gaps",targets:["DataTable"],dimensions:["states","async","keyboard","accessibleName","density"],cases:["error / prerequisite / background refresh","server and manual modes (manualPagination / manualSorting / manualFiltering)","zero-page and single-page pagination","accessible table and action-column labels","invalid row ids (getRowId)","keyboard behaviour","virtualization"]},{id:"charts-contract-gaps",targets:["LineChart","BarChart","AreaChart","PieChart"],dimensions:["async","reducedMotion","keyboard","contentStress","responsive","rtl"],cases:["loading / error","reduced motion","keyboard datum navigation","invalid / null / NaN data","mobile axis collision","RTL"]},{id:"locale-stress-gaps",targets:["Timeline","TreeList","PasswordStrength"],dimensions:["contentStress","accessibleName"],cases:["long localized Japanese / Vietnamese content","hard-coded screen-reader strings that never reach `t()`"]}]},z=[{name:"Accordion",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccordionContent",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"AccordionItem",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccordionTrigger",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccountChip",group:"layout",frame:"docs/layout/account-chip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Activity",group:"general",frame:"docs/general/activity.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes","tones","variants"],notApplicable:["density","ownership","shapes","states"]},{name:"Alert",group:"feedback",frame:"docs/feedback/alert.tsx",covered:["tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states"]},{name:"AlertActions",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertContent",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDescription",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialog",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"AlertDialogAction",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertDialogCancel",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertDialogContent",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogDescription",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogFooter",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogHeader",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"AlertDialogOverlay",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogPortal",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogRoot",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"AlertDialogTitle",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogTrigger",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertMutationFeedback",group:"query",frame:"docs/query/mutation-feedback.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AlertQueryError",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AlertTitle",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AppLauncher",group:"layout",frame:"docs/layout/app-launcher.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppSettingPicker",group:"navigation",frame:"docs/navigation/app-setting-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppSettingToggle",group:"navigation",frame:"docs/navigation/app-setting-toggle.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppShell",group:"layout",frame:"docs/layout/app-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AreaChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"AspectRatio",group:"layout",frame:"docs/layout/aspect-ratio.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthAccountSummary",group:"layout",frame:"docs/layout/auth-account-summary.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AuthDivider",group:"layout",frame:"docs/layout/auth-divider.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthFooter",group:"layout",frame:"docs/layout/auth-footer.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthIdentity",group:"layout",frame:"docs/layout/auth-identity.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthShell",group:"layout",frame:"docs/layout/auth-shell.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"AuthStack",group:"layout",frame:"docs/layout/auth-stack.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Avatar",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:["shapes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states","tones","variants"]},{name:"AvatarFallback",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AvatarImage",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Badge",group:"data-display",frame:"docs/data-display/badge.tsx",covered:["shapes","tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states"]},{name:"Banner",group:"feedback",frame:"docs/feedback/banner.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"BarChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"BranchScopePicker",group:"data-entry",frame:"docs/data-entry/branch-scope-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Breadcrumb",group:"layout",frame:"docs/navigation/breadcrumb.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Button",group:"general",frame:"docs/general/button/index.tsx",covered:["shapes","sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","tones"]},{name:"ButtonRefetch",group:"query",frame:"docs/query/button-refetch.tsx",covered:["shapes","sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","tones"]},{name:"Calendar",group:"data-entry",frame:"docs/data-entry/calendar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Card",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"CardAction",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardBar",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardContent",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardCover",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardDescription",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardFooter",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardHeader",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardTitle",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Carousel",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CarouselContent",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselDots",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselItem",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselNext",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CarouselPrevious",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Cascader",group:"data-entry",frame:"docs/data-entry/cascader.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"CenteredShell",group:"layout",frame:"docs/layout/centered-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Checkbox",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CheckboxGroup",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CodeBlock",group:"data-display",frame:"docs/data-display/code-block.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"Collapsible",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CollapsibleContent",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CollapsibleTrigger",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ColorPicker",group:"data-entry",frame:"docs/data-entry/color-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Command",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandEmpty",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CommandGroup",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandInput",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandItem",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CommandList",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CommandPalette",group:"data-entry",frame:"docs/data-entry/command-palette.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CompactBarTrend",group:"charts",frame:"docs/charts/compact-bar-trend.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"ContextMenu",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuCheckboxItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ContextMenuContent",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"ContextMenuLabel",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuPortal",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuRadioGroup",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuRadioItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ContextMenuSeparator",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuShortcut",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSub",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSubContent",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSubTrigger",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ContextMenuTrigger",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"CredentialReveal",group:"data-display",frame:"docs/data-display/credential-reveal.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"DataState",group:"query",frame:"docs/query/data-state.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"DataTable",group:"data-display",frame:"docs/data-display/data-table/index.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["shapes","sizes","tones","variants"]},{name:"DatePicker",group:"data-entry",frame:"docs/data-entry/date-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"DateRangePicker",group:"data-entry",frame:"docs/data-entry/date-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"Descriptions",group:"data-display",frame:"docs/data-display/descriptions.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Dialog",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DialogAction",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogBody",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogCancel",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogClose",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogContent",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogDescription",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogFooter",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogHeader",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"DialogOverlay",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogPortal",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogTitle",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogTrigger",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenu",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuCheckboxItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenuContent",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuGroup",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"DropdownMenuLabel",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuPortal",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuRadioGroup",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuRadioItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenuSeparator",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuShortcut",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSub",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSubContent",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSubTrigger",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"DropdownMenuTrigger",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"EmptyState",group:"data-display",frame:"docs/data-display/empty-state.tsx",covered:["tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states"]},{name:"ErrorSurface",group:"layout",frame:"docs/layout/error-surface/index.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"Field",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FilterBar",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"FilterBarGroup",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Flex",group:"layout",frame:"docs/layout/flex.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Form",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["ownership","shapes","sizes","tones","variants"]},{name:"FormErrors",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FormErrorsProvider",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FormField",group:"data-entry",frame:"docs/data-entry/form-field/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Heading",group:"general",frame:"docs/general/typography.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"HoverCard",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"HoverCardContent",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"HoverCardTrigger",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"InfiniteQueryState",group:"query",frame:"docs/query/infinite-query-state.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Input",group:"data-entry",frame:"docs/data-entry/input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"InputOTP",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"InputOTPGroup",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"InputOTPSeparator",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"InputOTPSlot",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Label",group:"data-entry",frame:"docs/data-entry/label.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"LegalDocumentShell",group:"layout",frame:"docs/layout/legal-document-shell/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Legend",group:"data-display",frame:"docs/data-display/legend.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"LineChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"ListRow",group:"data-display",frame:"docs/data-display/list-row.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones","variants"]},{name:"Logo",group:"general",frame:"docs/general/logo.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"MasterDetail",group:"layout",frame:"docs/layout/master-detail.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Menubar",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarCheckboxItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"MenubarContent",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"MenubarLabel",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarMenu",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarRadioGroup",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarRadioItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"MenubarSeparator",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarShortcut",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarSub",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarSubContent",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarSubTrigger",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"MenubarTrigger",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MobileShell",group:"layout",frame:"docs/layout/mobile-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MonthPicker",group:"data-entry",frame:"docs/data-entry/month-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"MonthRangePicker",group:"data-entry",frame:"docs/data-entry/month-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"NavigationMenu",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuContent",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuIndicator",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuItem",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuLink",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuList",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuTrigger",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuViewport",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavList",group:"layout",frame:"docs/layout/nav-list.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NumberInput",group:"data-entry",frame:"docs/data-entry/number-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"OrgSwitcher",group:"layout",frame:"docs/layout/org-switcher.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PageContainer",group:"layout",frame:"docs/layout/page-container.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"Pagination",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states"],notApplicable:["density","shapes","tones","variants"]},{name:"PaginationContent",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PaginationEllipsis",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PaginationItem",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PaginationLink",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PaginationNext",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PaginationPrevious",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PasswordInput",group:"data-entry",frame:"docs/data-entry/password-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"PasswordStrength",group:"data-entry",frame:"docs/data-entry/password-strength.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PermissionMatrix",group:"data-display",frame:"docs/data-display/permission-matrix.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"PieChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"Popover",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PopoverAnchor",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverContent",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverDescription",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverHeader",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverTitle",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverTrigger",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PrefetchLink",group:"query",frame:"docs/query/prefetch-link.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Progress",group:"data-display",frame:"docs/data-display/progress.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","variants"]},{name:"Prose",group:"data-display",frame:"docs/data-display/prose.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"QrCode",group:"data-display",frame:"docs/data-display/qr-code.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones","variants"]},{name:"Radio",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioGroup",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioGroupRoot",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioItem",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RangeTimeline",group:"data-display",frame:"docs/data-display/timeline.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Rating",group:"data-entry",frame:"docs/data-entry/rating.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ResizableHandle",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResizablePanel",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResizablePanelGroup",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResponsiveGrid",group:"layout",frame:"docs/layout/responsive-grid.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Reveal",group:"general",frame:"docs/general/reveal.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ScrollArea",group:"data-display",frame:"docs/data-display/scroll-area.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ScrollBar",group:"data-display",frame:"docs/data-display/scroll-area.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SearchInput",group:"data-entry",frame:"docs/data-entry/search-input.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"Segmented",group:"data-entry",frame:"docs/data-entry/segmented.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones","variants"]},{name:"Select",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SelectContent",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectGroup",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectItem",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SelectLabel",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectScrollDownButton",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectScrollUpButton",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectSeparator",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectTrigger",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states","variants"],notApplicable:["density","shapes","tones"]},{name:"SelectValue",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Separator",group:"layout",frame:"docs/layout/separator.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","tones"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"ServiceCatalogCta",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceLauncherCard",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceLauncherCardSkeleton",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceRolePanel",group:"layout",frame:"docs/layout/service-role-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Sheet",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SheetBody",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetClose",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SheetContent",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetDescription",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetFooter",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetHeader",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"SheetOverlay",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetPortal",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetTitle",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetTrigger",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Sidebar",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SidebarHeader",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SidebarItem",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SidebarSection",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Skeleton",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonDetail",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonRows",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonStat",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonTable",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Slider",group:"data-entry",frame:"docs/data-entry/slider.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SplitPane",group:"layout",frame:"docs/layout/split-pane.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"StatCard",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"StatusBadge",group:"data-display",frame:"docs/data-display/badge.tsx",covered:["shapes","tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states"]},{name:"Steps",group:"navigation",frame:"docs/navigation/steps.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones","variants"]},{name:"Switch",group:"data-entry",frame:"docs/data-entry/switch.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones","variants"]},{name:"Table",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableBody",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableCell",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableHead",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableHeader",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableRow",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Tabs",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones"]},{name:"TabsContent",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"TabsList",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones"]},{name:"TabsTrigger",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"TagInput",group:"data-entry",frame:"docs/data-entry/tag-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Text",group:"general",frame:"docs/general/typography.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"Textarea",group:"data-entry",frame:"docs/data-entry/textarea.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Timeline",group:"data-display",frame:"docs/data-display/timeline.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones"]},{name:"TimelineGrid",group:"data-display",frame:"docs/data-display/timeline-grid.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TimePicker",group:"data-entry",frame:"docs/data-entry/time-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"TimeRangePicker",group:"data-entry",frame:"docs/data-entry/time-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"Toaster",group:"feedback",frame:"docs/feedback/toast.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Toggle",group:"data-entry",frame:"docs/data-entry/toggle.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","tones"]},{name:"ToggleGroup",group:"data-entry",frame:"docs/data-entry/toggle-group.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"ToggleGroupItem",group:"data-entry",frame:"docs/data-entry/toggle-group.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Toolbar",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ToolbarGroup",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Tooltip",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"TooltipContent",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TooltipProvider",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TooltipTrigger",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Topbar",group:"layout",frame:"docs/layout/topbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TopbarItem",group:"layout",frame:"docs/layout/topbar-item.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Transfer",group:"data-entry",frame:"docs/data-entry/transfer.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"TreeList",group:"data-display",frame:"docs/data-display/tree-list.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TreeSelect",group:"data-entry",frame:"docs/data-entry/tree-select.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"TwoFactorSetup",group:"feedback",frame:"docs/feedback/two-factor-setup.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Upload",group:"data-entry",frame:"docs/data-entry/upload.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"VisuallyHidden",group:"general",frame:"docs/general/typography.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]}],de=new Map(z.map(t=>[t.name.toLowerCase(),t]));function L(t){return de.get(String(t??"").trim().toLowerCase())}var u=[{number:1,title:"Storybook is mandatory",body:"Every primitive / shell / composite has a paired story under `src/stories/<group>/<Name>.stories.tsx` covering every variant + state on light + dark."},{number:2,title:"Tokens, not utilities",body:"Visual values come from CSS custom properties in `src/tokens/` + `src/styles/theme.css`. Token-named Tailwind utilities (`bg-background`) are fine; raw value utilities (`bg-blue-500`) are forbidden."},{number:3,title:"Radix for interactive primitives",body:"Anything with keyboard / ARIA / portal wraps the relevant Radix primitive."},{number:4,title:"shadcn-style ownership",body:"Primitives are thin wrappers; consumers can fork the source in place."},{number:5,title:"One i18next singleton",body:"`initI18n()` in `src/i18n/index.ts` is THE instance; consumers extend via `addResourceBundle`."},{number:6,title:"WCAG 2.1 AA baseline",body:"Every interactive primitive passes axe-core (keyboard nav, ARIA, focus-visible, 4.5:1 contrast, `prefers-reduced-motion`). Stories double as a11y test surfaces."},{number:7,title:"SemVer 2.0 + Keep a Changelog 1.1",body:"Every release-worthy change updates `CHANGELOG.md` under `## Unreleased` in the same PR."},{number:8,title:"Inclusive naming",body:"`allowlist` / `denylist`, `main` / `primary` / `replica` / `secondary`, `they/them`. Never `whitelist` / `blacklist` / `master` / `slave`. Lint-enforced."},{number:9,title:"No marketing speak",body:'Banned: "powerful", "robust", "blazing fast", "best-in-class", "seamless", "enterprise-grade". State what it does.'},{number:10,title:"English is canonical for docs",body:"Localised docs at `docs/i18n/<bcp47>/`; front-matter tracks staleness."},{number:11,title:"Submodule discipline",body:"Never push a pin to a SHA not on the submodule remote."},{number:12,title:"Branch + PR workflow",body:"`feat/<scope>` / `fix/<scope>` \u2192 submodule `main`. CI green + squash-merge. No direct push to `main`. `--no-verify` forbidden."},{number:13,title:"TypeScript strict",body:"Explicit types on every export. `forwardRef` for components; `ComponentPropsWithoutRef` for extension. No `any`. No `@ts-ignore` without comment + issue link."},{number:14,title:"Every third-party library is shadcn / Radix-recommended",body:"Locked stack: Radix UI, cmdk, sonner, lucide-react, react-aria-components + `@internationalized/date`, i18next + react-i18next, class-variance-authority + clsx + tailwind-merge. New peer \u2192 ADR documenting why it's the canonical choice."},{number:15,title:"No `@apply` re-encoding tokens",body:"Inside a primitive `.tsx`, don't `@apply` a Tailwind utility that re-encodes a token \u2014 reference the canonical CSS class from `tokens.css` instead. Composite token-named utilities remain fine."},{number:16,title:"CSS source-of-truth is `src/tokens/` + `src/styles/theme.css`",body:"A primitive that needs a new color / spacing / radius adds it there FIRST, then references it."},{number:17,title:"`src/stories/` \u2194 `src/components/` parity",body:"Story set matches primitive set under each group. CI-checked via `scripts/check-stories-parity.mjs`."},{number:18,title:"`docs/reference/<group>/` \u2194 `src/components/<group>/` parity",body:"Every primitive has a reference page; every page maps to a primitive. CI-checked via `scripts/check-docs-parity.mjs`."},{number:19,title:"No service-specific anything",body:'`me-service`, `forge-service`, `admin-service` never appear in source / comments / prop names. Per-deployment brand color lives at `[data-accent="<palette>"]`.'},{number:20,title:'No "platform-only" exports',body:"Every primitive ships via `package.json::exports`. Internal-only helpers stay un-exported."},{number:21,title:"Every component honours every theme axis",body:"`data-theme` (light / dark), `data-accent` (6 palettes), `data-density` (compact / default / comfortable), `data-font-size` (sm / base / lg / xl). Read from tokens, never hardcode values."},{number:22,title:"100% match to the design canon",body:'Every visual literal comes from `design-handoff/ui-system/<latest-bundle>/`. Token-pin canon literals; never substitute "close enough". If the bundle doesn\'t cover a case \u2014 STOP, ask the user to mock it.'},{number:23,title:"Concept-first prop API",body:"One concept per prop. Reuse shared vocabulary (`size`, `variant`, `color`, `tone`, `accent`, `padding`, `density`, `orientation`, `placement`, `current`, `value` / `defaultValue` / `onValueChange`, `open` / `defaultOpen` / `onOpenChange`, `justify`, `sticky`, `offset`). Before adding a new prop or token: grep for an existing one."},{number:24,title:"Mobile-first",body:"Defaults target `xs` (\u22650px); progressive enhancement via `sm:` / `md:` / `lg:` / `xl:` / `2xl:`. Touch targets \u2265 44 \xD7 44 px (`--touch-target-min`, does NOT scale with density). Runtime viewport via `useBreakpoint`, never `window.innerWidth`. Stories render at narrow viewport first."},{number:25,title:"Stories are docs; UI is the primitive",body:"When a story looks wrong, fix the primitive / CSS / token. Never paper over with a story tweak. Story-only diff without a paired primitive / CSS / token diff is rejected."},{number:26,title:"Library isolation",body:"`dist/` ships only the consumer surface. Storybook, tests, scripts, design-handoff, `dev-probe/` stay out of npm. Every `dependencies` entry is `external` in `tsup`. Verification via `pnpm pack` + grep of `dist/`."},{number:27,title:"Per-group folder structure",body:"Primitives at `src/components/<group>/<Name>.tsx`; six canonical groups (general, layout, data-display, data-entry, feedback, navigation). Barrel = `src/components/primitives.ts` (single file). Stories + reference docs mirror the same group hierarchy."},{number:28,title:"`src/` folder taxonomy",body:"Three classes: consumer surface (matched by `tsup` entry + `package.json::exports`), Storybook-only (`src/stories/`), build-input-only (`cn.ts`, per-group sources consumed via the barrel). No `src/lib/`, `src/utils/`, `src/internal/`, `src/clients/`, `src/screens/`. Service clients live with the composite that uses them."},{number:29,title:"Stories consume framework primitives only",body:"No raw `<button>` / `<input>` / hand-rolled chips when a primitive exists. HTML semantics (`<section>`, `<article>`, \u2026) for structure are fine. Inline `style={{}}` limited to layout / positioning; no colour / radius / typography overrides."},{number:30,title:"Story `render` returns JSX directly",body:"No opaque `<XyzDemo />` wrapper components, no zero-arg `Demo` helpers. Use `render: function StoryName() { \u2026 }` so Storybook's source panel shows runnable JSX, not `<XyzDemo />`."},{number:31,title:"No nested wrapper / convenience primitives",body:"One Radix base = one framework primitive. `<SimpleX>` over `<X>` is forbidden; add a prop to `<X>` instead. Composites under `src/components/composites/` that combine multiple primitives are NOT wrappers."},{number:32,title:"No redundant props",body:"Before adding a prop / item field / variant, grep the existing surface; if a field already covers the concept, use it. Top-level prop that re-expresses an item field (Timeline `pending` \u2194 `items[i].animate`) is rejected."},{number:33,title:"Stories / source / docs name-synchronized",body:"No two names for the same export across the framework surface; no legacy aliases in stories / docs (source may keep an alias for a deprecation cycle, but the marketing surfaces use the canonical name only)."},{number:34,title:"Storybook source panel = real, copy-paste-ready code",body:'Storybook\'s react-docgen serializer strips every function value (`cell: ({row}) => <JSX/>`, `render: ({field}) => <Input/>`, `rowClassName`, `renderItem`, \u2026) to `() => {}`. Any story whose `render` passes a function-valued prop, references a module-level helper (`Badge`, `EMPLOYEE_COLUMNS`, etc.), or uses a render-prop pattern MUST override `parameters.docs.source.code` with the literal copy-paste-ready snippet \u2014 type aliases, helper functions spelled out, column definitions with cell JSX visible, inline data array. The `render()` callback stays as-is (module-level constants are fine for runtime performance); `source.code` is the marketing surface. Skip ONLY for stories whose JSX is purely static primitives Storybook can serialize verbatim (`<Button variant="primary">Click</Button>`).'},{number:35,title:"Status chips never wrap",body:"A `Badge` / `Badge` reads as one atomic unit. Its label must never break across lines \u2014 pin `white-space: nowrap` on the chip (done in `badge-layout.css`), especially inside narrow `DataTable` cells (\u30B9\u30B3\u30FC\u30D7 / \u30B9\u30C6\u30FC\u30BF\u30B9 columns). If a cell is too tight, widen the column or shorten the label; never let the chip wrap."},{number:36,title:"Badge tone/icon are the colour escape hatch",body:"For ANY other value \u2014 localized labels (\u516C\u958B\u4E2D, \u30A2\u30AF\u30C6\u30A3\u30D6) or categorical tiers (\u4F1A\u54E1\u30E9\u30F3\u30AF, \u5951\u7D04\u30D7\u30E9\u30F3) \u2014 pass `tone` explicitly (success | warning | destructive | info | neutral) and, for non-lifecycle tiers, `icon={null}` to drop the misleading glyph. Don't let domain labels fall back to neutral grey + \u25CB. Map domain\u2192tone in the CONSUMER layer; the framework only provides the props."},{number:37,title:"DataTable is full-width \u2014 never inside a narrow grid column",body:"A multi-column `DataTable` occupies its OWN row at the page's full width: `<Card><CardContent flush><DataTable \u2026/></CardContent></Card>`. Never nest it in a `lg:col-span-2` of a `ResponsiveGrid columns={3}` beside a chart \u2014 the columns get squeezed until CJK text collapses to one character per line. Charts / KPI cards go in their own row ABOVE the table. (See the `inertia-list-page` pattern.)"},{number:38,title:"FilterBar stays OUT of CardContent flush",body:"`CardContent flush` strips horizontal padding for edge-to-edge tables. A `FilterBar` placed inside it loses all padding and sticks to the card edge. Render `FilterBar` as a STANDALONE block above the table card; wrap ONLY the `DataTable` / `EmptyState` in the `Card` + `CardContent flush`. Order on a list page: KPIs \u2192 FilterBar \u2192 table card."},{number:39,title:"Long text columns get an explicit width",body:"For columns whose value can be long (name / title / segment / address), set `col.width` to a Tailwind width class (e.g. `w-64`, `w-48`) so the column reserves space instead of shrinking and wrapping to many lines; leave numeric / status columns auto. Table cells default to `white-space: nowrap`, so an over-tight table scrolls horizontally rather than crushing \u2014 give the important columns real widths so the default layout reads well before any scroll."},{number:40,title:"Pages are mobile-first",body:'Author and verify every page at 320\u2013390px FIRST. Page sections are spaced by `PageContainer` itself (`--page-body-gap` between its direct children). Inside a section spacing comes only from `Flex` `gap` (vertical rhythm = `Flex direction="col"`, control rows = the default `direction="row"`) + `ResponsiveGrid columns={2|3|4}` (which collapse to a single column on narrow screens) \u2014 never raw `p-*` / `gap-*` / `space-*` utilities for page layout (the static audit rejects them). Styles are loaded whole: `@godxjp/ui/styles` or `styles/core`, never a hand-picked set of layers.'},{number:41,title:"Drawer & dialog footer layout",body:'Sheet/Dialog/AlertDialog footers are a pinned action bar (the Drawer footer convention): the footer sticks to the bottom, SheetFooter draws a full-bleed top border, and actions are RIGHT-aligned with the PRIMARY button rightmost (Cancel/secondary to its left). A destructive / clear / reset action goes far-LEFT \u2014 give that button `className="mr-auto"`. NEVER stack footer buttons full-width or center them.'},{number:42,title:"Props & Tokens Before Customization",body:"Before reaching for a Tailwind class, inline `style`, or extra CSS, you MUST first check whether the component already supports the need via a PROP, a design TOKEN, or a layout/typography PRIMITIVE. godx-ui is meant to be enough on its own: `className` is for genuine one-offs only \u2014 never to redo what an API already does. Specifically: (1) NEVER hand-roll typography \u2014 no `text-[13px]`/`text-[11px]` arbitrary px (bypasses the golden type scale), no `font-medium`/`font-semibold`/`text-muted-foreground` on a raw `<span>`; use `<Text size tone weight tabular mono>` / `<Heading level>`. (2) NEVER hand-roll a trivial flex/grid wrapper; use `<Flex>` / `<ResponsiveGrid>` / `<PageContainer>`. (3) NEVER set a control's radius/height/colour with a utility when a `shape`/`size`/`tone`/token exists."},{number:43,title:"Every form control goes through FormField",body:"Consumers MUST wrap every labelled form control (Input, Select, DatePicker, DateRangePicker, NumberInput, Radio.Group, Checkbox groups, range pairs, ...) in FormField \u2014 it owns the label (aria-labelledby, never a dangling <label for>), auto-generates/injects the control id, and wires aria-describedby/aria-errormessage/aria-invalid. Bare controls are the rare exception (e.g. a toolbar quick-filter with its own aria-label) and must carry id/name + aria-label themselves. Never hand-roll a label+control stack with Text/Label."},{number:44,title:"Chrome is a token, default quiet",body:"Any decorative chrome a component draws \u2014 dividers, separator borders, and the padding that exists only to space that chrome \u2014 MUST read a token; never hard-code it in `src/styles/*.css` (a hard-coded `border-bottom: 1px solid hsl(var(--border))` leaves consumers no off-switch short of a variant fork). The DEFAULT is the quietest state (`none` / balanced rhythm); a service theme opts IN, e.g. `--page-header-divider: 1px solid hsl(var(--border))`."},{number:45,title:"Every service-tunable constant gets a knob",body:'When component CSS encodes a geometry choice that a service plausibly re-tunes to match its design handoff \u2014 form label column width, label\u2194control gap, header insets \u2014 it MUST be a documented component token (current value as the default). The theme sets it ONCE globally; props (`labelWidth`) override per instance; Form\u2192FormField priority stays intact. The test: "would a service theme.css want to change this to match its design grid?" If yes and the only route is forking CSS, that is a library gap \u2014 fix the library, don\'t patch the app.'},{number:46,title:"Typography is tokens, default is base",body:"The DEFAULT body size is `--font-size-base`; components render body/UI text at `base`, not at the `sm` alias. Smaller-by-design text (badge, section label, caption) is a component token defaulting to a small step (`--badge-font-size: var(--font-size-xs)`), so a service re-tunes that part without moving the global scale. The `sm`/`xs` tokens stay for the explicit `<Text size>` API. Every component token is surfaced in the MCP `get_component` output (check:mcp-token-sync)."},{number:47,title:"The layer contract \u2014 cascade layers, not specificity",body:'Every rule this package ships is inside a cascade layer, and layer order beats specificity outright. Two consequences. (1) INSIDE the package: `@layer components` is EARLIER than Tailwind\'s `utilities`, so a utility a component emits on its own element (`<table class="text-sm">`) silently outranks the component rule meant to own that property \u2014 no selector can win. A responsive re-point that must beat such a utility goes in `@layer godxjp-ui-responsive`, declared after Tailwind in `styles/base.css` and therefore LAST; it is reserved for `@container`/`@media` re-points, never static rules.'}];function C(t){return u.find(a=>a.number===t)}var b=[{name:"common-fixes",tagline:"Fix the most common @godxjp/ui consumer mistakes & visual bugs (StatCard double-border, grey Badge, crushed/empty table headers, washed-out sidebar footer, Inertia layout crash, SSR hydration). Before \u2192 after.",tags:["fixes","migration","bug","cardstat","statusbadge","datatable","sidebar","gotcha","review"],code:`// \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
2262
|
+
</ServiceRolePanel>`,docPath:"layout/service-role-panel.tsx",storyPath:"layout/ServiceRolePanel.stories.tsx",rules:[24,40]},{name:"ChatBubble",group:"data-display",tagline:"One message in a conversation: an author mark, a header naming the turn, the body, and a footer. Renders as an <article> inside ChatBubbleList's log; `loading` shows Skeleton and `typing` streams a string in, dropping the animation entirely under prefers-reduced-motion.",props:[{name:"children",type:"ReactNode",description:"The message. Pass a plain STRING to make `typing` animatable \u2014 a ReactNode has no character count to reveal, so it always renders whole."},{name:"placement",type:'"start" | "end"',defaultValue:'"start"',description:`Side of the conversation, on the LOGICAL inline axis: "start" is the other party, "end" is the reader's own message. It flips automatically under dir="rtl" \u2014 never branch on locale.`},{name:"variant",type:'"filled" | "borderless" | "outlined"',defaultValue:'"filled"',description:"Structural treatment of the body. Ant Design X's `shadow` is absent on purpose: this is a 1px-border system with no drop shadows. Status colour is `tone`, never `variant`."},{name:"avatar",type:"ReactNode",description:"The author's mark \u2014 a real <Avatar>, never a styled div. Mark it aria-hidden when `header` already names the author."},{name:"header",type:"ReactNode",description:"Line above the body naming the turn. When present it becomes the bubble's ACCESSIBLE NAME (aria-labelledby), so keep it text."},{name:"footer",type:"ReactNode",description:"Line below the body \u2014 a timestamp (format it with formatAppTime from @godxjp/ui/datetime), per-message actions, a token count."},{name:"loading",type:"boolean",defaultValue:"false",description:"The reply was requested and has not arrived: renders Skeleton bars (aria-hidden, they are decorative) plus a localized sr-only line, and sets aria-busy on the article."},{name:"typing",type:"boolean | { step?: number; interval?: number }",defaultValue:"false",description:"Stream the text in. `true` = 1 character every 50ms; the object form retunes it. While streaming the half-typed text is aria-hidden and the article is aria-busy, so the log announces the finished message ONCE. Under prefers-reduced-motion: reduce the full text renders immediately and no timer starts."},{name:"size",type:'"xs" | "sm" | "md" | "lg"',defaultValue:'"md"',description:'Type step and inner inset. Never "default".'},{name:"tone",type:'"default" | "info" | "success" | "warning" | "destructive"',defaultValue:'"default"',description:"Status intent for a message that is not ordinary conversation (a failed send, a rate-limit warning). Washes the role colour like Alert AND renders a localized sr-only tone word \u2014 never colour alone."},{name:"id",type:"string",description:"DOM id forwarded to the bubble's `<article>`. Supply one when something outside the bubble has to point at it (an `aria-describedby` from a retry button, a deep link to a single message); otherwise leave it off and let React generate the ids the header/label wiring needs."}],usage:["DO let ChatBubbleList own the feed. A lone ChatBubble is for a single quoted message; a conversation is `items` + `roles` on the list, which is where stick-to-bottom and the one aria-live region live.","DO pass a real <Avatar> to `avatar` and a plain string to `header`. The header is the accessible name of the bubble, so a decorative avatar next to it should be aria-hidden.","DO pass `typing` on the streaming message only, and only when its body is a string. Do not re-mount the bubble on every token \u2014 change `children` and let the component reveal it.","DO format timestamps for `footer` with formatAppTime / formatAppDate from @godxjp/ui/datetime (Intl.DateTimeFormat + the AppProvider timezone). Never hand-build a date string.","DO NOT put an aria-live region inside a bubble. The feed owns exactly one; one per bubble floods a screen reader on every token.","DO NOT reach for `variant` to signal an error \u2014 that is `tone`. `variant` is structural (filled/borderless/outlined) and has no status values.","DO NOT hand-roll the bubble as a rounded div with a background: placement, the RTL flip, the max measure and the tone wash are all tokens on this component (--chat-bubble-*)."],useCases:["An AI assistant panel \u2014 assistant turns on the start side, the operator's own prompts on the end side, with the in-flight reply streaming via `typing`.",`A support-inbox thread where an agent reads the customer's history: the same feed renders both parties and marks a failed send with tone="destructive".`,'A tool/agent transcript where a system note (tone="info", variant="outlined") sits between conversational turns.',"A quoted single message inside a Card \u2014 a reported message in a moderation screen, rendered as one ChatBubble with a footer carrying the report time."],related:["ChatBubbleList \u2014 the feed. Use it whenever there is more than one message: it owns stick-to-bottom, the jump-to-latest affordance and the single aria-live region.","ListRow \u2014 a single-line entity row for short lists (sessions, tokens). Use ListRow for records, ChatBubble for conversation turns.","Alert \u2014 a page-level status banner. A toned ChatBubble is a status INSIDE a conversation; an Alert is a status about the screen.","Prose \u2014 use it inside `children` when the assistant returns rendered Markdown; ChatBubble owns the container, Prose owns the typography of the body.","Skeleton \u2014 what `loading` renders. Do not compose it yourself around a bubble; the prop also sets aria-busy and the localized status line."],example:`import { Avatar, AvatarFallback, ChatBubble } from "@godxjp/ui/data-display";
|
|
2263
|
+
import { formatAppTime } from "@godxjp/ui/datetime";
|
|
2264
|
+
|
|
2265
|
+
<ChatBubble
|
|
2266
|
+
placement="start"
|
|
2267
|
+
variant="filled"
|
|
2268
|
+
avatar={<Avatar aria-hidden="true"><AvatarFallback>AI</AvatarFallback></Avatar>}
|
|
2269
|
+
header={t("chat.bubble.assistant")}
|
|
2270
|
+
footer={formatAppTime(message.sentAt)}
|
|
2271
|
+
typing={{ step: 2, interval: 24 }}
|
|
2272
|
+
>
|
|
2273
|
+
{message.text}
|
|
2274
|
+
</ChatBubble>
|
|
2275
|
+
|
|
2276
|
+
// The reply has been requested and has not arrived yet.
|
|
2277
|
+
<ChatBubble placement="start" header={t("chat.bubble.assistant")} loading />
|
|
2278
|
+
|
|
2279
|
+
// A failed send: colour AND a localized sr-only word, never colour alone.
|
|
2280
|
+
<ChatBubble placement="end" tone="destructive" header={t("chat.bubble.you")}>
|
|
2281
|
+
{draft}
|
|
2282
|
+
</ChatBubble>`,docPath:"data-display/chat-bubble.tsx",storyPath:"data-display/ChatBubble.stories.tsx",rules:[6,23,44,45]},{name:"ChatBubbleList",group:"data-display",tagline:'The message feed. It owns STICK-TO-BOTTOM (auto-scroll only while the reader is already at the bottom; the moment they scroll up the pin is revoked and a focusable jump-to-latest button appears), one aria-live="polite" role="log" region for the whole conversation, and per-role bubble defaults.',props:[{name:"items",type:"ChatMessageProp[]",required:!0,description:"`{ id, role?, content?, ...ChatBubbleProp }` in conversation order, oldest first. `id` is the React key AND the rendered <article>'s DOM id."},{name:"roles",type:"Record<string, Partial<ChatBubbleProp>>",description:'Per-role bubble defaults, merged UNDER each message\'s own props: `{ assistant: { placement: "start" }, user: { placement: "end", variant: "outlined" } }`. Written once instead of on every message.'},{name:"autoScroll",type:"boolean",defaultValue:"true",description:'Keep the newest message in view WHILE the reader is at the bottom. It is not "scroll to the bottom when content arrives": scrolling up revokes the pin until the reader asks for it back, because yanking them down mid-sentence is a change of context they did not request (WCAG 3.2.5).'},{name:"label",type:"string",description:'Accessible name of the feed; lands on aria-label. Defaults to the localized t("chat.list.label").'},{name:"id",type:"string",description:'DOM id forwarded to the feed\'s scroll container (`role="log"`). Supply one when a control outside the feed must reference it \u2014 an `aria-controls` on a "jump to latest" button of your own, or a skip link that moves focus into the transcript.'}],usage:["DO drive the feed from `items` and shape it with `roles`. Mapping ChatBubbles yourself inside a ScrollArea loses stick-to-bottom, the jump affordance and the single live region \u2014 the three reasons this component exists.",'DO give the list a DEFINITE height \u2014 `className="h-96"`, or a flex/grid parent that hands it a track. It scrolls inside itself; measured at 1280px, a list with no height grew to its content (1,952px) inside a 256px Card, scrollHeight === clientHeight, and stick-to-bottom had nothing to anchor.',"DO keep `id` stable per message. It is the React key, so a regenerated id re-mounts the bubble and restarts any typing animation.","DO leave autoScroll on for a live conversation and turn it off for an archived transcript, where landing on the newest message is not what the reader wants.",'DO NOT add your own aria-live region inside the feed, and do not put one on a bubble. This list already declares role="log" with aria-live="polite"; a second region double-announces every message.',"DO NOT scroll the viewport yourself on every append. That is the defect stick-to-bottom exists to prevent; the reader's scroll position is the only thing that grants the pin."],useCases:["The transcript pane of an AI assistant screen, above a ChatComposer, streaming the assistant's reply into the last bubble.","A support conversation in an admin detail page, where an operator scrolls up to re-read an earlier message while new ones keep arriving.","An agent/tool run log rendered as a conversation, with system notes as toned bubbles between turns.","An archived thread opened read-only from a report (autoScroll={false}), so the reader lands where the citation is rather than at the end."],related:["ChatBubble \u2014 one message; this list renders them and supplies per-role defaults.",'ScrollArea \u2014 the scrolling primitive underneath. Use ScrollArea anchor="bottom" directly for a non-conversational live stream (an audit log); use ChatBubbleList when the rows are conversation turns.',"Timeline \u2014 an ordered event rail with no scale and no live region. Use Timeline for a record's history, ChatBubbleList for a dialogue.","DataTable \u2014 for many rows that need sorting, filtering and pagination. A conversation is neither sorted nor paged."],example:`import { ChatBubbleList, type ChatMessageProp } from "@godxjp/ui/data-display";
|
|
2283
|
+
|
|
2284
|
+
const messages: ChatMessageProp[] = [
|
|
2285
|
+
{ id: "m1", role: "assistant", content: "How can I help?" },
|
|
2286
|
+
{ id: "m2", role: "user", content: "Summarise yesterday's invoices." },
|
|
2287
|
+
{ id: "m3", role: "assistant", content: reply, typing: true },
|
|
2288
|
+
];
|
|
2289
|
+
|
|
2290
|
+
<ChatBubbleList
|
|
2291
|
+
label={t("chat.list.label")}
|
|
2292
|
+
items={messages}
|
|
2293
|
+
roles={{
|
|
2294
|
+
assistant: { placement: "start", variant: "filled", avatar: assistantAvatar },
|
|
2295
|
+
user: { placement: "end", variant: "outlined" },
|
|
2296
|
+
system: { placement: "start", variant: "borderless", tone: "info", size: "sm" },
|
|
2297
|
+
}}
|
|
2298
|
+
/>`,docPath:"data-display/chat-bubble.tsx",storyPath:"data-display/ChatBubbleList.stories.tsx",rules:[6,23,44,45]},{name:"ChatComposer",group:"data-entry",tagline:"The message input of a conversation (Ant Design X Sender): an auto-growing Textarea plus exactly ONE trailing action \u2014 send, or cancel while a response streams. Enter/Shift+Enter is configurable and never fires during an IME conversion.",props:[{name:"value",type:"string",description:"Controlled draft text. Pair with onValueChange or the box freezes."},{name:"defaultValue",type:"string",description:"Uncontrolled initial draft text."},{name:"onValueChange",type:"(value: string) => void",description:"Draft-text change handler; fires on every keystroke, including during an IME conversion."},{name:"onSubmit",type:"(value: string) => void",description:"Send the draft. Never fires for empty or whitespace-only text, nor while loading/disabled/readOnly."},{name:"onCancel",type:"() => void",description:"Stop the in-flight response. Only reachable while loading."},{name:"loading",type:"boolean",defaultValue:"false",description:"A response is streaming: the trailing action BECOMES cancel. Send and cancel never render together."},{name:"submitType",type:'"enter" | "shiftEnter"',defaultValue:'"enter"',description:'"enter": Enter sends, Shift+Enter breaks the line. "shiftEnter": the inverse, for long deliberate drafts.'},{name:"placeholder",type:"string",description:"Empty-state text of the draft box \u2014 pass it through t() at the call site."},{name:"disabled",type:"boolean",defaultValue:"false",description:"Disable the composer and every action."},{name:"readOnly",type:"boolean",defaultValue:"false",description:"Show the draft without allowing an edit; still focusable."},{name:"header",type:"React.ReactNode",description:"Slot ABOVE the draft row \u2014 attachments, a reply-to banner, a model picker."},{name:"prefix",type:"React.ReactNode",description:"Slot at the inline START of the draft row \u2014 an attach Button, an Avatar."},{name:"footer",type:"React.ReactNode",description:"Slot BELOW the draft row \u2014 a hint line, a token counter."},{name:"actions",type:"React.ReactNode",description:"Extra trailing actions, rendered BEFORE the send/cancel action."},{name:"size",type:'"xs" | "sm" | "md" | "lg"',defaultValue:'"md"',description:"Height tier on the shared --control-height ladder; moves both auto-grow bounds together."},{name:"maxLength",type:"number",description:"Hard ceiling on the draft length, forwarded to the textarea."},{name:"status",type:'"error" | "warning"',description:"Validation state the frame paints. error also reports aria-invalid (colour alone fails WCAG 1.4.1)."},{name:"submitLabel",type:"string",description:"Accessible name override for the send action (localized default otherwise)."},{name:"cancelLabel",type:"string",description:"Accessible name override for the cancel action (localized default otherwise)."},{name:"onKeyDown",type:"React.KeyboardEventHandler<HTMLTextAreaElement>",description:"Keydown on the draft box \u2014 how ChatSuggestion drives its list. A handler that calls preventDefault() owns the key, and the composer will not treat it as a send."},{name:"name",type:"string",description:"Native form name, forwarded to the textarea."},{name:"id",type:"string",description:"DOM id of the textarea (the semantic focus target FormField labels)."}],usage:["DO pair a controlled `value` with `onValueChange` \u2014 a controlled value with no synchronised handler is the classic frozen-input bug, and it freezes the whole conversation.","DO wrap it in FormField when the composer is a labelled field; the label/helper/error contract lands on the <textarea>, which is the semantic focus target (ref goes there too).","DON'T hand-roll Enter-to-send. An IME conversion (ja/vi) fires a real Enter to ACCEPT a candidate; ChatComposer already guards compositionstart/compositionend, and skipping that guard makes Japanese and Vietnamese input impossible.","DON'T render your own stop button beside the send button \u2014 set `loading` and the trailing action becomes cancel. Exactly one trailing action exists at a time (the picker trailing-action discipline).","DO put a hint in `footer` (t('dataEntry.chatComposer.hintEnter')) when you flip `submitType` \u2014 the keystroke contract is invisible otherwise.","DON'T size it with a className height: the box grows between --chat-composer-min-height and --chat-composer-max-height, both derived from the --control-height tier. Use `size`, or re-tune the two tokens in your theme."],useCases:["The message box of an AI assistant or support chat, under a ChatBubbleList feed.","A comment composer on a record detail screen (prefix = attach Button, footer = character counter).",'A long-form reply box where Enter must break the line: submitType="shiftEnter".',"A streaming answer the user can stop: loading + onCancel."],related:["Textarea \u2014 the primitive underneath. Use it directly for an ordinary multi-line form field with no send action.","ChatSuggestion \u2014 wraps ChatComposer to add trigger-character (/) autocomplete.","ChatBubbleList \u2014 the feed the composer sends into.","SearchInput \u2014 a single-line query field; a composer is multi-line and holds a draft."],example:['import { ChatComposer } from "@godxjp/ui/data-entry";',"",'const [draft, setDraft] = useState("");',"const [streaming, setStreaming] = useState(false);","","<ChatComposer"," value={draft}"," onValueChange={setDraft}",' onSubmit={(text) => { send(text); setDraft(""); }}'," loading={streaming}"," onCancel={() => setStreaming(false)}",' placeholder={t("chat.placeholder")}',' footer={t("dataEntry.chatComposer.hintEnter")}',"/>"].join(`
|
|
2299
|
+
`),docPath:"data-entry/chat-composer.tsx",storyPath:"data-entry/ChatComposer.stories.tsx",rules:[2,6,43,45]},{name:"ChatSuggestion",group:"data-entry",tagline:"Trigger-character autocomplete over a ChatComposer (Ant Design X Suggestion): type / at a word boundary and a Command list opens against the composer, driven from the textarea without ever taking focus off it.",props:[{name:"items",type:"ChatSuggestionItemProp[]",required:!0,description:"The rows to offer: { value, label?, description?, icon?, disabled?, children? }. One level of children is honoured \u2014 picking a parent drills into it instead of emitting."},{name:"onValueChange",type:"(value: string) => void",description:"Fires with the picked row's value. The CALLER owns what that does to the draft text \u2014 the component never rewrites the textarea behind your back."},{name:"triggerCharacter",type:"string",defaultValue:'"/"',description:'The character that opens the list when typed at a word boundary (use "@" for a mention list).'},{name:"open",type:"boolean",description:"Controlled open state of the list."},{name:"defaultOpen",type:"boolean",description:"Uncontrolled initial open state."},{name:"onOpenChange",type:"(open: boolean) => void",description:"Open-state change handler."},{name:"children",type:"(props: { onTrigger: (value?: string | false) => void; onKeyDown: React.KeyboardEventHandler<HTMLTextAreaElement> }) => React.ReactNode",required:!0,description:"Render prop wrapping the composer. Call onTrigger from the composer's onValueChange and forward onKeyDown to its onKeyDown."},{name:"emptyMessage",type:"string",description:"Shown when the query matches nothing (localized default otherwise)."},{name:"listLabel",type:"string",description:"Accessible name of the listbox (localized default otherwise)."},{name:"id",type:"string",description:"DOM id of the anchor wrapping the composer."}],usage:["DO wire BOTH halves of the render prop: `onTrigger` from the composer's onValueChange and `onKeyDown` from its onKeyDown. With only one wired the list either never opens or cannot be driven.","DO decide yourself what a pick does to the draft \u2014 onValueChange hands you the value; the typed /query is still in the box, so replace it or append to it as your screen needs.","DON'T hand-roll a listbox next to a textarea. This composes the real Command (cmdk) inside a Popover, which already ships the listbox/option roles, active-row bookkeeping and scroll-into-view.","DO rely on Escape: it closes the list, returns focus to the textarea and leaves the typed text intact. It also stops propagating, so a composer inside a Dialog does not close the Dialog too.","DON'T expect it to filter server-side \u2014 filtering is a plain substring match over label/value/description. For a remote list, filter `items` yourself as the query changes."],useCases:["Slash commands over an assistant composer (/summarize, /translate, /explain).",'Mention picker in a comment composer (triggerCharacter="@").',"Prompt-template inserter grouped one level deep (a category row that drills into its templates)."],related:["ChatComposer \u2014 the control it wraps; use it alone when there is nothing to suggest.","Command / CommandPalette \u2014 a full-screen command surface opened by a shortcut, not by a character in a draft.","Select (showSearch) \u2014 the searchable single-select; a suggestion list edits free text, it does not hold a value."],example:['import { ChatComposer, ChatSuggestion } from "@godxjp/ui/data-entry";',"",'const [draft, setDraft] = useState("");',"","<ChatSuggestion"," items={[",' { value: "summarize", label: "\u8981\u7D04\u3059\u308B", description: "Summarize the thread" },',' { value: "translate", label: "\u7FFB\u8A33\u3059\u308B" },'," ]}",' onValueChange={(value) => setDraft("/" + value + " ")}',">"," {({ onTrigger, onKeyDown }) => ("," <ChatComposer"," value={draft}"," onValueChange={(next) => { setDraft(next); onTrigger(next); }}"," onKeyDown={onKeyDown}"," onSubmit={(text) => send(text)}"," />"," )}","</ChatSuggestion>"].join(`
|
|
2300
|
+
`),docPath:"data-entry/chat-composer.tsx",storyPath:"data-entry/ChatSuggestion.stories.tsx",rules:[2,3,6]}];function N(t){let a=t.trim().toLowerCase();return v.find(e=>e.name.toLowerCase()===a)}function F(t){return v.filter(a=>a.group===t)}var k=[{name:"ValueProp<T = string>",concept:"Abstract controlled value.",values:["generic"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Tabs","SearchSelect"]},{name:"DefaultValueProp<T = string>",concept:"Abstract uncontrolled initial value.",values:["generic"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Tabs"]},{name:"OnValueChangeProp<T = string>",concept:"Callback for abstract value changes. DOM events continue to use onChange.",values:["(value: T) => void"],usedBy:["CheckboxGroup","Upload","Cascader","TreeSelect","Transfer","settings pickers"]},{name:"OpenProp / DefaultOpenProp / OnOpenChangeProp",concept:"Disclosure state.",values:["boolean","(open: boolean) => void"],usedBy:["Dialog","Sheet","Popover"]},{name:"SizeProp",concept:"Shared public size names.",values:["xs","sm","md","lg"],usedBy:["Button","Steps","Switch"],notes:"Component-specific subsets must be documented. Old alias small is sm."},{name:"ToneProp",concept:"Semantic status/color intent.",values:["default","success","warning","destructive","info","muted","neutral"],usedBy:["Badge","Alert"],notes:"Status values belong in tone, not variant."},{name:"GapProp",concept:"Shared layout gap scale.",values:["xs","sm","md","lg","xl"],usedBy:["Flex"],notes:'The single shared gap scale on Flex \u2014 the one layout primitive (default direction="row"; use direction="col" for vertical rhythm; these replaced the removed Stack/Inline).'},{name:"TitleProp",concept:"Primary heading text.",values:["React.ReactNode"],usedBy:["PageContainer","PageHeader","EmptyState","Dialog"]},{name:"DensityProp",concept:"Page/subtree density.",values:["compact","default","comfortable"],usedBy:["PageContainer"]},{name:"CenteredShellPresetProp",concept:"Named whole-page SHELL contract for CenteredShell \u2014 the page measure, section rhythm, chrome flatness and hero heading tier, all owned by component tokens.",values:["default","public-landing"],usedBy:["CenteredShell"],notes:'public-landing is the PUBLIC marketing/product landing geometry: one 67.5rem measure shared by the header bar, the centred column and the footer, the section rhythm, flat elevation-free cards and the hero h1 tier. "default" emits NO data-preset at all, so the existing shell box is untouched. Pair with `Flex hideBelow`/`hideFrom` for header region visibility \u2014 a landing must never own a page-local media query or a max-width wrapper.'},{name:"TablePresetProp",concept:"Named collection contract for a table \u2014 how a dense collection behaves when its container gets narrow.",values:["default","action-collection"],usedBy:["Table","DataTable"],notes:"action-collection swaps the desktop intrinsic column widths for table-layout: fixed + the token-owned column PRIORITY measures below `collapseBelow`, so a five-column approval queue keeps every column \u2014 including row actions \u2014 inside a 390px frame with no page-local CSS, no hidden column and no horizontal scroll. It changes the SIZING model only: no display change, no role rewriting, no card transformation, so table semantics and screen-reader navigation are identical at every width. ONE contract, two entry points: the `Table` primitive (mark `priority` on each TableHead/TableCell yourself) and the TanStack `DataTable` (mark `priority` on the ColumnDef; it stamps both cells for you, and additionally releases the surface's `--table-surface-min-inline-size` floor). Both read the same `--table-action-collection-*` tokens \u2014 there is no parallel DataTable family."},{name:"TableColumnPriorityProp",concept:"Relative importance of a table column, used by the action-collection preset to allocate the narrow-frame measure.",values:["primary","secondary","meta","actions"],usedBy:["Table","DataTable"],notes:"On the raw `Table`, set it on BOTH the TableHead and the TableCell of a column; on `DataTable` set it once on the `ColumnDef` and it is stamped onto the <th> and every <td>. `actions` reserves its measure first so the row-action affordance can never be pushed outside the viewport; a column with no priority takes the remaining space (the free-text column)."},{name:"AuthShellPresetProp",concept:"Named hosted-identity FLOW MEASURE for AuthShell \u2014 the card max-width plus the desktop and mobile page gutters, all owned by component tokens.",values:["default","device-authorization","context-selection"],usedBy:["AuthShell"],notes:'Orthogonal to AuthShell\'s `variant` (which owns control density + heading size) and applied after it, so `variant="canonical" preset="device-authorization"` composes. device-authorization = 380px card / 5px inline gutter at 390; context-selection = 25rem card, edge-to-edge on mobile. Selecting a preset REPLACES any consumer-side --auth-shell-card-max-width override \u2014 a page-local width is the anti-pattern these presets exist to remove.'},{name:"AvatarShapeProp",concept:"Avatar geometry \u2014 WHAT the identity mark represents: a person or an entity. Deliberately NOT the control ShapeProp (default|pill|sharp), whose `sharp` is --radius-sharp: 0 and cannot express the rounded rect an entity mark needs.",values:["circle","square"],usedBy:["Avatar"],notes:'circle (default, inert) = the round --radius-pill person avatar on the muted surface; square = the entity-header organization/service mark \u2014 a compact rounded square on the brand surface driven by --avatar-square-{radius,size,background,foreground}. Choose by meaning, never by look: a className="rounded-md bg-primary" override on the call site is the anti-pattern this prop removes.'}];function B(t){let a=t.trim().toLowerCase().replace(/prop(?:<.*>)?$/i,"");return k.find(e=>e.name.toLowerCase().replace(/prop(?:<.*>)?$/i,"")===a)}var T=[{name:"--wa-*",category:"primitive",tier:"primitive",role:"Neutral decorative Japanese accent primitives for charts/tags/decoration only."},{name:"--chart-1..6",category:"primitive",tier:"primitive",role:"Neutral decorative chart series palette. The @godxjp/ui/charts components (LineChart/BarChart/AreaChart/PieChart) read these by series index automatically \u2014 a service rethemes every chart at once by overriding --chart-1..6; per-series/per-slice overrides go through the component's series.color / colors props."},{name:"--space-0..12",category:"primitive",tier:"primitive",role:"Raw spacing scale."},{name:"--icon-size-{2xs,xs,sm,md,lg,xl,2xl,3xl,4xl}",category:"primitive",tier:"primitive",role:'Raw ICON scale \u2014 10 / 12 / 14 / 16 (md, the default) / 20 / 24 / 36 / 40 / 48 px. Icon was the last geometric axis with no scale: 28 component tokens declared raw numbers and between them used only these nine values, so this NAMES an existing vocabulary rather than inventing one. It is a FIXED LIST, not a `base * ratio^n` scale like --font-size-*, and deliberately so: 14/16 = 0.875 but 20/16 = 1.25, no single ratio generates the steps. Type can sit between pixels because hinting and antialiasing carry it; a 1px-stroke glyph cannot, so every step lands on a whole pixel at a 16px root. NOT --scaling-multiplied here: density is opted into by the tokens that want it (`calc(var(--icon-size-md) * var(--scaling))`, as --control-icon-size does), which keeps the scale itself the crisp whole-pixel list. TIER 1 vs TIER 2 \u2014 a value used in MORE THAN ONE place belongs on the scale and a service retunes it once; a value used in exactly ONE place (a 6px status dot) does NOT, and is set at the call site on that component\'s own --*-icon-size / --*-glyph-size token (`style={{ "--menu-icon-size": "6px" }}` or a `[data-\u2026]`-scoped theme rule). An inline custom property wins by inheritance proximity, so tier 2 never needs !important, a :root override, or a fork.'},{name:"--stroke-{hairline,sm,md,lg,xl,2xl}",category:"primitive",tier:"primitive",role:"Raw STROKE scale \u2014 the thickness of a painted LINE: 1 (hairline) / 1.5 / 2 (md, the emphasis stroke) / 3 / 4 / 6 px. The census called `width` the worst axis in the system at 91% raw; the census was right and the diagnosis was not, because `-width` is THREE concerns wearing one suffix \u2014 the thickness of a drawn line, the measure of a container (a dialog, a reading column, an auth card) and the content width of a field (how wide a picker must be to hold its longest label). Only the first is a vocabulary, and it repeats hard: six values across ~20 tokens spanning borders, focus rings, accent rails, selected-state markers and presence strokes. The other two are tier 2 by nature \u2014 their values appear in exactly one place \u2014 and are deliberately NOT on a scale. PX, NEVER REM: a stroke is a device line whose job is to read as one crisp rule at any type size, so it must not grow with the root font-size (`--slider-track-height: 0.375rem` is a different decision and stays put). NOT --scaling-multiplied: --scaling is a DENSITY knob, and a 1px divider at 0.92px would blur rather than tighten. --focus-ring-width is a member of this scale (`var(--stroke-md)`), so retuning line weight retunes the rings with it. --stroke-hairline sits BELOW --stroke-sm rather than being called xs because 1px is not really a step: it is the device hairline, the one thickness a service retunes the EXISTENCE of rather than the value (cardinal rule #44)."},{name:"--band-height-{xs,sm,md,lg,xl,2xl,3xl}",category:"primitive",tier:"primitive",role:"Raw BAND-HEIGHT scale \u2014 the vertical extent of a horizontal strip that content is centred in: 24 / 28 / 32 (md, the default control and row band) / 36 / 44 (the WCAG 2.2 AA touch floor, rule #24) / 48 / 56 px. `height` split the same way `width` did: a control, a table row, a menu item, a sidebar nav row and the app-shell top bar are ONE decision sharing seven values, each declared by two to five tokens, while a chart plot's height, a transfer pane's min-height and a popover's max-height are container measures chosen per surface with almost no repeated value and stay literal. The case for this is that `PageContainer`'s chrome band had no height token while `AppShell`'s bar did, so nothing could be aligned to it \u2014 the axis had no name. NOT A SUBSTITUTE FOR --control-height-*: the control tier is a RUNTIME LADDER (it multiplies by --scaling, steps \xB1--space-1 for sm/lg/xs, and `@media (pointer: coarse)` lifts the whole thing to the 44px tap floor); this scale is the STATIC vocabulary the ladder is ANCHORED on (`--control-height-default: var(--band-height-md)`), exactly as --font-size-base anchors the type scale. Point a band token at --control-height-* to \"reuse a step\" and you silently enrol it in density AND in the coarse-pointer growth \u2014 that is a geometry change, not a rename, and it is why --table-row-height-default reads var(--band-height-md) instead. NOT --scaling-multiplied here: whether a band breathes with density is a per-token decision (--control-height opts in, --app-shell-bar-height deliberately does not)."},{name:"--overlay-z-index",category:"semantic",tier:"semantic",role:"The ONE stacking layer every portaled overlay sits on \u2014 Tooltip, Popover, Select, DropdownMenu, ContextMenu/Menubar, Sheet (overlay AND panel), and since #319 also Dialog, AlertDialog and the CommandPalette, scrim and content alike. Each of those used to hard-code `z-50` independently, so an app that mounts the library under its own stacking context (a sticky masthead, a third-party chat widget) had to fight a separate literal per primitive \u2014 and whichever one it missed rendered underneath. Stacking is a SYSTEM decision, not a per-primitive one: raise every overlay together by overriding this once. Default 50, byte-identical to the literals it replaced. The DataTable sticky header deliberately stays BELOW it, so a menu opened from a sticky column header still wins. NOTE: overlays render into a portal on document.body, so a scoped `[data-tenant]` / `.dark` override must also sit on the portal container to reach them."},{name:"--font-size-*",category:"primitive",tier:"primitive",role:"Raw typography scale."},{name:"--font-sans-base",category:"semantic",tier:"semantic",role:`The default sans face. FONT-AGNOSTIC by default (pure system stack) \u2014 the library ships no hardcoded brand font. Override this for one face everywhere. --font-family-sans defaults to it; --font-family-display / --font-family-body default to --font-family-sans (override those for a dual display+body brand). Consumers supply the actual @font-face (next/font, @fontsource, self-host); the opt-in @godxjp/ui/styles/fonts OVERWRITES this (and --font-sans-vi) with the bundled DXS stack \u2014 "Noto Sans JP" primary (incl. the Vietnamese coverage) with "M PLUS 2" as the fallback. BUNDLE CHANGED IN v18.12.20 (product override, direct instruction): v16 bundled Noto Sans JP + Montserrat, v18.12.0\u201318.12.19 bundled M PLUS 2 + Noto Sans JP, v18.12.20+ bundles Noto Sans JP + M PLUS 2 \u2014 if a design spec names an earlier bundle's faces, set the tokens explicitly instead of relying on the bundle. IMPORT ORDER IS LOAD-BEARING: styles/fonts must be imported AFTER styles/base, because foundation.css declares this system-stack default on :root at the same specificity (0,1,0) and the later declaration wins (the all-in-one @godxjp/ui/styles entry already orders it correctly \u2014 issue #210).`},{name:"--font-sans-{ja,ko,vi,zh-hans,zh-hant}",category:"semantic",tier:"semantic",role:'Per-language font SLOT tokens. styles/base.css wires each [lang] to read its slot with --font-sans-base as fallback, so a consumer switches a locale\'s face by setting e.g. `--font-sans-ja: "Noto Sans JP", var(--font-sans-base)` \u2014 NO [lang] selectors to write. Empty by default. zh-hans matches lang zh|zh-Hans|zh-CN; zh-hant matches zh-Hant|zh-TW. Deciding which @font-face ships on which locale route is the consumer\'s font pipeline, not the library. The opt-in @godxjp/ui/styles/fonts only fills --font-sans-vi (with the bundled "Noto Sans JP", "M PLUS 2" stack); the other slots stay empty and fall back to --font-sans-base.'},{name:"--duration-{fast,base,slow}",category:"primitive",tier:"primitive",role:"Motion durations (150 / 250 / 500ms). Read these instead of a literal `0.5s` for enter/transition timing (rule #2). the reference design keeps motion short; honour `prefers-reduced-motion` at the call site."},{name:"--ease-{standard,emphasized,decelerate,accelerate}",category:"primitive",tier:"primitive",role:"Motion easing curves. `standard` for most transitions, `emphasized` for entrances/overlays (the vaul drawer curve), `decelerate` for settling in, `accelerate` for exits. Read instead of a literal `cubic-bezier(\u2026)`."},{name:"--reveal-distance",category:"primitive",tier:"primitive",role:"Distance (10px) a revealed element travels on enter (translateY/-X). Read instead of a literal `translateY(10px)` for staggered reveals."},{name:"--reveal-stagger-step",category:"primitive",tier:"primitive",role:"One step (60ms) of the Reveal stagger ladder \u2014 `<Reveal delay={n}>` waits n \xD7 this before entering, so a column of reveals cascades. Read instead of a literal `.04s`/`.09s` per-item delay."},{name:"--duration-loop",category:"primitive",tier:"primitive",role:"The AMBIENT/LOOPING interval (1400ms) \u2014 the cycle member of the motion tier. `--duration-{fast,base,slow}` time a TRANSITION (A to B, then stop); a loop needs an interval, so every ambient affordance in the product breathes at one rate. `Activity` reads it through `--activity-interval`."},{name:"--activity-interval",category:"component",tier:"component",role:"Per-component override of the ambient loop interval (defaults to `var(--duration-loop)`). A service tunes its typing/sync rhythm without moving every loop in the product (cardinal rule #45). Declared in the MOTION tier (tokens/foundation.css) beside `--reveal-stagger-step`, not in tokens/components/activity.css, because component-token names must carry a geometry/colour property word and there is none for a duration."},{name:"--activity-stagger-step",category:"component",tier:"component",role:"Offset (160ms) between the three `Activity variant='dots'` marks \u2014 the LOOP counterpart to `--reveal-stagger-step`, named to match. In RTL the dots reverse with the flex row, so the cascade follows the reading direction with no extra rule. Declared in the motion tier for the same reason as `--activity-interval`."},{name:"--activity-mark-size",category:"component",tier:"component",role:"Diameter (0.25em) of one `dots` mark. `em`-based so the whole mark tracks `--activity-font-size-*` (and therefore `--font-size-base` and the density axis) instead of pinning a px per size step."},{name:"--activity-mark-offset",category:"component",tier:"component",role:"Travel (0.25em) of one `dots` step \u2014 the LOOP counterpart to `--reveal-distance`, named to match. It is ALSO the height the mark row reserves, so a dot at the top of its arc is never clipped and the row never grows mid-cycle."},{name:"--activity-mark-rest-alpha",category:"component",tier:"component",role:"Opacity (0.35) of a mark at the trough of its cycle. Deliberately never 0: a mark that vanishes reads as a rendering bug, and it is what makes the `prefers-reduced-motion` frame (animation dropped) land on a legible resting state."},{name:"--activity-pulse-mark-size",category:"component",tier:"component",role:"Diameter (0.5em) of the single `variant='pulse'` mark \u2014 bigger than one `dots` dot because it carries the whole affordance alone."},{name:"--activity-gap",category:"component",tier:"component",role:"Mark-to-mark and mark-to-label gap (defaults to `var(--space-1)`)."},{name:"--activity-font-size-{xs,sm,md,lg}",category:"component",tier:"component",role:"Root size ladder for `Activity`. The mark is em-based, so this ONE value scales the whole indicator; the steps mirror the `Text` size the label renders at, so mark and label stay optically paired."},{name:"--activity-bar-{width,height,radius,segment-width,track-alpha}",category:"component",tier:"component",role:"The indeterminate `variant='bar'` sweep: track measure (4rem \u2014 an inline measure beside a label, not a 100% fill), thickness, corner, the moving segment's share of the track (40%), and the track's tint alpha (0.2)."},{name:"--activity-color",category:"component",tier:"component",role:"Mark ink for `Activity`. ROLE-MIRROR KNOB \u2014 declared `initial` at :root with the role default at the CALL SITE (`hsl(var(--activity-color, var(--muted-foreground)))`), so a scoped `[data-tenant]` / `.dark` override of `--muted-foreground` still reaches it (docs/TOKENS.md \xB7 'Role-mirror knobs MUST be initial'). It retints the default `tone='muted'`; an explicit non-muted `tone` sets its own semantic role."},{name:"--shadow-color",category:"primitive",tier:"primitive",role:"RGB channels (space-separated, e.g. `12 26 49`) that tint the WHOLE elevation ramp (--shadow-xs..2xl) at once. Default `0 0 0`. Single-brand :root only \u2014 a scoped override does not re-resolve the ramp (the steps compute at :root); for a scoped/multi-tenant card lift set --card-shadow to a literal value."},{name:"--shadow-glow",category:"primitive",tier:"primitive",role:"Opt-in brand GLOW halo layered on the primary CTA's resting shadow. Default invisible (`0 0 0 0 transparent`, valid inside a comma shadow list). A service sets the whole value, e.g. `--shadow-glow: 0 8px 20px hsl(var(--primary) / .32)` \u2014 works scoped under [data-tenant] because the service declares it inside the scope."},{name:"--focus-ring-color",category:"primitive",tier:"primitive",role:"Themeable hue of EVERY keyboard-focus ring (HSL components, default var(--ring)). A leaf token, so it re-resolves at the element that paints the ring \u2014 override it once, even scoped under [data-tenant], to retint all focus rings. Pair with --focus-ring-width."},{name:"--focus-ring-width",category:"primitive",tier:"primitive",role:"Thickness (2px) of the solid keyboard-focus ring. Leaf token \u2014 :focus-visible rules read it directly as `0 0 0 var(--focus-ring-width) hsl(var(--focus-ring-color))`, never via an intermediate composite (which would freeze at :root). Propagates scoped."},{name:"--gradient-{brand,hero,glow}",category:"primitive",tier:"primitive",role:"Opt-in decorative gradient fills, default `none`. --gradient-hero paints the PageContainer header (hero banner); --gradient-glow paints the AppShell .app-main (ambient brand wash); --gradient-brand is a spare. A service sets the full gradient, e.g. `--gradient-glow: radial-gradient(60% 80% at 50% 0%, hsl(var(--primary) / .25), transparent)`."},{name:"--primary",category:"semantic",tier:"semantic",role:"Action color role."},{name:"--brand / --brand-foreground",category:"semantic",tier:"semantic",role:'The IDENTITY role \u2014 the canonical GoDX emerald (light #009766 = oklch(0.595 0.137 162.94); dark lifts lightness only, #00b87c). It is what `<Logo mark="godx">` / `tone="success">` / the godx wordmark / the `@godxjp/ui/email` brand capsule paint, and it is distinct from THREE lookalikes: --primary (the ACTION colour \u2014 re-theme it freely, the mark never moves), --success (\u82E5\u7AF9 #68be8d, the STATUS green for badges/progress/"saved" text \u2014 the mark once borrowed this and shipped \u0394E76 \u2248 17.5 off canonical), and --text-brand (the blue brand-NUMERAL text slot behind the Tailwind `text-brand` utility). There is no `bg-brand` utility: `--color-brand` is already taken by --text-brand, so identity surfaces read `hsl(var(--brand))` directly in component CSS. Re-brand a service by overriding --brand once (scoped `[data-tenant]` works \u2014 every logo knob resolves it at the call site).'},{name:"--success",category:"semantic",tier:"semantic",role:'Success STATUS role (\u82E5\u7AF9 wakatake #68be8d) \u2014 badges, alerts, progress fills, timeline done dots, `tone="success"` text. NOT the product identity: the GoDX mark reads --brand.'},{name:"--warning",category:"semantic",tier:"semantic",role:"Warning status role."},{name:"--destructive",category:"semantic",tier:"semantic",role:"Destructive/error status role."},{name:"--info",category:"semantic",tier:"semantic",role:"Information status role."},{name:"--attention",category:"semantic",tier:"semantic",role:"Attention status role."},{name:"--border / --input",category:"semantic",tier:"semantic",role:"TWO roles, NOT synonyms \u2014 never set one to the other. --border is DECORATIVE chrome: table rules, card edges, section dividers, Separator. WCAG 2.2 SC 1.4.11 does not reach it (a divider is not \"required to identify a component or its state\") and this system's dense JP grid depends on it staying quiet \u2014 light `30 7% 83%`, dark `45 6% 22%`. --input is the CONTROL BOUNDARY: the 1px edge of Input/Textarea/Select/outline Button/TagInput/the composite date field/the topbar search (the Tailwind `border-input` utility reads it), plus the Switch's unchecked track fill. A field has no fill of its own and no shadow, so that edge is the whole visual claim that you may type there \u2014 it owes SC 1.4.11's 3:1 against EVERY surface a control sits on, not just the plain page: light `30 7% 53%` (3.47:1 on --background/--card/--popover, 3.18:1 on --muted/--secondary, 3.35:1 on a zebra row), dark `45 6% 47%` (4.22:1 on --background, 3.88:1 on --card/--popover, 3.17:1 on --muted). They shipped sharing one value and put every text field at 1.46:1. A service re-theming neutrals MUST move the two independently; `src/tokens/__tests__/input-boundary-contrast.test.ts` recomputes the ratios and fails below 3:1 or if the two roles are re-coupled. To quieten the Switch off-track without dragging --input back down, override --switch-unchecked-background instead."},{name:"--page-header-divider",category:"semantic",tier:"semantic",role:"PageContainer header bottom divider. Default none; a service theme opts in with `1px solid hsl(var(--border))`."},{name:"--page-footer-divider",category:"semantic",tier:"semantic",role:"PageContainer footer top divider \u2014 the third page-chrome band, on the same contract as `--page-header-divider` and `--page-toolbar-divider` (its rule used to be a hard literal in layout.css, so a page could not turn it off at all). Declared `initial` and resolved at the CALL SITE as `var(--page-footer-divider, 1px solid hsl(var(--border)))`, so a scoped [data-tenant]/.dark override still reaches it. It is the ONE chrome divider whose default is a RULE rather than silence, deliberately: `footer` is the shared slot a form's Save/Cancel bar lands in, where the line separating the actions from the page content is the behaviour every existing page already draws \u2014 the old literal IS the fallback, so unset is byte-identical. Set `--page-footer-divider: none` when the footer content already carries its own frame (a chat composer is a bordered Card, and the shell's full-width rule otherwise stacks a second line right above it)."},{name:"--overlay-background",category:"semantic",tier:"semantic",role:"Modal scrim \u2014 the single backdrop colour shared by every overlay (Dialog, AlertDialog, Sheet, Drawer, AppShell mobile nav). Default `rgb(0 0 0 / 0.5)`. A service tints it once, e.g. a navy `rgb(12 26 49 / .55)`. HOW IT REACHES AN OVERLAY: each surface declares its own `--*-overlay-background` knob `initial` and resolves a SHARE of this colour at the call site, `color-mix(in srgb, var(--overlay-background) var(--*-overlay-alpha), transparent)`, so the calibrated per-surface depth survives (Sheet/drawer 40% = 0.2, Dialog 60% = 0.3) while ONE override here retints them all. NOTE: portaled overlays render outside a [data-tenant] subtree, so for multi-tenant scoping put the tenant attribute on the portal container too."},{name:"--page-toolbar-{background,pad-block,divider}",category:"semantic",tier:"semantic",role:"PageContainer `toolbar` band chrome \u2014 the FIXED strip between the page header and the (scrolling) body. All three knobs are quiet by default (rule #44). `--page-toolbar-background` (default `transparent`) is the band's GROUND: set it ONCE in a service theme \u2014 `--page-toolbar-background: hsl(var(--card));` \u2014 to lift the band off the page ground the way a chat channel's workflow rail or a collection's filter strip usually wants. It is bound at `:root` rather than `initial` because its default is a plain CSS keyword, not another role token, so there is nothing for a scoped override to re-resolve; it is the `background` shorthand, so a gradient works too. NEVER write `className=\"bg-card\"` on the strip at the call site \u2014 that is hand-laid page chrome, it is invisible to per-tenant theming, and it paints the strip rather than the band (so it misses the page gutters and the `measure` cap). `--page-toolbar-pad-block` (default 0) is the band's own block inset. It is the band's ONLY breathing room: the band sits FLUSH against the header and the body (the container's band gap is cancelled on the band itself \u2014 chrome is attached, not a third section floating between two voids), so there is no outside space to tune. It stays 0 even now that the band can be painted: a TRANSPARENT band is not a surface and has no inside for an inset to breathe, and under `fill` every pixel of band height is taken from the scroll viewport the slot exists to protect. The corollary is that a theme which PAINTS the band must also set the inset here (`--page-toolbar-pad-block: var(--space-2)`) \u2014 the two go together, and neither belongs in a `py-*` utility at the call site. `--page-toolbar-divider` is declared `initial` and resolved at the CALL SITE as `var(--page-toolbar-divider, var(--page-header-divider))` \u2014 so ONE `--page-header-divider` opt-in rules the whole page chrome consistently, a scoped [data-tenant]/.dark override of it still reaches the band (a `:root` binding would freeze it), and `--page-toolbar-divider: none` silences just the band. `variant=\"ghost\"` keeps the divider quiet regardless (it does NOT clear the background \u2014 ghost is about rules and pads, not grounds). The band's inline gutters and its `measure` cap are shared with the header and body \u2014 they are not separate knobs, which is what keeps the three bands aligned."},{name:"--page-title-font-size-chrome",category:"semantic",tier:"semantic",role:'PageContainer title step under `headerScale="chrome"` \u2014 a page whose top row IS chrome (a chat channel name, a mail subject, an IDE tab) rather than a document title. Default `var(--heading-h3)` = `--font-size-base` (14px), the body step, so the row reads as a label ON the surface instead of the page\'s headline; a consumer chat header measured 61px with a 20px h1 against a design that wanted ~40px at the `sm` step. Deliberately a THIRD knob beside `--page-title-font-size` / `--page-title-font-size-compact`: those two are one document title at two viewport sizes (a responsive step), this is a different KIND of page and holds at every width \u2014 the compact rule must not pull a chrome header back up to h2. Read ONLY when the prop is passed, so a document page never touches it (rule #44). A service retunes the chrome step here once; never override `--page-title-font-size` at a call site to fake it.'},{name:"--page-subtitle-font-size-chrome",category:"semantic",tier:"semantic",role:'PageContainer SUBTITLE step under `headerScale="chrome"` \u2014 the caption under a chrome top row (a channel purpose line, a mail preview), not a document\'s standfirst. Default `var(--font-size-2xs)` (ratio\u207B\xB2, ~11px), two steps below the document default `--font-size-base`. It is a fourth knob beside `--page-subtitle-font-size` / `-compact` for the same reason the title step is: those two are ONE document subtitle at two viewport sizes, this is a different KIND of page and holds at every width \u2014 and it has to out-rank the 720px compact rule, which is already a compound selector, or a chrome caption would step back UP on a phone. Two things it fixes at once. Hierarchy: at the document step the chrome subtitle rendered at `--font-size-base`, the IDENTICAL step the chrome TITLE takes, so a channel name and its purpose line read as one undifferentiated block. Height: the step drives the LINE BOX at the inherited `--line-height-body` (14px x 1.7 = 23.8px vs 11px x 1.7 = 18.9px), so a band whose whole point is to leave room for the transcript stops spending ~5px of it on a caption. Type only \u2014 line-height, colour and weight stay with the base rule, so a wrapped JA/VI purpose line keeps its rhythm. Read ONLY when the prop is passed (rule #44); a service retunes the caption step here once, never with a `text-*` utility at the call site.'},{name:"--page-pad-block-start-chrome",category:"semantic",tier:"semantic",role:"PageContainer TOP inset under `headerScale=\"chrome\"` \u2014 the second half of the same fact the title step answers: chrome sits ON the frame's edge. Default `0px`, so a chrome page opens flush; a document page keeps `--space-page-active-y` (24px, 16px below the 720px step) because a title needs air above it. Measured on a consumer chat screen: an otherwise correctly-sized channel head started at y=24 against a design that starts it at y=0, and those 24px came straight off the transcript viewport (617px in the design, 587px in the app). It is a knob rather than a literal (rule #44) so a service whose grid wants its chrome inset writes `--page-pad-block-start-chrome: var(--space-2)` once instead of forking the page shell, and it is read ONLY when the prop is passed, so no document page resolves it. Block-start only \u2014 the page's bottom edge belongs to `stickyFooter`, which zeroes it for its own reason."},{name:"--page-header-min-block-size-chrome",category:"semantic",tier:"semantic",role:"PageContainer BAND HEIGHT under `headerScale=\"chrome\"` \u2014 the third half of the same fact the title step and the flush top edge answer. A document header is content-height, correctly: a title is as tall as the title is. Chrome is furniture, and furniture needs a band that things centre INTO. Without one, the band's vertical centre is a function of its own copy \u2014 measured in Chromium on the catalogue page, 42.02px with an `extra` control and 40.38px without \u2014 so nothing in the page can be aligned to it and no service can aim at a number. Default `auto` (rule #44, the quiet state): no floor, content-height, byte-identical to every page shipped before the token existed, chrome pages included. The BAND-HEIGHT AXIS HAS ONE OWNER and it is `--app-shell-bar-height` (`--centered-shell-bar-height` already reads it), so the one line a service writes to put its page chrome on the shell bar's band is `--page-header-min-block-size-chrome: var(--app-shell-bar-height)` \u2014 the band becomes 48px and the title column and `extra` both centre at y=24 regardless of copy length. It is NOT that value by default because a chrome `PageContainer` is not necessarily inside an `AppShell` (the canonical chat composition renders one inside a bordered region, a SplitPane pane, a Card), and a band that is not trying to line up with a bar has no business inheriting that bar's height. A MIN, never a height: a taller `extra` (an `lg` control, a wrapped JA/VI channel name) still fits instead of overflowing. The header's own `--page-header-pad-bottom` lives INSIDE the band (border-box); under the canonical chrome composition (`variant=\"ghost\"`) that pad is 0 and the centring is exact."},{name:"--page-header-pad-bottom",category:"semantic",tier:"semantic",role:"PageContainer header bottom inset. Defaults to page top padding minus the section gap so the title band is vertically balanced."},{name:"--master-detail-rail-{compact,standard}",category:"semantic",tier:"semantic",role:"MasterDetail fixed rail track \u2014 18.75rem (300px) / 20rem (320px). The `railWidth` prop picks the preset; a service theme retunes the presets themselves. Consumers never author a grid track."},{name:"--master-detail-gap",category:"semantic",tier:"semantic",role:"Gap between the MasterDetail master and detail regions (default --space-stack-md), side by side and stacked."},{name:"--master-detail-collapse-below",category:"semantic",tier:"semantic",role:"MasterDetail stacking threshold (default 40rem / the `sm` step), measured against the composition's OWN inline size, not the viewport: wider keeps the split, narrower stacks master above detail. A real knob \u2014 the layout resolves it inside a flex-basis calc(), because a media/container-query CONDITION cannot read a var(). The `collapseBelow` prop overrides it per instance (rule #45)."},{name:"--master-detail-master-viewport-{compact,standard}",category:"semantic",tier:"semantic",role:'Bounded MasterDetail master viewport \u2014 20rem (320px) / 28rem (448px), selected by the semantic `masterViewport` prop. `masterViewport="auto"` (the default) applies NO bound, so existing compositions are unchanged; the presets cap the collection\'s block size and scroll it INSIDE the region, which is what stops a long real collection from pushing the detail below the fold once the layout stacks. Retune the presets in a service theme exactly like --master-detail-rail-*; never author a pixel max-height in consumer CSS.'},{name:"--master-detail-master-viewport-inset",category:"semantic",tier:"semantic",role:"Focus-ring room inside a bounded MasterDetail master region (default --space-1 / 4px), and its scroll-padding. An overflow container clips BOTH axes, so without this inset the focus ring of a row at the region's edge would be cut off; it also keeps a row scrolled into view off the clip edge. Only applies when `masterViewport` is compact/standard."},{name:"--page-header-extra-measure",category:"semantic",tier:"semantic",role:'Inline measure of the PageContainer header `extra` region while `headerLayout="responsive-inline"` and the page is below the 640px step (default 11rem / 176px). The default `headerLayout="stack"` never reads it \u2014 `extra` keeps wrapping onto its own full-width line under the subtitle. At >=640px both arrangements are identical, so this token only governs the compact range.'},{name:"--page-measure-{narrow,medium}",category:"semantic",tier:"semantic",role:'Bounded PageContainer MEASURE presets \u2014 42rem (672px) / 48rem (768px), selected by the semantic `measure` prop. They are OUTER measures: the package-owned page gutters (--space-page-active-x, 24px each side) sit INSIDE the cap, so the VISIBLE surface is 624px / 720px, and at 390px nothing binds (358px surface at the 16px compact gutter). Unlike variant="narrow" \u2014 which caps only .ui-page-body \u2014 the measure caps the page HEADER and the BODY together, so a header `extra` action ends flush with the body surface. `measure="default"` (the default) reads NEITHER token and matches no rule, so existing pages are unchanged. Retune the presets in a service theme; never author a page-local max-width.'},{name:"--badge-space-*",category:"component",tier:"component",role:"Badge spacing."},{name:"--button-count-{min-width,space-inline,font-size} / --button-count-{background,color} / --button-count-{default,destructive,secondary}-{background,color}",category:"component",tier:"component",role:"Button's COUNTER PILL (`count` / `overflowCount` / `showZero`). The COLOUR knobs exist because the pill used to tint itself translucently over whatever surface the button happened to have (`bg-primary-foreground/15` on filled variants, `bg-foreground/8` on the outline family), which means its contrast was a FUNCTION of that surface rather than a property of the pill \u2014 and five variant x theme x hover combinations measured below the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: default 3.88 light, destructive 4.29 dark, and the outline family 4.32 light at rest, 3.64 light on hover, 3.68 dark on hover. The two worst were HOVER states, which is exactly why a screenshot sweep never found them: `--accent` only exists under the cursor. The fix is the treatment validated on Toggle: OPAQUE role fills, so the ratio no longer depends on the variant or on hover. Each filled variant wears its OWN label pair SWAPPED (default --primary on --primary-foreground = 5.04 light / 7.07 dark; destructive 6.10 / 5.53; secondary 14.25 / 12.40), which makes the pill exactly as legible as the label beside it and impossible to make worse without making the button itself unreadable first \u2014 a promise a fixed colour could not make across re-themes. The outline family shares one pill, --foreground on --muted (14.25 / 12.40), whose --muted fill sits 1.09:1 against the button's own ground, so at rest the counter still reads as quiet text rather than a badge: it is the legibility of the DIGITS that rose, not the loudness of the pill. All eight colour knobs are ROLE-MIRROR knobs -- `initial` at :root with the role default at the CALL SITE -- so a scoped `.dark`/`[data-tenant]` override of the role reaches the pill. The geometry knobs are byte-identical to Toggle's, asserted by a token-parity test."},{name:"--toggle-count-{min-width,space-inline,font-size,radius,gap} / --toggle-count-{background,color} / --toggle-pressed-count-{background,color} / --toggle-pressed-border-color / --toggle-count-forced-outline-width",category:"component",tier:"component",role:"Toggle's COUNTER PILL (`count` / `overflowCount` / `showZero` / `countLabel`) \u2014 the counted, PRESSED chip Button could not express. SHARE vs SPLIT is the whole point of this group. GEOMETRY is shared: the five geometry knobs carry Button's exact counter values off the same primitive scale (var(--space-4) / var(--space-1) / var(--font-size-xs) / var(--radius-pill) / 0), so a Toggle count set beside a Button count measures identically in a browser (12.47px, 16px min-inline, 4px inline padding, pill radius, tabular-nums) and a token-parity test fails if either side moves alone. `--toggle-count-gap` is ADDITIVE to the toggle's own flex gap and defaults to the quiet 0 (rule #44). COLOUR is deliberately NOT shared: Button's pill sits on a static variant surface and tints itself translucently, but Toggle's pill sits on a surface that INVERTS when pressed, where that treatment cannot clear WCAG 1.4.3 AA at the xs step (measured 3.82:1, and 4.39:1 even at the lowest usable alpha \u2014 the ceiling is the chip label's own 5.04:1 and any tint only lowers it). So Toggle uses OPAQUE role fills that make its contrast independent of the chip's variant and hover surface, and inverts them with the state: unpressed --foreground on --muted (14.18:1 light / 12.44:1 dark), pressed --primary on --primary-foreground \u2014 the chip label's own pair, swapped (5.04:1 light / 7.05:1 dark), so the pill is exactly as legible as the label beside it. All five colour knobs are ROLE-MIRROR knobs: `initial` at :root with the role default at the CALL SITE, so a scoped `.dark`/`[data-tenant]` override of the role actually reaches the pill. `--toggle-pressed-border-color` defaults to the pressed fill itself (quiet, #44) and is the knob a service overrides when its pressed fill is a PALE tint that weakens the inversions. `--toggle-count-forced-outline-width` (1px) draws the pressed pill's outline under `forced-colors: active`, where every fill is flattened and neither inversion encodes anything \u2014 together with the chip border following the system Highlight, that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--logo-godx-{size,size-xs|sm|md|lg,color} / --logo-success-{background,foreground} / --logo-identity-foreground",category:"component",tier:"component",role:'The GoDX IDENTITY mark. COLOUR: its default is the --brand IDENTITY role (canonical emerald) \u2014 deliberately independent of --primary, so a re-themed action colour never recolours the brand, AND of --success, the \u82E5\u7AF9 STATUS green it must never default to (`tone="success"` names the semantic SLOT, not the status role). Role-mirror knobs: declared `initial` at :root with the role default at the CALL SITE (`hsl(var(--logo-godx-color, var(--brand)))`), so a scoped `.dark`/`[data-tenant]` override of --brand actually reaches the mark. BOX: `--logo-godx-size-{xs,sm,md,lg}` (1.5 / 1.75 / 2 / 2.5rem) is the identity mark\'s own size ramp \u2014 the `size` prop drives it exactly like --logo-size-* drives the boxed glyph, one tier above its glyph sibling because the artwork is a capsule inside a square viewBox. `--logo-godx-size` is the PIN, not the base: `initial` by default (so the tiers apply) and, set once by a service theme, it freezes the mark at that box on EVERY tier. INK: `--logo-identity-foreground` (48 9% 9%, #191815) is the colour the boxed `mark="glyph"` sets its TEXT in on the identity fill \u2014 deliberately NOT --brand-foreground. --brand-foreground is the artwork KNOCKOUT colour (it tracks --background in both themes, because `mark="godx"` punches its inner bar as an evenodd HOLE and the email mark paints that hole solid to match) and as negative space only owes WCAG 2.2 SC 1.4.11\'s 3:1. The boxed glyph renders real TEXT, so SC 1.4.3 applies at 4.5:1 \u2014 14px bold is NOT "large text" (that needs 18.66px bold / 24px) \u2014 and knockout white on the emerald measured only 3.67:1, a straight AA failure. The ink is theme-INVARIANT (it is the same near-black spine the dark theme already resolved to), so dark is unchanged at 6.89:1 and light rises to 4.74:1. It is NOT a role-mirror knob \u2014 its default is a real value, not a role, so there is no role to freeze and it is declared at :root, not `initial`. Re-theming --brand to a DARK fill? Override the public knob --logo-success-foreground to re-invert the ink. Applies to `<Logo mark="godx">` / `tone="success"`.'},{name:"--logo-wordmark-{gap,font-size-xs|sm|md|lg,font-weight,letter-spacing,font-family,color}",category:"component",tier:"component",role:'Wordmark/lockup knobs for `<Logo wordmark="\u2026" />` \u2014 the mark\u2194wordmark gap, the per-size-tier wordmark type ramp, and its face/weight/tracking/colour. The package ships NO wordmark artwork: `--logo-wordmark-font-family` defaults (at the call site) to --font-family-display, so the wordmark is typeset in the design-system face; pass an inline <svg> as `wordmark` when a real logotype exists. `--logo-wordmark-color` is a role-mirror knob (`initial`) whose call-site default is hsl(var(--foreground)), or the --brand IDENTITY role on the godx / tone="success" lockup \u2014 never --primary and never the --success status green. Setting it once in a service theme re-colours every lockup with no page CSS.'},{name:"--card-*",category:"component",tier:"component",role:"Card surface, border, spacing, and typography."},{name:"--control-*",category:"component",tier:"component",role:"Shared form control heights, padding, icons, and focus chrome."},{name:"--control-affix-{inset-inline-end,action-size,action-radius,icon-size,rest-alpha} / --control-trigger-space-inline-end",category:"component",tier:"component",role:"OVERLAY trailing affix \u2014 the clear \u2715 / chevron a select-family trigger parks ON TOP of its inline end. One set for Select, SearchSelect, Cascader and TreeSelect (`.ui-control-affix-action` / `-icon` / `-indicator`); the Dialog and Sheet close \u2715 borrow `--control-affix-icon-size` so every overlay \u2715 in the system is one size. Before #319 each of those hard-coded the same `end-2 size-6 rounded-sm opacity-50` stack, so retuning affix weight meant chasing the same literal through four components and missing one. `--control-affix-rest-alpha` (0.5) is the resting weight and is deliberately QUIETER than the inside-field set's 0.7 (`--control-inline-affix-rest-alpha`): an overlay affix floats over the selected value, so at equal weight the \u2715 starts reading as content. `--control-trigger-space-inline-end` (2.25rem, a raw rem because the `pe-9` it replaced is a flat Tailwind step, not a density-scaled one) is the inline room the trigger reserves so a long selected label never runs UNDER the affix \u2014 grow the affix without growing this and the label collides with it; shrink it without shrinking this and you ship dead space at every trigger's end."},{name:"--control-inline-affix-{size,icon-size,space-gap,inset-inline,rest-alpha,space-inline-end}",category:"component",tier:"component",role:"INSIDE-FIELD affix \u2014 the leading/trailing controls Input, Textarea, TimePicker and DatePicker render WITHIN the field box, as opposed to the overlay set (`--control-affix-*`) that a select-family trigger parks on top of. Kept a SEPARATE set on purpose, not an alias: these sit on the field's own surface rather than over it, so they rest heavier \u2014 `--control-inline-affix-rest-alpha` is 0.7 against the overlay's 0.5. Collapse the two into one knob and one side always loses: either the inline affixes go too faint to find, or the overlay \u2715 starts fighting the value it sits on. `--control-inline-affix-space-inline-end` (2.25rem) reserves room for exactly one affix. Pickers show clear when nonempty and clearable; otherwise they show their calendar/clock. Never render both. Textarea has no single line to centre on, so it pins its clear to the top-end corner via `--textarea-clear-inset-block-start` rather than centring like Input."},{name:"--textarea-autogrow-{line-height,min-height-rows,max-height-rows,box-inset} / --control-multiline-padding-block",category:"component",tier:"component",role:"Textarea `autoGrow` geometry \u2014 the box that grows with its content. The floor and ceiling are counted in TEXT ROWS (`--textarea-autogrow-min-height-rows` 1, `--textarea-autogrow-max-height-rows` 8), not pixels, because a row count survives a density change and a `--font-size-base` retheme while a px ceiling silently stops matching the visible line count. A service sets its composer's resting and maximum height once in theme; the `minRows` / `maxRows` props override per instance \u2014 the same theme-global / prop-local priority as `--form-label-width` vs `labelWidth`. `--textarea-autogrow-line-height` is `initial` at :root and read as `var(--textarea-autogrow-line-height, var(--line-height-normal))` at the call site, so a service that retunes the multiline line-height for CJK legibility retunes the row unit with it instead of getting a ceiling that no longer means eight visible lines. `--textarea-autogrow-box-inset` is the non-text part of the box the row maths adds back (block padding + border, both edges) and `--control-multiline-padding-block` is that block padding, shared with `.ui-control-multiline` itself so the two cannot drift. The floor is additionally clamped up to `--control-height`, so a resting one-row composer still lines up with the Input / Button on its row rather than undercutting the control tier. Every default reproduces today's geometry when `autoGrow` is absent."},{name:"--control-composite-field-*",category:"component",tier:"component",role:"The bordered two-input shell (`.ui-control-composite-field`) shared by DateRangePicker, MonthPicker and MonthRangePicker: one field box wrapping two inputs plus a separator so the pair reads as a SINGLE control instead of two adjacent ones. `--control-composite-field-space-gap` (`--space-2`) is the rhythm between the halves and the separator. Shared deliberately \u2014 before #319 each picker carried its own literal and the range fields drifted into slightly different boxes, the tell that a design system is not actually one system. The box's height, border, disabled state and focus chrome still come from `--control-*` / `.ui-control`, so retune this only for the internal gap; anything else belongs on the control family."},{name:"--menu-item-{height,radius,space-inline,space-gap,font-size,inset-space-inline-start} / --menu-content-{space-inset,min-width}",category:"component",tier:"component",role:"ONE row rhythm for every popup list surface: ContextMenu, Menubar, DropdownMenu AND Select's listbox all lay their rows out against these (`.ui-select-item` sits in the same rule as `.ui-dropdown-menu-item`), so a service retunes menu density once instead of four times. Before #319 the height was a literal `2rem` in the CSS and DropdownMenu had not been converted at all \u2014 it carried its whole box as Tailwind literals on the component. Set `--menu-item-height` and all four surfaces resize together; patch one component's padding instead and you get the four-menus-that-almost-match tell. `--menu-item-inset-space-inline-start` is the indicator column an inset row (a checkbox/radio row with no indicator of its own) reserves so its label stays aligned with its checked siblings \u2014 move it whenever you change `--menu-indicator-size`, or the two columns desynchronise. `--menu-content-min-width` (10rem) and `--menu-content-space-inset` are the panel, not the row; DropdownMenu re-points the min-width at `--dropdown-content-min-width` (8rem) because it anchors to a small trigger, so override that one to widen dropdowns alone."},{name:"--table-*",category:"component",tier:"component",role:"Table row/cell sizing."},{name:"--table-pagination-padding-{y,x}",category:"component",tier:"component",role:"DataTable.Pagination footer inset. The footer used to declare `padding-top` ONLY, so in the documented flush container (`<Card><CardContent flush><DataTable/>`) the 'rows per page' label and the page-size Select sat flush against the container edge and its closing border. It now owns `padding-block` + `padding-inline`. Both knobs are declared `initial` with the default at the CALL SITE \u2014 block `var(--space-stack-sm)` (the old padding-top value, now on both block edges), inline `var(--table-cell-space-x)` so the label lands on the same optical axis as the first column's text. `initial` is load-bearing: both defaults are density-scaled and re-declared inside a `.ui-density-*` subtree, and a `:root` binding would freeze the footer at the `:root` density. Consumers no longer need a local `.ui-data-table-pagination` override; a service on another grid retunes either axis."},{name:"--table-surface-min-inline-size",category:"component",tier:"component",role:'DataTable surface narrow-viewport width FLOOR. Below the `sm` viewport step a multi-column admin grid whose cells are `white-space: nowrap` would be crushed, so the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. This shipped as a hard-coded `min-w-[640px] sm:min-w-0` utility pair ON the surface element \u2014 the literal that forced the horizontal scroll at 390 \u2014 leaving a service that wants a narrower (or no) floor with no route but forking the component (rule #45). Default `640px`, byte-identical to the old utility, and deliberately px so the floor releases at exactly the same width as the px-based `sm` media query that clears it (a rem value drifts under a non-16px root and re-introduces the scroll between the two thresholds). Set `0` to opt out; `DataTable preset="action-collection"` already does, because there the column-priority measures own the width.'},{name:"--form-label-width",category:"component",tier:"component",role:"Label column width in horizontal Form layout. Default max-content; a service theme sets it once (e.g. 110px) \u2014 the labelWidth prop overrides per form/field."},{name:"--form-label-gap",category:"component",tier:"component",role:"Label\u2194control column gap in horizontal Form layout. Default 16px (--space-4)."},{name:"--dialog-* / --alert-* / --skeleton-*",category:"component",tier:"component",role:"Feedback component sizing and spacing."},{name:"--banner-{radius,border-width,space-inset-block,space-inset-inline}",category:"component",tier:"component",role:'Banner strip geometry \u2014 the full-bleed presentation of the Alert primitive (`<Banner>` / Alert variant="banner"). radius 0 (square strip corners), a single hairline block-end rule (tone-coloured by the alert rules), block inset denser than the inline card (--space-3), inline inset defaulting to the page gutter (--space-page-active-x) so banner text aligns with page content. Colour stays entirely with `tone`; a service retunes the strip once here \u2014 a consumer never writes CSS to place a banner.'},{name:"--page-header-status-gap",category:"semantic",tier:"semantic",role:"Gap between the page title and its status/meta band (PageContainer `status`), and between the band's own items. Default --space-inline-sm. The band shares the title line and wraps under it on compact viewports; a page that never passes `status` reads neither the token nor the wrapping row."},{name:"--sheet-responsive-breakpoint-width / --sheet-bottom-max-height",category:"component",tier:"component",role:`The responsive drawer / detail-panel contract (SheetContent responsive="auto"). --sheet-responsive-breakpoint-width (default 48rem = 768px, the library's canonical mobile line) is the viewport width at and below which the desktop side panel becomes a mobile bottom sheet; --sheet-bottom-max-height (default 85dvh) caps THAT bottom presentation only (a plain side="bottom" sheet stays content-sized). Because a CSS @media cannot resolve a custom property, the breakpoint is read off :root at runtime by the exported useSheetResponsiveMode() hook \u2014 which is also what OrgSwitcher responsive="auto" uses, so ONE knob moves the popover\u2192sheet and side\u2192bottom line for every overlay at once. Accepts px/rem/em.`},{name:"--scroll-area-anchor-offset",category:"component",tier:"component",role:'ScrollArea `anchor="bottom"` stickiness band: how close to the bottom edge the reader still counts as "following the stream". Inside it, arriving content keeps the viewport pinned to the newest item; one pixel beyond it the reader is reading history and anchoring never moves them again until they come back (WCAG 3.2.5). Sized to the row height a service renders \u2014 a dense audit line is ~20px, a chat bubble with an avatar ~64px, and "one row from the bottom" is what the reader means. In rem so the band is still one row at 200% zoom. A CSS comparison cannot express it, so the component reads the token off the element at mount (px/rem/em accepted); the `anchorOffset` prop overrides it per instance. The rail geometry knobs (--scroll-area-bar-size / -bar-padding / --scroll-area-thumb-radius) live with the data-display tier.'},{name:"--qr-code-*",category:"component",tier:"component",role:"QrCode scanner-safe foreground/background and xs/sm/md/lg natural-size tiers. Keep foreground/background at strong contrast; the defaults remain dark-on-light in dark application themes."},{name:"--chart-trend-plot-height{,-xs,-sm,-md,-lg}",category:"component",tier:"component",role:"CompactBarTrend plot-height tiers (xs 3.5rem = dashboard summary-card density, sm 5rem, md 7.5rem, lg 10rem). The `size` prop picks a step via data-size; a service retunes the whole scale here. This is why a consumer NEVER writes an inline height for a compact trend."},{name:"--chart-trend-bar-{gap,radius,max-width,min-height}",category:"component",tier:"component",role:"CompactBarTrend mark geometry: gap between bars (default --space-2), rounded data-end radius (--radius-sm), the per-mark width ceiling (1.5rem, so a 3-point trend does not render slabs) and the min height floor (2px, so a zero value still reads as a plotted category). All service-tunable (rule #45)."},{name:"--chart-trend-bar-background{,-alpha} / --chart-trend-bar-emphasis-background",category:"component",tier:"component",role:"CompactBarTrend fills \u2014 role-mirror knobs declared `initial` with the role default at the call site. Muted marks default to hsl(var(--muted-foreground) / --chart-trend-bar-background-alpha) (0.75, which clears the 3:1 non-text contrast floor); the emphasized 'current' mark defaults to hsl(var(--primary)). Point them at --chart-N to tint a trend to a series colour."},{name:"--chart-trend-baseline-border",category:"component",tier:"component",role:"CompactBarTrend baseline rule. QUIET by default (rule #44 \u2014 resolves to `none`); a service opts in with `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-{tick-gap,tick-font-size,footer-gap}",category:"component",tier:"component",role:"CompactBarTrend category-tick and activity-footer rhythm \u2014 the plot\u2194tick gap, tick type size (--font-size-xs) and the plot\u2194footer gap."},{name:"--email-shell-{width,padding,page-padding,border-width} / --email-card-{radius,reference-height} / --email-stack-gap{,-sm}",category:"component",tier:"component",role:"Transactional-email shell geometry: the 480px card width, its 32px inset, the 24px viewport gutter, the 1px edge, the 10px radius (mirrors --card-radius) and the block rhythm. The canonical invitation reference measures 480\xD7407 (--email-card-reference-height is a visual-regression target, NEVER a fixed height on the card). Values are LITERAL px \u2014 email clients resolve neither var() nor rem \u2014 and are consumed through the `@godxjp/ui/email` export (EMAIL_SHELL), never by a stylesheet."},{name:"--email-{body,heading}-{font-size,line-height,font-weight} / --email-font-family-{sans,mono}",category:"component",tier:"component",role:`Email type ramp, reconciled with the SCR-302 canonical reference. Body 14px/1.9, title 17px/1.7 at weight 500 (a transactional title is CALM, not bold) \u2014 deliberately looser and quieter than the web ramp, because a mail client gives the reader no density control, so do NOT 'fix' it back to --heading-h1/--line-height-body. --email-font-family-sans names the canonical Noto Sans JP face first and degrades Hiragino \u2192 Yu Gothic \u2192 M PLUS 2 \u2192 Meiryo \u2192 system UI \u2192 Arial \u2192 sans-serif; no email client honours @font-face, so the stack is the whole fallback contract. --email-font-family-mono (mirrors --font-family-mono) sets invoice ids, masked card numbers, ISO dates and amounts. Family names export SINGLE-quoted so the value drops into a double-quoted style="\u2026" attribute unescaped (emailInlineStyle throws on a double quote). Exposed as EMAIL_TYPOGRAPHY.`},{name:"--email-mark-{width,height,gap} / --email-wordmark-{font-size,font-weight}",category:"component",tier:"component",role:'Email brand-mark LOCKUP. The ARTWORK is byte-identical to <Logo mark="godx" /> (the 32\xD732 capsule + internal glyph, asserted by test); only the rendered box is email-specific \u2014 the canonical header sets a 22px mark, an 8px gap (mirrors --logo-wordmark-gap) and a 13px/700 wordmark (mirrors --logo-wordmark-font-weight). In that pairing the mark is DECORATIVE (render it with label: "") and the wordmark carries the accessible name, so the brand is announced once. Exposed as EMAIL_BRAND_MARK; the svg / dataUri / tableHtml deliveries all derive from this one geometry source.'},{name:"--email-cta-{height,line-height,padding-x,radius,font-size,font-weight} / --email-focus-border-width",category:"component",tier:"component",role:"The single primary email CTA, reconciled with the SCR-302 canonical reference: 44px tall with line-height EQUAL to the height so the label centres without flexbox in Outlook, 16px inline padding (--space-4), the 6px --radius base, 14px/500 label. The height is a TOUCH TARGET and is deliberately DECOUPLED from --control-height-lg (36px), which it mirrored until 18.8.0 \u2014 do not restore the mirror. Email is touch-only: no hover, no precise pointer, no dependable zoom, so the web AA floor (SC 2.5.8, 24\xD724, which 36px clears) is the wrong bar. 44px is SC 2.5.5 Target Size (Enhanced, AAA, 44\xD744) plus the Apple HIG 44pt / Material 48dp convention, and the mobile reflow still takes the CTA full-bleed. Fill/label are EMAIL_COLORS.primary / primaryForeground, derived from the --primary role \u2014 never paste a canonical hex, or the email stops tracking a re-theme. --email-focus-border-width mirrors --focus-ring-width for the webmail panes that honour :focus-visible. Exposed as EMAIL_CTA / EMAIL_FOCUS."},{name:"--email-footer-{font-size,line-height,link-gap,padding-top,border-width} / --email-mobile-*",category:"component",tier:"component",role:"Legal-footer typography (11px/1.8 quiet type per the SCR-302 canonical, 12px between adjacent links, 20px above the hairline) and the narrow-viewport reflow (520px breakpoint, fluid card, 20px inset, 12px gutter, 16px heading \u2014 one step under the 17px desktop title, full-bleed CTA). The canonical 390px reference raster is unusable (435px wide and already clipping the card, dxs-platform/platform#496), so the mobile ramp is the library's documented contract rather than a measured value. Exposed as EMAIL_FOOTER / EMAIL_MOBILE; every reflow rule needs an inline fallback because most clients strip <style>."},{name:"--auth-shell-device-{card-max-width,main-padding,main-padding-mobile,otp-slot-inline-size,otp-slot-block-size}",category:"component",tier:"component",role:'AuthShell `preset="device-authorization"` measure \u2014 the canonical OAuth device-grant artboard: a 23.75rem/380px card at 1440/1024 and a 15px-block \xB7 5px-inline page gutter at 390 (so the card renders x=5px, width=380px), PLUS the code field the flow is actually about. The preset now owns its OTP slot box and hands it to --otp-slot-{inline,block}-size: 27.5x52 per slot, i.e. a 4-slot `appearance="grouped"` box of 112x54 with its 1px group border. Without it the field fell back to the square --control-height tier and rendered 146x38 against that artboard \u2014 the preset owned the page but not its subject. LITERAL lengths, not --space-*, because the artboard specifies exact device pixels that must not drift with --scaling. Selecting the preset replaces a consumer-side --auth-shell-card-max-width override or a forked `.auth-shell--wide` class; the canonical 360px/15px default is untouched.'},{name:"--auth-shell-context-{card-max-width,main-padding,main-padding-mobile,card-stack-gap}",category:"component",tier:"component",role:'AuthShell `preset="context-selection"` measure \u2014 the organisation/context picker: a 25rem card on desktop/tablet, edge-to-edge on mobile (0 inline gutter), and a 1rem rhythm between the three direct sections of the auth column (intro \xB7 choice card \xB7 "remember" row).'},{name:"--auth-shell-recovery-{card-max-width,main-padding,main-padding-mobile}",category:"component",tier:"component",role:'AuthShell `preset="account-recovery"` measure \u2014 the SCR-008 27rem/432px panel, shared by the password-recovery panel (request \xB7 sent \xB7 new-password \xB7 expired) AND the sign-in MFA challenge panel (OTP \xB7 recovery-code \xB7 passkey-failure), because both canonical desktop panels measure w=432 at 1440. Mobile gutter = 15px inline at <=30rem, so the panel is x=15, width=360 \u2014 the SAME rhythm as the canonical Login flow, chosen deliberately: the supplied 390 reference is a desktop 2x2 composite that crops horizontally and is NOT a valid source. The canonical 360px Login measure and the 24rem un-preset shell are untouched.'},{name:"--auth-shell-registration-{card-max-width,main-padding-block-start,main-padding-block-start-mobile,main-padding-inline,main-padding-inline-mobile,main-padding-block-end,main-padding-block-end-mobile,card-stack-gap,identity-slot-block-size}",category:"component",tier:"component",role:'AuthShell `preset="registration"` measure \u2014 the canonical SCR-002 sign-up flow: a 22.5rem/360px form measure with a 15px inline gutter at 390 (card x=15, width=360 \u2014 the same page rhythm as the Login flow, so sign-in \u2192 sign-up never jumps on a phone). START-aligned (a tall sign-up card must scroll, not clip its own top above the scroll origin), with the block-start offset DERIVED from the canonical artboard (card y=284 at 1440x900, y=274 at 390x844: padding-block-start + 112px identity slot + 20px stack gap), and a footer-clearance knob of its own (block-end 3rem / 2rem mobile) so the legal/consent footer never sits flush against the submit button after a long scroll. The fixed 112px identity track absorbs absent / one-line / wrapped two-line identity copy without moving the card anchor.'},{name:"--otp-slot-size",category:"component",tier:"component",role:"InputOTP slot box. Default `var(--control-height)` \u2014 byte-identical to before and still density-aware \u2014 but its OWN knob, so an auth panel can widen the 6-slot challenge row to fill a wide surface WITHOUT re-scoping --control-height (which would resize the primary button and every other input in the same card). Set it to a NAMED tier (`var(--control-height-lg)`), never an ad-hoc calc offset."},{name:"--otp-slot-{inline-size,block-size}",category:"component",tier:"component",role:'Per-AXIS InputOTP slot box. --otp-slot-size stays the SQUARE shorthand; these two win over it and fall back to it, so a code field that is taller than it is wide \u2014 the canonical device-grant slot, 27.5x52 \u2014 is finally expressible from a token. Declared `initial` so the whole chain (axis \u2192 square \u2192 --control-height) resolves at the CALL SITE and a shell that re-scopes --control-height still reaches a field that sets neither axis. `AuthShell preset="device-authorization"` sets both for you.'},{name:"--otp-container-align",category:"component",tier:"component",role:'Main-axis alignment of the whole InputOTP row. Default `flex-start` = the historical layout, so nothing moves. It exists because a centred code challenge is the common auth case and the container element belongs to `input-otp` \u2014 the only thing a consumer could reach was a wrapper div, and every one of them wrote it. Per instance use `align="center"` on InputOTP, which outranks this token.'},{name:"--tabs-indicator-{background,size,offset}",category:"component",tier:"component",role:"Tabs `line` ACTIVE indicator \u2014 the only selected-state decoration the line variant paints; it never gets a surrounding ring/card border, so the `:focus-visible` keyboard ring stays visible and distinct (WCAG 2.4.7). --tabs-indicator-background is declared `initial` so its hsl(var(--primary)) default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme. Defaults = primary \xB7 2px \xB7 offset 0 (flush with the trigger edge); raise the offset to park the bar on a thicker strip hairline. The selected ring on the default/card variants is unchanged."},{name:"--avatar-square-{radius,size,background,foreground}",category:"component",tier:"component",role:'Avatar `shape="square"` entity-header mark \u2014 the compact rounded square an organization/service header uses instead of the round person avatar. --avatar-square-background / --avatar-square-foreground are declared `initial` so the hsl(var(--primary)) / hsl(var(--primary-foreground)) defaults re-resolve at the CALL SITE under a scoped theme. Defaults = --radius-lg corners \xB7 --control-height box (swapping shape never reflows the header) \xB7 primary fill at 4.65:1 contrast. `shape="circle"` (the default) is inert and reads --avatar-background / --avatar-tint as before.'},{name:"--avatar-tinted-{background,foreground,glyph-size}",category:"component",tier:"component",role:'Avatar `appearance="tinted"` \u2014 the CAPABILITY MEDALLION: the tinted plate a feature/capability glyph sits on, as opposed to the solid entity mark above. Orthogonal to `shape`, so `shape="square" appearance="tinted"` is the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are declared `initial` so the hsl(var(--primary) / 0.1) / hsl(var(--primary)) defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme \u2014 which is the whole point: consumers were writing that 0.1 alpha literal into page CSS, or giving up and rendering a bare glyph, because the medallion is a composition (Avatar + a Lucide glyph) whose tint had no token. Defaults = 10% primary wash \xB7 primary glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-presence-{size,min-size,inset,ring-width,ring-color,stroke-width,bar-inline-size,bar-block-size,online-color,away-color,busy-color,offline-color}",category:"component",tier:"component",role:'Avatar `presence` \u2014 the realtime reachability dot on the mark. Every constant is a knob because the workaround it replaces baked four of them plus a raw palette colour into consumer page CSS (`-end-0.5 -bottom-0.5 size-2.5 ring-2 bg-green-500`). --avatar-presence-size is a PROPORTION of the mark (default 30%, floored by --avatar-presence-min-size = --space-2), NOT a px step, so one value tracks every avatar the system paints \u2014 the --control-height box and its xs/sm/lg steps, --avatar-square-size, --org-switcher-avatar-size, --upload-avatar-size, a call site\'s own `size-12`, the 36px ListRow density="compact" mark \u2014 instead of freezing a diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs declared `initial`, with the role default at the CALL SITE (`var(--knob, var(--role))`), so a scoped [data-tenant]/.dark override of --background / --success / --warning / --destructive / --muted-foreground reaches them \u2014 bound at :root the ring would freeze light-mode-white on a dark avatar. --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the ACCESSIBLE encoding, not decoration: they draw the per-state silhouette (filled / half-filled / barred / hollow) that keeps presence off colour-alone (WCAG 1.4.1) in greyscale, for a deuteranope and under forced colors. Defaults = 30% diameter (floor 0.5rem) \xB7 flush with the corner (inset 0) \xB7 a 2px --background separator ring \xB7 a 1.5px state stroke \xB7 a 56%-wide 1.5px dnd bar.'},{name:"--separator-{rule-size,rule-color,label-gap,label-inset,label-font-size,label-line-height,label-font-weight,label-color,tone-<tone>-rule-color,tone-<tone>-label-color}",category:"component",tier:"component",role:"Separator, including the LABELLED rule a `label` interrupts \u2014 a message stream's day divider, a \"new messages\" unread watermark, an auth conjunction. Before #308 the only labelled rule in the library was the auth-scoped AuthDivider, which baked `height: 1px` into shell-layout.css and read the `--auth-shell-divider-*` micro-scale, so a service retuning its login divider silently retuned every day divider in its chat. Defaults are the QUIETEST state: a 1px hairline, a muted --font-size-xs label at --font-weight-medium, no surrounding padding. --separator-label-gap and --separator-label-inset (the SHORT rule half under labelAlign start/end \u2014 a grid track on the inline axis, so it flips under RTL) are declared `initial` because --space-* is density-scaled and re-declared inside a `.ui-density-*` subtree; a :root binding would freeze them at the :root density. Every colour knob is a role-mirror and is likewise `initial`, with the role default at the CALL SITE \u2014 --separator-rule-color \u2192 --border, --separator-label-color \u2192 --muted-foreground, and --separator-tone-{muted,primary,success,warning,destructive,info}-{rule,label}-color \u2192 the matching semantic role. `tone` re-points the rule AND the label, never the rule alone, so an attention rule is not colour-only (WCAG 1.4.1) and survives forced-colors. AuthDivider now only re-points these knobs at the --auth-shell-divider-* layer, so #263's canonical login geometry is unchanged."},{name:"--steps-inline-{gap,item-gap,font-size,separator-size,index-font-weight,index-color,separator-color}",category:"component",tier:"component",role:"Steps type=inline compact auth/device progress rhythm, typography and EMPHASIS. Consumers select the semantic appearance; services retune the row once without page CSS. The step number's emphasis is two knobs \u2014 --steps-inline-index-font-weight (default bold) and --steps-inline-index-color (role-mirror `initial`, default the inherited step colour) \u2014 because the canonical hosted-identity row marks the step with an accent TINT at normal weight while the library default marks it with bold. --steps-inline-separator-color (role-mirror `initial`, default --muted-foreground) tints the glyph the `separator` prop picks."},{name:"--auth-account-summary-{min-height,gap,padding,identity-min-width,avatar-size,avatar-glyph-size,email-font-size}",category:"component",tier:"component",role:"AuthAccountSummary compact signed-in identity row: wrapping threshold, avatar, email and action rhythm. The default touch-safe row is package-owned and remains themeable without consumer selectors."},{name:"--auth-shell-{main-align,card-stack-gap}",category:"component",tier:"component",role:"AuthShell column knobs shared by every preset. --auth-shell-main-align is the block alignment of the auth column (default `center`, the vertically-centred card; set `start` for a tall intro+card+footnote stack). --auth-shell-card-stack-gap is the gap between the card slot's direct sections \u2014 default `0px` (quiet, rule #44) so an existing single-card consumer is byte-for-byte unchanged; a preset opts in."},{name:"--card-{accent-rail-width,accent-perimeter-width,accent-perimeter-ring-width,featured-border-color,featured-ring-width}",category:"component",tier:"component",role:'Card ACCENT geometry, one set per placement. `accentPlacement="edge"` (the default) draws the leading rail at --card-accent-rail-width (6px). `accentPlacement="perimeter"` draws the FULL attention border, measured by --card-accent-perimeter-width + --card-accent-perimeter-ring-width (1px + 1px, the optical weight of `variant="featured"`) in the card\'s own semantic accent tone. `variant="featured"` is the brand-toned member of the same family and no longer hard-codes --primary: its edge is the --card-featured-border-color role-mirror knob (`initial`, so the --primary default resolves at the CALL SITE and a scoped [data-tenant]/.dark override reaches it) at --card-featured-ring-width. The accent COLOUR itself is not a knob \u2014 it is resolved from `data-accent` on the card, so retint the ROLE (--attention, --success \u2026).'},{name:"--card-space-shell-y",category:"component",tier:"component",role:"Card BLOCK-axis shell padding \u2014 a plain header's top, a `solo` body's top and the terminal slot's bottom. Split off --card-space-inset, which is now inline-only, so a theme can make a card SHORTER without narrowing its column. Declared `initial`: the default resolves at the CALL SITE to --card-space-inset, so a card that overrides neither (and `density=\"tight|cozy\"`, which re-declares it `initial` to re-arm the per-instance inset) renders exactly as before."},{name:"--auth-shell-{compact-card-inset,card-padding-block-compact,card-body-gap-compact,card-gap-compact}",category:"component",tier:"component",role:"The compact AuthShell card's four independent knobs \u2014 one per axis, so the canonical Login card is tunable WITHOUT a consumer selector on the card-content slot: `compact-card-inset` = the inline column (\u2192 --card-space-inset); `card-padding-block-compact` = the card's block/top-bottom padding (\u2192 --card-space-shell-y, `initial` so its default mirrors the live inline inset and canonical output is unchanged); `card-body-gap-compact` = the header\u2194body gap (\u2192 --card-space-body-y, 12px, the role the block knob used to be mis-wired to); `card-gap-compact` = the in-slot title\u2195description stack gap (\u2192 --card-space-gap)."},{name:"--app-setting-picker-compact-{control-height,padding-x,gap,font-size}",category:"component",tier:"component",role:'AppSettingPicker `compact` trigger \u2014 the small, content-hugging LABELLED switcher for an auth/legal footer (`kind="locale" appearance="labeled" compact`). The box height reads the official --control-height-sm tier (never a literal or an ad-hoc calc), and padding/gap/type are separate knobs so a service theme retunes the footer switcher without forking CSS.'},{name:"--centered-shell-column-offset-block",category:"component",tier:"component",role:'CenteredShell column block offset \u2014 default `0` (the quiet state, rule #44: the top-aligned flowing/scrolling page). `<CenteredShell align="center">` flips it to `auto`, which centres the column in the 100dvh shell: the package-owned geometry for a SYSTEM-level standalone surface (a 500/503 error page, a maintenance notice) at 1440/1024/390, so a consumer never writes `min-h-dvh` + flex-centring CSS or a className. Auto block offsets collapse to 0 when the content is taller than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--error-surface-*",category:"component",tier:"component",role:'ErrorSurface knobs \u2014 the whole 403/404/500/503 exception surface is themeable without a single consumer class or media query, in BOTH `mode="application"` and `mode="system"`. Geometry: `--error-surface-max-width` (32rem measure of the surface block, so a long JA/VI headline wraps readably even inside a wide PageContainer), `--error-surface-gap` (rhythm between status code \xB7 body \xB7 metadata \xB7 progress), `--error-surface-padding-block` (--space-10, the 1440/1024 steps) and `--error-surface-padding-block-compact` (--space-6, below the narrow step, i.e. the 390 case), `--error-surface-brand-gap` (system-mode Logo slot) and `--error-surface-progress-max-width` (18rem, so the maintenance meter reads as metadata, not as the page\'s primary content). Metadata list: `--error-surface-meta-gap` (row rhythm) \xB7 `--error-surface-meta-row-gap` (label\u2194value gap inside one row) \xB7 `--error-surface-meta-padding-block`. Chrome is QUIET by default (rule #44): `--error-surface-meta-border` is `none`; a service opts in with `1px solid hsl(var(--border))`. The narrow step is a CONTAINER query at 30rem on the SURFACE\'s own width, not a viewport media query, so it compacts correctly whether the squeeze came from a 390px phone or from an application shell with an expanded sidebar; below it, metadata rows stack label-over-value. System-mode viewport centring is delegated to `--centered-shell-column-offset-block` (via CenteredShell align="center"), and the description measure to `--empty-state-description-max-width`.'},{name:"--centered-shell-landing-*",category:"component",tier:"component",role:'CenteredShell public-landing knobs \u2014 the SHELL geometry of a public marketing/product landing, so the landing itself stays a COMPOSITION (Hero/Navbar/Footer fail the Framework-Component Test) with ZERO page-local CSS. Read only under `preset="public-landing"`; the default shell emits no `data-preset`, so none of them can match. Measure: `--centered-shell-landing-max-width` (67.5rem, shared by the header bar, the centred column AND the footer \u2014 the bar/footer inline padding is `max(gutter, (100% - measure) / 2)`, so header content starts on exactly the column edge and no consumer max-width wrapper exists), `--centered-shell-landing-inset-inline` (+ `-compact`, the 390 gutter), `--centered-shell-landing-main-padding-block` (+ `-compact`), `--centered-shell-landing-section-gap` (+ `-compact`, the rhythm BETWEEN plain `<section>` elements \u2014 the consumer never sets a gap) and `--centered-shell-landing-footer-padding-block`. Chrome is QUIET by default (rule #44): `--centered-shell-landing-card-shadow` is `none`, which flattens every Card in the subtree from ONE knob instead of a consumer `.landing .card { box-shadow: none }`. Type: `--centered-shell-landing-heading-size` (+ `-compact`) re-points `--heading-h1`, so a hero title is a real `Heading level={1}` and never a page font-size. `--centered-shell-landing-background` is a ROLE-MIRROR declared `initial` with the role default at the call site (`var(--centered-shell-landing-background, var(--background))`), so a scoped [data-tenant]/.dark override of `--background` still reaches the landing canvas. The compact step is a 40rem media query owned by the package; region visibility (anchor nav below the tablet step, wordmark and the secondary action at mobile) is `Flex hideBelow` / `hideFrom`, never a consumer @media.'},{name:"--table-action-collection-*",category:"component",tier:"component",role:'Table action-collection knobs \u2014 the canonical dense approval/action queue at 1440 \xB7 1024 \xB7 390. Read only under `preset="action-collection"`. Column PRIORITY measures replace the desktop intrinsic widths (a `white-space: nowrap` free-text column is what makes a five-column queue wider than its card and forces the horizontal scroll): `--table-action-collection-primary-width` (18%), `-secondary-width` (22%), `-meta-width` (12%) and `-actions-width` (3.5rem \u2014 an absolute measure because the row-action affordance must never be squeezed below its touch target); an unmarked column takes the remaining space. Below the collapse step the same four re-point to their `-compact` tier (24% / 22% / 20% / 2.75rem) together with `--table-action-collection-font-size-compact`, `-row-height-compact`, `-cell-space-x-compact` and `-cell-padding-y-compact`. The step is a CONTAINER query on the table\'s own width (sm 40rem \xB7 md 48rem \xB7 lg 64rem \xB7 xl 80rem via `collapseBelow`), not a viewport media query, so a table inside a master rail collapses before the page does. Percentages so the ratio holds at any card width; a service retunes the ratio once instead of authoring column widths per screen (rule #45). ONE family serves BOTH entry points \u2014 the `Table` primitive (`priority` on `TableHead`/`TableCell`) and the TanStack `DataTable` (`priority` on the `ColumnDef`, stamped onto both cells for you). There is deliberately no parallel `--data-table-action-collection-*` family: retune these once and every queue follows.'},{name:"--legal-document-*",category:"component",tier:"component",role:"LegalDocumentShell knobs \u2014 the whole legal/policy document surface is themeable without a single consumer `.legal-*` class. Geometry: `--legal-document-measure-max-width` (46rem readable measure, caps header/body/footer), `--legal-document-toc-width` \xB7 `--legal-document-column-gap` \xB7 `--legal-document-toc-inset-block-start` (sticky offset) \xB7 `--legal-document-toc-max-height`, `--legal-document-section-gap` \xB7 `--legal-document-section-title-gap` \xB7 `--legal-document-header-gap` \xB7 `--legal-document-meta-gap` \xB7 `--legal-document-nav-gap` \xB7 `--legal-document-footer-gap`, `--legal-document-meta-font-size`, `--legal-document-body-line-height` (1.8 long-form leading) and `--legal-document-scroll-offset` (the `scroll-margin-block-start` a hash jump leaves above a heading \u2014 this is why no app needs JS offset arithmetic). Contents entries: `--legal-document-toc-font-size` \xB7 `--legal-document-toc-title-font-size` \xB7 `--legal-document-toc-item-padding` \xB7 `--legal-document-toc-item-radius` \xB7 `--legal-document-toc-marker-width`. Chrome is QUIET by default (rule #44): `--legal-document-toc-border` / `--legal-document-header-border` / `--legal-document-footer-border` are all `none`; a service opts in with `1px solid hsl(var(--border))`. The six colour knobs are ROLE-MIRRORS declared `initial` with the role default at the call site \u2014 `--legal-document-toc-foreground` (\u2192 --muted-foreground, also paints the contents caption), `--legal-document-toc-active-foreground` (\u2192 --foreground), `--legal-document-toc-active-background` (\u2192 --accent), `--legal-document-toc-marker-color` (\u2192 --primary), `--legal-document-meta-foreground` (\u2192 --muted-foreground) and `--legal-document-summary-foreground` (\u2192 --muted-foreground) \u2014 so a scoped [data-tenant]/.dark override of the role still reaches them. The one-column \u21C4 two-column split is a CONTAINER query at 56rem on the shell's own width, not a viewport media query."},{name:"--empty-state-description-max-width",category:"component",tier:"component",role:"EmptyState description MEASURE \u2014 default 28rem (~65 Latin characters per line). A service or locale that needs a shorter/longer measure for its own copy (JA/VI error-page descriptions, a narrow system surface) retunes this one knob instead of forking `.ui-empty-state-description` (rule #45)."},{name:"--sidebar-badge-{background,foreground} / --sidebar-badge-destructive-{background,foreground}",category:"component",tier:"component",role:'Sidebar nav COUNT PILL colour, split into a resting pair and an emphasis pair. Before these knobs `.sb-badge` had a font-size token and no colour token at all, so a rail that had to tell "unread" from "mentions you" could only nest a `<Badge>` INSIDE `SidebarItemProp.badge` \u2014 which renders a pill inside a pill (measured: a 37.11x19.14 `.sb-badge` wrapping a 25.11x19.14 `<Badge>` with its own border). The resting pair is what every badge has always looked like (hsl(var(--secondary)) fill, hsl(var(--muted-foreground)) text); the `-destructive-` pair is read ONLY by rows that pass `badgeTone="destructive"`, which is the only thing that emits `data-tone` on the pill (rule #44), so a rail that never sets the prop renders exactly the node it always did. All four are role-mirror knobs declared `initial` with the role default resolved at the call site, so a scoped [data-tenant]/.dark override reaches them. Colour ONLY \u2014 the pill\'s min-width, radius, inline pad and font size are shared by both tones, which is what keeps a mention row and an unread row aligned in the same column.'},{name:"--sidebar-nav-item-{foreground,hover-foreground,disabled-foreground} / --sidebar-nav-icon-{foreground,hover-foreground,active-foreground,disabled-foreground}",category:"component",tier:"component",role:"Sidebar navigation row + icon COLOUR, split so they can differ. Previously `.sb-nav-item` set one `color` for the whole row, so the Lucide SVG inherited `--muted-foreground` along with the label and the icons read as 'missing' against a canonical shell that wants darker 16px icons. `--sidebar-nav-item-*` drives the row/label (incl. sub rows), `--sidebar-nav-icon-*` drives `.sb-icon`. All are role-mirror knobs declared `initial` at `:root` with the role default at the call site, so a scoped `[data-tenant]`/`.dark` override reaches them; icon defaults resolve to `currentColor`, i.e. rendering is unchanged until a service opts in (`--sidebar-nav-icon-foreground: hsl(var(--foreground))` is the canonical darker-icon setting). Colour ONLY \u2014 the 16px icon, 32px row height and 10px gap are untouched. The active row keeps `--sidebar-item-active-{background,foreground}`."},{name:"--list-row-compact-{padding-y,padding-x,gap,body-min-width}",category:"component",tier:"component",role:'ListRow `density="compact"` inline-actions geometry \u2014 the compact invitation/history row: a 36px leading Avatar, a shrinkable title+description and one or two small trailing Buttons on ONE line inside the canonical 358px card (326px content). `--list-row-compact-body-min-width` (6rem) is the compact body threshold \u2014 the default 12rem `--list-row-body-min-width` is what forced the actions (and a history Badge + date) onto a second line at 390px; it is consumed as `min(<token>, 100%)` exactly like the default knob, so the #224 wrap contract is intact and a cluster that genuinely cannot fit still wraps instead of widening the page root. `--list-row-compact-{padding-y,padding-x,gap}` are declared `initial` with the density-scaled default at the CALL SITE (`var(--space-2)` block, `var(--list-row-padding-x)` inline, `var(--space-2)` gap) \u2014 a `:root` binding would freeze compact rows at the `:root` density. Measured at 390px: invitation row 62px (was 126px, actions wrapped), history row 41px (was 114px), documentElement scrollWidth === clientWidth.'},{name:"--list-row-{body-min-width,trailing-gap,indicator-size,read-background,unread-background,indicator-color}",category:"component",tier:"component",role:"ListRow shrink + unread state. `--list-row-body-min-width` (12rem) is consumed as `min(<token>, 100%)` \u2014 the `min()` is load-bearing, a bare length re-inflates the row's intrinsic width and reintroduces page-root overflow. `--list-row-trailing-gap` spaces wrapped trailing actions. The unread trio are role-mirror knobs declared `initial` with the role at the call site: `--list-row-unread-background` defaults to `hsl(var(--muted))` NOT `--accent` \u2014 accent measured 4.23:1 against the xs muted-foreground description line, below WCAG AA; muted is 4.63:1 light / 5.47:1 dark. `--list-row-indicator-color` (\u2192 `--primary`) and `--list-row-indicator-size` drive the unread dot, whose meaning is carried by localized sr-only text, never by colour alone."},{name:"--filter-bar-scroll-padding-y",category:"component",tier:"component",role:'Scrollbar gutter for `<FilterBar overflow="scroll">`, default `var(--space-1)`. Only applies at \u2265640px, where a wide filter set becomes a single nowrap strip with a sticky inline-end clear-all; below that the bar still stacks, so the gutter would be dead space. Pair with the existing `--filter-bar-sticky-background` (already an `initial` role-mirror knob) when theming the strip.'},{name:"--filter-bar-{search-width,filter-width,chip-gap,section-gap}",category:"component",tier:"component",role:"FilterBar typed-model geometry \u2014 every list page gets the SAME search width, filter width, chip rhythm and section stacking without page-local CSS (rule #45: theme sets once, className overrides per instance). `--filter-bar-search-width` (20rem) sizes the model search slot; `--filter-bar-filter-width` (\u2192 `--filter-picker-width-md`) is the min inline size of each typed filter group; both apply from 640px up, consumed as `min(100%, <token>)` so a 390px viewport never overflows with long JA/EN/VI labels (below 640px everything stacks full-width). `--filter-bar-chip-gap` (`--space-2`) spaces the applied-chips row; `--filter-bar-section-gap` (`--space-2`) stacks strip \u2192 chips \u2192 result-count/error line."},{name:"--app-shell-{sidebar-width,rail-width}",category:"component",tier:"component",role:"AppShell docked navigation TRACK widths. `--app-shell-sidebar-width` (default 16rem) is the sidebar expanded; `--app-shell-sidebar-collapsed-width` (default 4rem) is the SAME track at `<AppShell sidebarCollapsed>`; `--app-shell-nav-rail-width` (default 4rem) is a SECOND, separate track that exists only when the `navRail` slot is filled. These were hard-coded `grid-template-columns` literals; a service on a different design grid (e.g. a 255px sidebar) now sets ONE token in its theme instead of forking `.app-root`. Below the 900px shell breakpoint every track collapses to a single full-width column and both navigation columns move into AppShell's drawer. NOTE for anyone reading 19.x code or themes: the collapsed-sidebar token shipped as `--app-shell-rail-width` through 19.x and was renamed in 20.0.0 with NO alias, because it collided with the real rail added in the same release \u2014 two tokens, both 4rem, both spelled 'rail', meaning different things."},{name:"--app-shell-bar-{inset,inset-compact,gap}",category:"component",tier:"component",role:"AppShell top-bar chrome \u2014 `--app-shell-bar-inset` is the bar's inline padding, `--app-shell-bar-inset-compact` the tighter value below the compact step, `--app-shell-bar-gap` the gap between the bar's direct children (default --space-3). ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS: the bar sits in the SAME grid track as `.app-main`, directly above the page, so its first control and the page title are on one vertical edge. The two insets used to name their own values (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and nothing reconciled them \u2014 measured in Chromium, the bar's content started at x=80 and the page header's at x=88 (1512px), and because the two sides stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even constant (8px at 1512, 12px between 720 and 900, 4px below 720), which a consumer cannot correct by hand. The page gutter now OWNS the axis and these knobs read it: `--app-shell-bar-inset: var(--space-page-x)` (24px), `--app-shell-bar-inset-compact: var(--space-page-compact-x)` (16px), stepping at the PAGE's `(max-width: 720px)`, not the shell's 900px restructure. GEOMETRY MOVED \u2014 the bar's inline padding went 16px \u2192 24px (12px \u2192 16px compact, and 12px \u2192 24px between 720 and 900); the page did not move. The NAMES are unchanged, so a theme that already sets either knob keeps working, and a bar that genuinely wants to sit tighter than its page still has its own. Height stays `--app-shell-bar-height` (3rem) at EVERY width, and it is also the owner of the chrome BAND-HEIGHT axis \u2014 see `--page-header-min-block-size-chrome`."},{name:"--topbar-{height,inset,gap}",category:"component",tier:"component",role:"Standalone `<Topbar>` box knobs. Topbar is a pure slot bar, so the defaults are the QUIET ones and rendering is unchanged from before they existed: `--topbar-height: auto` and `--topbar-inset: 0px` (inside AppShell the `.app-topbar` grid row owns height and inset), `--topbar-gap: var(--space-2)`. A service that mounts Topbar DIRECTLY on a page sizes it from the theme (`--topbar-height: 3.5rem; --topbar-inset: var(--space-4)`) instead of an app-local class. `--topbar-gap` is both the gap BETWEEN the start/center/end clusters and the gap INSIDE each, so one knob re-rhythms the whole bar. None of them touch the shrink contract (start clips, center yields first, end stays anchored inline-end)."},{name:"--{dialog,sheet}-overlay-background / --app-shell-mobile-nav-background (+ -alpha)",category:"component",tier:"component",role:"Overlay scrims. All three are ROLE-MIRROR knobs declared `initial` at `:root`, with the default resolved at the CALL SITE as a SHARE of the one semantic `--overlay-background` \u2014 `color-mix(in srgb, var(--overlay-background) var(--<x>-overlay-alpha), transparent)`. Previously each carried a private literal, so setting `--overlay-background` had NO effect anywhere. The share knobs (`--dialog-overlay-alpha` 60%, `--sheet-overlay-alpha` 40%, `--app-shell-mobile-nav-alpha` 40%) keep every default byte-identical (0.3 / 0.2 / 0.2 black) while letting one `--overlay-background` override retint the whole system, including scoped `[data-tenant]` / `.dark` themes. Setting a `*-overlay-background` knob directly still wins outright. NOTE: overlays render in a portal, so a multi-tenant scope must also sit on the portal container."}];function R(t){return T.filter(a=>a.category===t)}var U=[{name:"--activity-mark-size",value:"0.25em",description:"Mark geometry. `em`-based so the whole mark tracks `--activity-font-size-*` (and therefore * `--font-size-base` and the density axis) instead of pinning a px diameter per size step."},{name:"--activity-mark-offset",value:"0.25em",description:"Travel of one `dots` step \u2014 the loop counterpart to `--reveal-distance`, named to match. * It is ALSO the height the mark row reserves, so the indicator appearing under a composer * never shifts the row."},{name:"--activity-mark-rest-alpha",value:"0.35",description:"Resting opacity of a dot at the bottom of its cycle. Never 0: a dot that vanishes reads as a * rendering bug at the trough, and the reduced-motion resting state must stay fully legible."},{name:"--activity-pulse-mark-size",value:"0.5em",description:"The single `pulse` mark \u2014 a breathing dot (live / recording), bigger than one `dots` dot * because it carries the whole affordance alone."},{name:"--activity-gap",value:"var(--space-1)",description:"Mark-to-mark and mark-to-label gap."},{name:"--activity-font-size-xs",value:"var(--font-size-2xs)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-sm",value:"var(--font-size-xs)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-md",value:"var(--font-size-sm)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-font-size-lg",value:"var(--font-size-lg)",description:"Root size ladder \u2014 the mark is `em`-based, so this ONE value scales the whole indicator. * Steps mirror the `Text` size the label is rendered at, so mark and label stay optically * paired (`--font-size-sm` IS `--font-size-base`; the ladder skips the alias)."},{name:"--activity-bar-width",value:"4rem",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-radius",value:"var(--radius-pill)",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-segment-width",value:"40%",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-track-alpha",value:"0.2",description:"Indeterminate `bar` (syncing). Width is an inline measure, not a fill: the bar sits beside a * label in a row, so `100%` would eat the label's space."},{name:"--activity-bar-height",value:"0.25em",description:"scale-exempt: an em thickness that must track the label beside it, not a fixed band step"},{name:"--activity-color",value:"initial",description:'Mark colour. ROLE-MIRROR KNOB \u21D2 declared `initial` here with the role default at the CALL SITE * (`hsl(var(--activity-color, var(--muted-foreground)))` in styles/motion.css). Written as * `--activity-color: var(--muted-foreground)` it would freeze at the `:root` role value and a * scoped `[data-tenant]` / `.dark` override of `--muted-foreground` would never reach it. * @see docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`". * Documented default: --activity-color = var(--muted-foreground) (tone="muted").'},{name:"--badge-space-gap",value:"var(--space-inline-xs)",description:"Badge component tokens."},{name:"--badge-space-x",value:"var(--space-2)",description:"Badge component tokens."},{name:"--badge-space-y",value:"var(--space-1)",description:"Badge component tokens."},{name:"--badge-radius",value:"var(--radius-md)",description:"Corner of the chip (gh#404). Default = the historical literal `--radius-md`, so nothing moves; * it exists so a NESTING context can restate it through the cascade (a Badge inside a bordered * Button squares down to --radius-sm) and a call site can restate it back."},{name:"--badge-font-size",value:"var(--font-size-xs)",description:"Corner of the chip (gh#404). Default = the historical literal `--radius-md`, so nothing moves; * it exists so a NESTING context can restate it through the cascade (a Badge inside a bordered * Button squares down to --radius-sm) and a call site can restate it back."},{name:"--badge-line-height",value:"calc(1 / 0.75)",description:"Companion to --badge-font-size (gh#260). The cva's old `text-xs` utility also set * line-height via Tailwind's default `--text-xs--line-height: calc(1 / 0.75)` (the theme * remaps --text-xs but never that companion). Same unitless ratio here keeps the default * badge pixel-identical now that badge-layout.css owns the type metrics."},{name:"--badge-icon-size",value:"var(--icon-size-xs)",description:"Leading/trailing glyph inside the pill. It was a bare `0.75rem` in badge-layout.css with no * token at all, so a service could only resize it with `!important` or a forked stylesheet \u2014 * the two routes the icon axis's tier 2 exists to abolish (gh#326). Same step, so nothing * moves. Matches --badge-font-size's step by design: the glyph reads as a character in the * label's run, so the two retune together. Deliberately NOT --scaling-multiplied \u2014 the literal * it replaces did not track density."},{name:"--badge-tint-fill",value:"18%",description:"DATA COLOUR (`color` prop) \u2014 the entity's own colour, not a semantic tone. * * A caller colour is DATA: a project administrator picks it for a status, an * issue type, a tag, a label. Solid, no foreground clears WCAG AA for every * colour they can pick \u2014 near-black and white measure equal at luminance * 0.2029, where both land on 4.15:1, under the 4.5 that badge-sized text * needs, and a real picker can produce that. So the GROUND moves instead: * the colour is washed into the surface and the label stays the surface's * own foreground, which makes the ratio a function of these two knobs rather * than of the colour somebody chose. * * The fill is where the label sits, so it is quiet; the edge carries no text, * so it is free to be four times as saturated \u2014 it is what keeps a pale tint * from dissolving into the surface, and where the colour still says WHICH * status at a glance. At these defaults the worst case across the sRGB cube * measures 8.52:1 (both themes), against 4.15 for a solid chip."},{name:"--badge-tint-edge",value:"45%",description:"DATA COLOUR (`color` prop) \u2014 the entity's own colour, not a semantic tone. * * A caller colour is DATA: a project administrator picks it for a status, an * issue type, a tag, a label. Solid, no foreground clears WCAG AA for every * colour they can pick \u2014 near-black and white measure equal at luminance * 0.2029, where both land on 4.15:1, under the 4.5 that badge-sized text * needs, and a real picker can produce that. So the GROUND moves instead: * the colour is washed into the surface and the label stays the surface's * own foreground, which makes the ratio a function of these two knobs rather * than of the colour somebody chose. * * The fill is where the label sits, so it is quiet; the edge carries no text, * so it is free to be four times as saturated \u2014 it is what keeps a pale tint * from dissolving into the surface, and where the colour still says WHICH * status at a glance. At these defaults the worst case across the sRGB cube * measures 8.52:1 (both themes), against 4.15 for a solid chip."},{name:"--badge-tint-surface",value:"hsl(var(--card))",description:"The surface the chip is washed into, and the label it then carries. A * service whose chips sit on the page ground rather than on a card retunes * the pair together \u2014 they are one decision."},{name:"--badge-tint-foreground",value:"hsl(var(--card-foreground))",description:"The surface the chip is washed into, and the label it then carries. A * service whose chips sit on the page ground rather than on a card retunes * the pair together \u2014 they are one decision."},{name:"--badge-color",value:"var(--badge-tint-surface)",description:"The caller's colour \u2014 the only knob here that is PER-INSTANCE. badge.tsx * writes it inline on the element whenever `color` is given, and an inline * declaration outranks this one, so this is the value only when the prop is * absent. * * It has to be declared somewhere all the same. An undeclared custom property * makes both color-mix() calls in badge-layout.css invalid at computed-value * time, which drops the background AND the border rather than falling back to * anything \u2014 the failure check-dist-tokens-resolve.mjs exists to catch, and * which it did catch the moment 19.3.0 shipped the wash without it. * * The surface is the right default because mixing a colour into itself returns * that colour: an untinted chip is then exactly the card it sits on \u2014 the same * quiet degradation 19.3.1 chose for browsers without color-mix, rather than a * transparent hole."},{name:"--banner-radius",value:"0",description:"Square corners \u2014 a strip spans its container edge-to-edge, so it carries no radius."},{name:"--banner-border-width",value:"1px",description:"The strip keeps a single hairline block-end rule (tone-coloured via the alert * border rules); inline/block-start edges are open so it reads as part of the frame."},{name:"--banner-space-inset-block",value:"var(--space-3)",description:"Strip inset. Block is denser than the inline Alert card; inline defaults to the * page gutter so banner text aligns with page content under AppShell/PageContainer."},{name:"--banner-space-inset-inline",value:"var(--space-page-active-x, var(--space-6))",description:"Strip inset. Block is denser than the inline Alert card; inline defaults to the * page gutter so banner text aligns with page content under AppShell/PageContainer."},{name:"--card-space-inset",value:"var(--space-section-active)",description:"Horizontal inset of every slot (header / content / footer) + the resting top/bottom * shell padding. This is the column the title, body and footer all align to."},{name:"--card-space-shell-y",value:"initial",description:'BLOCK-axis (top/bottom) shell padding of the slotted card rhythm \u2014 a plain header\'s top, a * `solo` body\'s top, and the terminal slot\'s bottom (gh#232). Split off --card-space-inset so a * shell (AuthShell compact) can retune the card\'s height WITHOUT moving the inline column. * Declared `initial` \u2014 NOT `var(--card-space-inset)` \u2014 so the default resolves at the CALL SITE: * a :root binding would freeze at the :root inset and `[data-density="tight"|"cozy"]` (which * override --card-space-inset on the card element) would stop reaching it. See docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`" \u2014 the same call-site rule applies to derived knobs.'},{name:"--card-space-header-y",value:"var(--space-stack-sm)",description:"Vertical padding of a BANDED header band (top = bottom). Drives --card-space-divided-y."},{name:"--card-space-body-y",value:"var(--space-section-active)",description:"Gap between the header and the body, and the body's own top padding \u2014 the breathing * room under a title before content begins."},{name:"--card-space-solo-y",value:"initial",description:'Symmetric block padding for a SOLO content slot, so a composed shell can tune block and * inline spacing independently without targeting CardContent. * Declared `initial` for the SAME reason as --card-space-shell-y above: written as * `var(--card-space-inset)` here it would freeze at the :root inset, and a card carrying * [data-density="tight"|"cozy"] (which override --card-space-inset ON THE CARD) would keep the * :root value. The default now resolves at the call site through the chain * solo-y \u2192 shell-y \u2192 inset, so a solo body follows the general block knob when only that is * set, and an explicit solo-y still wins.'},{name:"--card-space-footer-y",value:"var(--space-stack-sm)",description:"Vertical padding of a SEPARATED footer band (top = bottom). Drives --card-space-divided-y."},{name:"--card-space-divided-y",value:"var(--card-space-header-y)",description:"DIVIDED-section vertical padding (rule #44/#45). A header/footer that carries a divider * border (banded header, separated footer) reads as its own band, so it pads SYMMETRICALLY * top+bottom \u2014 distinct from a plain header that flows into the body (top inset, no bottom). * One themeable knob keeps the header- and footer-band rhythm in sync; a service theme tunes * the band density here instead of forking per-slot CSS."},{name:"--card-space-gap",value:"var(--space-stack-xs)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-font-size",value:"var(--font-size-base)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-line-height",value:"var(--line-height-tight)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-title-font-weight",value:"var(--font-weight-semibold)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-description-font-size",value:"var(--font-size-sm)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-description-line-height",value:"var(--line-height-normal)",description:"Vertical gap between stacked items WITHIN a slot (e.g. title \u2195 description in the header)."},{name:"--card-background",value:"initial",description:'Card fill + edge \u2014 opt-in knobs that DEFAULT to the live --card / --border roles. Declared * `initial` (not `var(--card)`) so the default re-resolves at the call site under a scoped theme: * a :root binding to a role var freezes at the :root value and a scoped `[data-tenant]` override of * the role never reaches it (see docs/STANDARDS-vocabulary-tokens.md \xB7 "role-mirror knobs"). A * service still overrides the knob directly (--card-background: \u2026) to win over the role default.'},{name:"--card-border",value:"initial",description:"default = hsl(var(--card))"},{name:"--card-header-background",value:"initial",description:"Banded-header fill \u2014 role-tintable (rule #45): a service points this at any role, * e.g. --card-header-background: var(--primary), and tunes --card-header-background-alpha for * the wash strength. Default = the live --muted role (resolved at the call site)."},{name:"--card-header-background-alpha",value:"0.55",description:"default = hsl(var(--muted))"},{name:"--card-header-border-bottom",value:"initial",description:"Banded-header divider \u2014 tokenised (rule #44) so a service theme can make it * dashed / heavier / none without forking CSS. Pair with * --card-header-background-alpha: 0 for a quiet borderless-band header. * Default = 1px solid hsl(var(--card-border)) (resolved at the call site)."},{name:"--card-radius",value:"var(--radius-xl)",description:"Banded-header divider \u2014 tokenised (rule #44) so a service theme can make it * dashed / heavier / none without forking CSS. Pair with * --card-header-background-alpha: 0 for a quiet borderless-band header. * Default = 1px solid hsl(var(--card-border)) (resolved at the call site)."},{name:"--card-shadow",value:"var(--shadow-sm)",description:"The DXS hi-fi baseline uses a quiet 10px data surface with one shadow-sm * elevation layer. Consumers can still flatten or lift cards through this knob."},{name:"--card-glow",value:"0 0 0 0 transparent",description:"Brand glow layer \u2014 invisible no-op at rest (rule #44). Paired AFTER --card-shadow in the * surface box-shadow so a service can wash every card with the global glow, e.g. * --card-glow: var(--shadow-glow), with no markup change."},{name:"--card-tint",value:"transparent",description:"Fill tint \u2014 subtle role wash over the card background (default transparent = invisible). * Painted as an overlay so a service sets --card-tint: hsl(var(--primary) / 0.04) once."},{name:"--card-accent-rail-width",value:"var(--stroke-2xl)",description:"Accent edge \u2014 width of the semantic leading-edge stripe (data-accent). * Tokenised (rule #44) so a service theme can re-tune it without forking CSS. * The slot padding compensation in card-layout.css subtracts the same token, * so content stays aligned on the shell whatever the rail width."},{name:"--card-accent-perimeter-width",value:"var(--stroke-hairline)",description:'Accent placement `perimeter` (gh#12) \u2014 the FULL attention border. Two knobs so a service can * tune the edge weight and the outer ring independently; the defaults reproduce the optical * weight of `variant="featured"` (1px border + 1px ring) in the card\'s own semantic accent tone * instead of --primary. Structural 1px literals, like the base card hairline.'},{name:"--card-accent-perimeter-ring-width",value:"var(--stroke-hairline)",description:'Accent placement `perimeter` (gh#12) \u2014 the FULL attention border. Two knobs so a service can * tune the edge weight and the outer ring independently; the defaults reproduce the optical * weight of `variant="featured"` (1px border + 1px ring) in the card\'s own semantic accent tone * instead of --primary. Structural 1px literals, like the base card hairline.'},{name:"--card-featured-border-color",value:"initial",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--card-featured-ring-width",value:"var(--stroke-hairline)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-font-size",value:"var(--font-size-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-font-weight",value:"var(--font-weight-medium)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-label-letter-spacing",value:"0.04em",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-font-size",value:"var(--font-size-2xl)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-line-height",value:"1.1",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-value-font-weight",value:"var(--font-weight-semibold)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-hint-font-size",value:"var(--font-size-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-gap",value:"var(--space-stack-xs)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-size",value:"var(--icon-size-2xl)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-glyph-size",value:"var(--icon-size-lg)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-radius",value:"var(--radius-md)",description:'`variant="featured"` edge \u2014 role-mirror knob (docs/TOKENS.md). `initial` so the --primary * default resolves at the CALL SITE and a scoped [data-tenant]/.dark override of --primary * reaches it; a service points it anywhere (e.g. var(--attention)) to retint every featured card * at once. Default = hsl(var(--primary)).'},{name:"--stat-card-icon-background",value:"initial",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--stat-card-icon-foreground",value:"initial",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--stat-card-delta-font-size",value:"var(--font-size-xs)",description:"Medallion tint \u2014 soft brand wash + brand glyph by default; a service retints by overriding * --primary or these tokens directly (rule #44/#45). `initial` so the --primary default * re-resolves at the call site under a scoped theme (no :root freeze). * Defaults = hsl(var(--primary) / 0.1) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-space-gap",value:"var(--space-stack-sm)",description:"\u2500\u2500 ServiceLauncherCard (gh#219) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Internal rhythm of a launcher tile: one gap knob drives the vertical stack AND the * icon\u2194title\u2194status row, so a service theme retunes the whole tile density once."},{name:"--card-service-launcher-icon-size",value:"calc(var(--icon-size-2xl) * var(--scaling))",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-glyph-size",value:"calc(var(--icon-size-lg) * var(--scaling))",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-radius",value:"var(--radius-md)",description:"Semantic icon surface \u2014 36px, the `--icon-size-2xl` step, multiplied by --scaling so the * medallion still breathes with its sibling controls (the gh#328 rule: an icon that wants * density says so itself). It read `var(--control-height-lg)` until gh#324: a CONTROL tier is * the wrong axis for an icon box, and the bug was visible \u2014 `@media (pointer: coarse)` lifts * the control ladder to the 44px tap floor, so on every touch device the medallion silently * inflated to 48px while the glyph inside it stayed 20px."},{name:"--card-service-launcher-icon-background",value:"initial",description:"Available-service medallion tint. `initial` (role-mirror rule, docs/TOKENS.md) so the role * defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override reaches them. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-icon-foreground",value:"initial",description:"Available-service medallion tint. `initial` (role-mirror rule, docs/TOKENS.md) so the role * defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override reaches them. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--primary)) glyph."},{name:"--card-service-launcher-unavailable-icon-background",value:"initial",description:"Unavailable medallion tint \u2014 applied when the consumer supplies `disabledReason`, so an * un-launchable service never reads as brand-live. `initial` for the same role-mirror reason. * Defaults = hsl(var(--muted)) fill \xB7 hsl(var(--muted-foreground)) glyph."},{name:"--card-service-launcher-unavailable-icon-foreground",value:"initial",description:"Unavailable medallion tint \u2014 applied when the consumer supplies `disabledReason`, so an * un-launchable service never reads as brand-live. `initial` for the same role-mirror reason. * Defaults = hsl(var(--muted)) fill \xB7 hsl(var(--muted-foreground)) glyph."},{name:"--card-service-launcher-description-font-size",value:"var(--font-size-xs)",description:"Description prose \u2014 also drives the disabled-reason line and the catalog-CTA caption."},{name:"--card-service-launcher-description-line-height",value:"var(--line-height-body)",description:"Description prose \u2014 also drives the disabled-reason line and the catalog-CTA caption."},{name:"--card-service-launcher-metadata-font-size",value:"var(--font-size-xs)",description:"Mono metadata line (hostname \xB7 plan) \u2014 tighter leading than prose by design."},{name:"--card-service-launcher-metadata-line-height",value:"var(--line-height-normal)",description:"Mono metadata line (hostname \xB7 plan) \u2014 tighter leading than prose by design."},{name:"--card-service-launcher-cta-min-height",value:"calc(var(--control-height-lg) * 4)",description:"Dashed catalog/add companion tile: kept tall enough to sit level with a populated launcher * tile in the same grid row. Four control tiers \u2248 medallion + title + description + action."},{name:"--card-service-launcher-skeleton-title-width",value:"var(--space-12)",description:"Skeleton bar widths \u2014 shape-matched placeholders for the title and status badge."},{name:"--card-service-launcher-skeleton-status-width",value:"var(--space-10)",description:"Skeleton bar widths \u2014 shape-matched placeholders for the title and status badge."},{name:"--chart-trend-plot-height-xs",value:"3.5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-sm",value:"5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-md",value:"7.5rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height-lg",value:"10rem",description:"\u2500\u2500 Plot height tiers (size = xs|sm|md|lg) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `xs` is the canonical dashboard-summary-card density: a seven-day trend that sits under * a KPI headline without stealing its vertical rhythm. A service retunes the whole scale * here; a screen picks a step with the `size` prop."},{name:"--chart-trend-plot-height",value:"var(--chart-trend-plot-height-xs)",description:"Active tier \u2014 chart-layout.css re-points this per `data-size`; overriding it directly * pins one height for every trend regardless of `size`."},{name:"--chart-trend-bar-gap",value:"var(--space-2)",description:"\u2500\u2500 Bar marks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Thin marks, a surface gap between neighbours and a rounded data-end anchored to the * baseline (the data-visualization mark spec)."},{name:"--chart-trend-bar-radius",value:"var(--radius-sm)",description:"\u2500\u2500 Bar marks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Thin marks, a surface gap between neighbours and a rounded data-end anchored to the * baseline (the data-visualization mark spec)."},{name:"--chart-trend-bar-max-width",value:"1.5rem",description:"Ceiling on a single mark so a 3-point trend does not render slabs."},{name:"--chart-trend-bar-min-height",value:"var(--stroke-md)",description:"Floor so a zero/absent value still reads as a plotted category rather than a hole."},{name:"--chart-trend-bar-background",value:"initial",description:'Muted mark fill \u2014 role-mirror knob, declared `initial` so the role default re-resolves * at the CALL SITE under `.dark` / `[data-tenant]` (docs/TOKENS.md \xB7 "Role-mirror knobs * MUST be `initial`"). Default = hsl(var(--muted-foreground) / 0.75), which clears the * 3:1 non-text contrast floor (WCAG 1.4.11) against the card surface.'},{name:"--chart-trend-bar-background-alpha",value:"0.75",description:"Opacity applied to the muted-fill role default."},{name:"--chart-trend-bar-emphasis-background",value:"initial",description:'Emphasized ("current") mark fill \u2014 role-mirror knob. Default = hsl(var(--primary)).'},{name:"--chart-trend-baseline-border",value:"initial",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-tick-gap",value:"var(--space-1)",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-tick-font-size",value:"var(--font-size-xs)",description:"\u2500\u2500 Baseline + category ticks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * Chrome defaults QUIET (rule #44): no baseline rule at rest. A service opts in with * `--chart-trend-baseline-border: 1px solid hsl(var(--border));`."},{name:"--chart-trend-footer-gap",value:"var(--space-2)",description:"Gap between the plot block and the optional activity footer slot."},{name:"--chart-category-axis-gap",value:"var(--space-2)",description:"\u2500\u2500 Category axis (horizontal BarChart) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The category axis of a horizontal bar chart holds free text, and in Japanese that text is a * company name of 8\u201310 full-width glyphs (100\u2013125px at the tick size). recharts reserves a flat * 60px whatever the ticks say, which painted those names OUTSIDE the plot box where the SVG clip * cut them from the START \u2014 losing exactly the identifying `\u682A\u5F0F\u4F1A\u793E` (gh#409 \xB7 1). * * The chart now measures its widest tick and sizes the axis from it. These two knobs own the * limits of that: how much air sits between the tick and the plot, and how much of the canvas a * category axis may take before labels are truncated at their END instead. A service that runs * longer names raises the fraction; one that wants the bars to dominate lowers it."},{name:"--chart-category-axis-max-fraction",value:"0.4",description:"Share of the canvas the category axis may occupy, 0..1. At the 1102px dashboard column this * is ~440px \u2014 four times a 10-glyph \u5168\u89D2 name \u2014 so truncation is the exception, not the rule, * while a pathological label still cannot squeeze the bars out of their own chart."},{name:"--chat-bubble-background",value:"initial",description:"Bubble fill. `initial` so the --muted default re-resolves at the CALL SITE under a scoped * theme; a :root binding to a role var freezes at :root (docs/TOKENS.md \u2014 the :root freeze * rule). Documented default = hsl(var(--muted))."},{name:"--chat-bubble-foreground",value:"initial",description:"Ink on that fill \u2014 role-mirror knob, documented default = hsl(var(--foreground))."},{name:"--chat-bubble-border-color",value:"initial",description:"The 1px edge of an `outlined` bubble. Decorative chrome, so it mirrors --border, not --input * (docs/TOKENS.md \u2014 `--border` vs `--input`). Documented default = hsl(var(--border))."},{name:"--chat-bubble-radius",value:"var(--radius-lg)",description:"The 1px edge of an `outlined` bubble. Decorative chrome, so it mirrors --border, not --input * (docs/TOKENS.md \u2014 `--border` vs `--input`). Documented default = hsl(var(--border))."},{name:"--chat-bubble-gap",value:"var(--space-3)",description:"Gap between the avatar column and the message column."},{name:"--chat-bubble-max-inline-size",value:"34rem",description:"The measure a bubble never exceeds. Long-form assistant prose past ~70 characters per line * stops being readable, and a chat pane is as wide as the window (#45 \u2014 a service retunes the * measure to its own column)."},{name:"--chat-bubble-avatar-size",value:"initial",description:"Avatar box. Role-mirror of a RE-SCOPED tier (--control-height is re-declared per density and * by the auth shell), so it is `initial` + a call-site fallback for the same reason a colour * knob is. Documented default = var(--control-height)."},{name:"--chat-bubble-padding-block",value:"var(--space-2)",description:"Inner inset of the bubble body, at the default `md` step. The xs/sm/lg steps re-declare these * two on the element itself (styles/data-display-layout.css)."},{name:"--chat-bubble-padding-inline",value:"var(--space-3)",description:"Inner inset of the bubble body, at the default `md` step. The xs/sm/lg steps re-declare these * two on the element itself (styles/data-display-layout.css)."},{name:"--chat-bubble-list-gap",value:"var(--space-4)",description:"Vertical rhythm BETWEEN messages in a ChatBubbleList."},{name:"--chat-bubble-list-jump-inset",value:"var(--space-3)",description:'Inset the "jump to latest" affordance keeps from the block-end edge of the feed.'},{name:"--chat-bubble-typing-caret-color",value:"initial",description:'The typed-so-far caret drawn while `typing` animates. Role-mirror knob, documented default = * hsl(var(--muted-foreground)). Never the only signal: the article also carries `aria-busy` * and a localized sr-only "typing" string.'},{name:"--chat-bubble-typing-caret-width",value:"var(--stroke-md)",description:'The typed-so-far caret drawn while `typing` animates. Role-mirror knob, documented default = * hsl(var(--muted-foreground)). Never the only signal: the article also carries `aria-busy` * and a localized sr-only "typing" string.'},{name:"--chat-bubble-typing-caret-height",value:"1em",description:"One line box tall, so the caret matches whatever type ramp the bubble is rendering at rather than a fixed pixel height a service theme could not move."},{name:"--chat-bubble-skeleton-short-inline-size",value:"60%",description:"The short line of the two-line loading Skeleton \u2014 a ragged second line is what makes the placeholder read as prose rather than as a bar chart. A theme can retune the raggedness."},{name:"--chat-bubble-tone-background-alpha",value:"0.08",description:"Status-tinted bubbles (`tone`) wash the role colour exactly like Alert does, so an error * bubble and an error banner agree. Never colour alone \u2014 the bubble also renders a localized * sr-only tone word."},{name:"--chat-bubble-tone-border-alpha",value:"0.35",description:"Status-tinted bubbles (`tone`) wash the role colour exactly like Alert does, so an error * bubble and an error banner agree. Never colour alone \u2014 the bubble also renders a localized * sr-only tone word."},{name:"--chat-bubble-end-background",value:"initial",description:'The message column of an `end`-placed (own) bubble. Role-mirror knobs so a service can tint * "my" messages without touching the assistant\'s. Documented defaults = * hsl(var(--primary) / 0.1) and hsl(var(--foreground)).'},{name:"--chat-bubble-end-foreground",value:"initial",description:'The message column of an `end`-placed (own) bubble. Role-mirror knobs so a service can tint * "my" messages without touching the assistant\'s. Documented defaults = * hsl(var(--primary) / 0.1) and hsl(var(--foreground)).'},{name:"--chat-composer-min-height",value:"initial",description:'Floor and ceiling of the draft box, both `initial` \u2014 and that is load-bearing, not tidiness. * * Their defaults READ `--control-height`, which is re-declared per size step on the composer * itself (`.ui-control-surface[data-size="sm"]` and friends). Bound here at `:root`, each one * would resolve ONCE against the root tier and freeze: measured in Chromium, all four of * `size="xs|sm|md|lg"` rendered at an identical 55px box. `initial` sends the fallback chain in * `data-entry-layout.css` back to the CALL SITE, where the step\'s own `--control-height` is in * scope. Same rule as ListRow\'s dividers and the compact-row knobs (docs/TOKENS.md \u2014 the :root * freeze rule). * * Default floor = var(--control-height) \u2014 exactly one control row. * Default ceiling = calc(var(--control-height) * 5) \u2014 past it the draft scrolls itself instead * of pushing the page. A MULTIPLIER, never `calc(var(--control-height) \xB1 \u2026)`, * which silently re-derives a tier (check:control-sizing).'},{name:"--chat-composer-max-height",value:"initial",description:'Floor and ceiling of the draft box, both `initial` \u2014 and that is load-bearing, not tidiness. * * Their defaults READ `--control-height`, which is re-declared per size step on the composer * itself (`.ui-control-surface[data-size="sm"]` and friends). Bound here at `:root`, each one * would resolve ONCE against the root tier and freeze: measured in Chromium, all four of * `size="xs|sm|md|lg"` rendered at an identical 55px box. `initial` sends the fallback chain in * `data-entry-layout.css` back to the CALL SITE, where the step\'s own `--control-height` is in * scope. Same rule as ListRow\'s dividers and the compact-row knobs (docs/TOKENS.md \u2014 the :root * freeze rule). * * Default floor = var(--control-height) \u2014 exactly one control row. * Default ceiling = calc(var(--control-height) * 5) \u2014 past it the draft scrolls itself instead * of pushing the page. A MULTIPLIER, never `calc(var(--control-height) \xB1 \u2026)`, * which silently re-derives a tier (check:control-sizing).'},{name:"--chat-composer-gap",value:"var(--space-2)",description:"Gap between the header / draft row / footer bands."},{name:"--chat-composer-padding-block",value:"var(--space-2)",description:"Inset of the composer frame. The draft box itself is borderless \u2014 the frame IS the boundary, * so two nested rounded borders never appear."},{name:"--chat-composer-padding-inline",value:"var(--space-2)",description:"Inset of the composer frame. The draft box itself is borderless \u2014 the frame IS the boundary, * so two nested rounded borders never appear."},{name:"--chat-composer-row-gap",value:"var(--space-2)",description:"Gap between the prefix slot, the draft box and the trailing actions."},{name:"--chat-composer-radius",value:"initial",description:"Corner shape \u2014 `initial` so the control default re-resolves at the call site under a scoped * theme (a :root binding to a role var freezes at :root). Default = var(--control-radius)."},{name:"--chat-composer-header-border",value:"initial",description:"Divider under the `header` slot \u2014 `initial`, documented default = 1px solid hsl(var(--border)), * so a service retunes the chrome once instead of per composer."},{name:"--chat-composer-footer-font-size",value:"var(--font-size-xs)",description:'Type scale of the footer hint line (a token counter, a "Shift+Enter for a new line" hint).'},{name:"--control-height-compact",value:"var(--band-height-sm)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-height-default",value:"var(--band-height-md)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-height-comfortable",value:"var(--band-height-xl)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-compact",value:"var(--space-2)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-default",value:"var(--space-3)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-padding-x-comfortable",value:"var(--space-4)",description:"Control primitive tokens: heights, horizontal padding, adjacent control sizes."},{name:"--control-bounded-width",value:"min(15rem, 48vw)",description:'Held width for `width="bounded"` controls (gh#375). `min()` so the value is a ceiling on a * desktop bar and a share of the viewport on a phone, never a fixed rem that overflows it.'},{name:"--control-height",value:"calc(var(--control-height-default) * var(--scaling))",description:'Held width for `width="bounded"` controls (gh#375). `min()` so the value is a ceiling on a * desktop bar and a share of the viewport on a phone, never a fixed rem that overflows it.'},{name:"--control-height-sm",value:"calc(var(--control-height) - calc(0.25rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-height-lg",value:"calc(var(--control-height) + calc(0.25rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-height-xs",value:"calc(var(--control-height) - calc(0.5rem * var(--scaling)))",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-padding-x",value:"var(--control-padding-x-default)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-gap",value:"var(--space-inline-sm)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-gap-sm",value:"var(--space-inline-xs)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--control-radius",value:"var(--radius)",description:"Adjacent control sizes, derived from the active --control-height. The \xB1step * is scaled too so the whole control ladder stays proportional under --scaling."},{name:"--button-radius",value:"var(--radius-md)",description:"Button corner radius \u2014 defaults to the button's historical `rounded-md` so nothing * changes by default, but is its OWN knob so a service theme can retune the button * radius INDEPENDENTLY of input/control radius (issue #124)."},{name:"--control-font-size",value:"var(--font-size-base)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-border-width",value:"var(--stroke-hairline)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-shadow",value:"var(--shadow-xs)",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-icon-size",value:"calc(var(--icon-size-md) * var(--scaling))",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-icon-size-sm",value:"calc(var(--icon-size-sm) * var(--scaling))",description:"Control surface knobs \u2014 font-size, border width and resting shadow of every * `.ui-control` (input / picker trigger). Tokenised so a service theme tunes them * once instead of each component hard-coding Tailwind utilities. Defaults preserve * the historical look (font-size-base, 1px border, shadow-xs)."},{name:"--control-status-warning-border-color",value:"var(--warning)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-status-warning-glow-color",value:"var(--warning)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-status-warning-glow-alpha",value:"var(--control-outline-error-alpha)",description:"VALIDATION STATUS \u2014 antd's `status` axis (docs/DESIGN-AUTHORITY.md names Ant Design the * taxonomy authority). Only the FOCUS half is a knob: the boundary itself has to be painted from * a Tailwind utility, because `border-input` sits in a later cascade layer than this file's * component rules and would win over any of them (measured in Chromium \u2014 see * components/data-entry/control-appearance.ts). The error boundary therefore reuses the role * `aria-invalid:border-destructive` already paints, and cannot drift into a second red. * * The warning halo borrows the ERROR halo's alpha rather than inventing a second opacity: antd * derives both from one `colorXxxOutline` recipe and the generated file carries only the error * one (scripts/gen-antd-tokens.mjs)."},{name:"--control-variant-filled-background",value:"var(--muted)",description:"CHROME VARIANT \u2014 antd's `variant` axis. `outlined` needs no token: it is what a field already * draws. `filled` swaps the boundary for a tinted surface; `borderless` drops both. Kept as * knobs so a service theme can retune the dense-form treatment once, globally."},{name:"--control-variant-filled-hover-background",value:"var(--accent)",description:"CHROME VARIANT \u2014 antd's `variant` axis. `outlined` needs no token: it is what a field already * draws. `filled` swaps the boundary for a tinted surface; `borderless` drops both. Kept as * knobs so a service theme can retune the dense-form treatment once, globally."},{name:"--control-count-font-size",value:"var(--font-size-sm)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-color",value:"var(--muted-foreground)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-exceeded-color",value:"var(--text-error)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--control-count-space-inline",value:"var(--space-1)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--textarea-count-inset-block-end",value:"var(--space-1)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--textarea-count-inset-inline-end",value:"var(--space-2)",description:"Character counter \u2014 antd `count`. Quiet by default; loud only once the ceiling is passed."},{name:"--input-addon-background",value:"var(--muted)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--input-addon-color",value:"var(--muted-foreground)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--input-addon-padding-inline",value:"var(--control-padding-x)",description:"antd `addonBefore` / `addonAfter` \u2014 a segment welded outside the field's own box."},{name:"--switch-content-font-size",value:"var(--font-size-xs)",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--switch-content-space-inline",value:"var(--space-1)",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--switch-spinner-size",value:"calc(var(--switch-thumb-size) - var(--space-1))",description:"Switch `checkedChildren` / `unCheckedChildren` and `loading`."},{name:"--slider-mark-font-size",value:"var(--font-size-xs)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-mark-color",value:"var(--muted-foreground)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-mark-space-block-start",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-size",value:"var(--slider-track-height)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-background",value:"var(--background)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-border-color",value:"var(--border)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-dot-active-border-color",value:"var(--primary)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-background",value:"var(--popover)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-color",value:"var(--popover-foreground)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-font-size",value:"var(--font-size-xs)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-radius",value:"var(--radius-sm)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-padding-inline",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--slider-tooltip-offset-block",value:"var(--space-2)",description:"Slider marks / dots / value bubble \u2014 antd `marks`, `dots`, `tooltip`."},{name:"--choice-button-background",value:"var(--background)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-color",value:"var(--foreground)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-border-color",value:"var(--input)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-selected-color",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-selected-border-color",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-solid-background",value:"var(--primary)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--choice-button-solid-color",value:"var(--primary-foreground)",description:'Radio `optionType="button"` \u2014 antd\'s welded radio bar.'},{name:"--toggle-focus-ring-width",value:"var(--stroke-lg)",description:'Ring knobs for the two controls that historically wanted a softer mark than the global * default \u2014 both are filled surfaces where the ring was felt to read as a second border. * * THE ALPHA IS 1, AND THAT IS THE CRITERION TALKING. WCAG 2.2 SC 1.4.11 asks for \u22653:1 between * the focused and unfocused states of the pixels that mark focus, and colour is the whole of * that bar. Measured against this palette, the focus hue at alpha 0.35 * composites to 1.64:1 against the page (0.45 \u2192 \u22481.90); nothing in that band is a compliant * indicator, so "softer" was buying taste at the cost of the criterion. The softening now comes * from the HALO (`--focus-ring-glow-*`), which sits outside the opaque stop and is free to be as * quiet as it likes because it is decoration rather than the indicator. The knobs stay \u2014 a * service can still trade the criterion away deliberately \u2014 but the shipped default no longer * makes that trade silently. Guarded by src/tokens/__tests__/focus-ring-contrast.test.ts.'},{name:"--toggle-focus-ring-alpha",value:"1",description:'Ring knobs for the two controls that historically wanted a softer mark than the global * default \u2014 both are filled surfaces where the ring was felt to read as a second border. * * THE ALPHA IS 1, AND THAT IS THE CRITERION TALKING. WCAG 2.2 SC 1.4.11 asks for \u22653:1 between * the focused and unfocused states of the pixels that mark focus, and colour is the whole of * that bar. Measured against this palette, the focus hue at alpha 0.35 * composites to 1.64:1 against the page (0.45 \u2192 \u22481.90); nothing in that band is a compliant * indicator, so "softer" was buying taste at the cost of the criterion. The softening now comes * from the HALO (`--focus-ring-glow-*`), which sits outside the opaque stop and is free to be as * quiet as it likes because it is decoration rather than the indicator. The knobs stay \u2014 a * service can still trade the criterion away deliberately \u2014 but the shipped default no longer * makes that trade silently. Guarded by src/tokens/__tests__/focus-ring-contrast.test.ts.'},{name:"--control-focus-ring-width",value:"var(--stroke-hairline)",description:"Mark width for a BORDERED FIELD. * * This knob exists because a field is the one control that already owns a boundary, so it is * the one place the mark could plausibly be dropped and the recoloured border left to carry the * state \u2014 which is the established treatment for a bordered field: a primary border plus a * translucent halo, nothing in between. * * It ships at the same step as `--focus-outline-weight`, the hairline stroke, so a field and a * button carry the same weight. A gate asserts the two stay equal, because this token cannot * literally READ the global one without freezing at :root (docs/TOKENS.md, the freeze rule). * * It feeds `--focus-ring-weight`, never `--focus-ring-width`. The width is * `weight \xD7 --focus-outline`, so a field's mark is still switched off with everything else \u2014 a * knob that bypassed the switch would be a hole in it. * * If a service sets this, note the unit: the halo's spread is summed with a length in * `calc()`, and CSS refuses to add a unitless number to a length \u2014 a bare `0` makes the whole * box-shadow invalid at computed-value time and it resolves to NONE. Write `0px`."},{name:"--rating-focus-ring-offset",value:"2px",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-border-width",value:"var(--stroke-hairline)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--checkbox-size-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-gap",value:"var(--space-inline-sm)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-group-gap-x",value:"var(--space-6)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-group-gap-y",value:"var(--space-3)",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-description-gap",value:"0.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--choice-control-offset",value:"0.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width",value:"calc(2.25rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width-compact",value:"2rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-width-comfortable",value:"2.5rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height",value:"calc(1.25rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height-compact",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-height-comfortable",value:"1.375rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-size-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate",value:"calc(1rem * var(--scaling))",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate-compact",value:"0.875rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--switch-thumb-translate-comfortable",value:"1.125rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--slider-track-height",value:"0.375rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--slider-thumb-size",value:"1rem",description:"Outline-form gaps \u2014 marks where a radius-hugging ring would touch the glyph."},{name:"--otp-slot-size",value:"initial",description:'InputOTP slot box (gh#233). Its own knob so an auth surface can widen the 6-slot challenge row * to fill a wide panel WITHOUT re-scoping --control-height (which would resize every other * control in the same card). Declared `initial` \u2014 the tier-mirror form of the role-mirror rule in * docs/TOKENS.md: the default must resolve at the CALL SITE (`var(--otp-slot-size, * var(--control-height))`), because `--otp-slot-size: var(--control-height)` here would FREEZE at * the :root tier (32px) and an OTP row inside `.ui-auth-shell[data-variant="canonical"]`, which * re-scopes --control-height to 36px, would silently shrink. Verified in Chromium: 36px before * and after. A service opts in with a NAMED tier (`var(--control-height-lg)`), never a calc.'},{name:"--otp-slot-inline-size",value:"initial",description:'Per-AXIS overrides of the slot box (gh#12). --otp-slot-size stays the square shorthand; these * two win over it when set, so a code field can be WIDER-than-tall or TALLER-than-wide without * abandoning the token. A canonical device-grant code field is 27.5x52 per slot (a 4-slot * `appearance="grouped"` box of 112x54 with its 1px group border) \u2014 not expressible with one * square knob, which is why grouped OTP measured 146x38 against that artboard. `initial` for the * same tier-mirror reason as --otp-slot-size: the whole fallback chain * (axis \u2192 square \u2192 --control-height) must resolve at the CALL SITE so a shell that re-scopes * --control-height still reaches an OTP row that sets neither axis.'},{name:"--otp-slot-block-size",value:"initial",description:"default = var(--otp-slot-size, var(--control-height))"},{name:"--otp-container-align",value:"flex-start",description:'Main-axis alignment of the whole OTP row (rule #44/#45 \u2014 chrome is a token, default quiet). * `flex-start` is the historical behaviour, so an existing field is byte-identical; a centred * code field is `align="center"` on InputOTP (which wins over this knob) or this token set once * in a service theme. It exists because EVERY consumer was wrapping .ui-otp-container in a * flex-centring div to get a centred challenge.'},{name:"--checkbox-checked-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--switch-checked-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--toggle-on-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--slider-track-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--slider-range-background",value:"initial",description:'Checked/on/active fills \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme (a :root binding to var(--primary) freezes at the :root value and a scoped * [data-tenant] override of --primary never reaches it). A service retints the "selected" state * by overriding these directly. Defaults = hsl(var(--primary)) \xB7 slider track 0.2\u03B1.'},{name:"--switch-unchecked-background",value:"initial",description:'Switch OFF track fill (gh#315) \u2014 `initial`, default hsl(var(--input)). Its own knob so a * service can quieten the off-track without dragging the --input control-boundary role back * below the WCAG SC 1.4.11 floor (rule #45); whatever you set still owes 3:1 against the page * and against the thumb (--background), or "off" stops being a visible state.'},{name:"--switch-content-unchecked-foreground",value:"initial",description:"A labelled OFF track defaults to muted-foreground rather than the input boundary role: * text needs 4.5:1, not the 3:1 required of an empty track. Pair custom track fills with this * foreground; the default background role contrasts in both light and dark themes."},{name:"--color-picker-input-width",value:"6.5rem",description:"ColorPicker \u2014 width of the hex text field beside the swatch."},{name:"--command-list-max-height",value:"min(300px, 50vh)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-input-padding-x",value:"var(--space-3)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-group-padding",value:"var(--space-1)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-padding-y",value:"var(--space-2)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-padding-x",value:"var(--space-2)",description:"Command / CommandPalette \u2014 list height, inner paddings and the palette's own box."},{name:"--command-item-gap",value:"var(--control-gap)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-width",value:"35rem",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-inset-top",value:"calc(var(--space-6) * 4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-viewport-inset",value:"var(--space-3)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-padding-y",value:"var(--space-2)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-padding-x",value:"var(--space-4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--command-palette-hint-gap",value:"var(--space-4)",description:"The gap between a row's leading mark and its label. `.ui-command-item` is a flex row and had * NO gap at all, so every command/palette/picker row with an icon rendered its glyph flush * against the text \u2014 measured at 0px between an organization mark and its name. It reads * --control-gap because a command row is a control row: the same distance the trigger it opened * from already puts between its own icon and label."},{name:"--search-input-edge-inset",value:"var(--space-3)",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--search-input-start-padding",value:"calc( var(--search-input-edge-inset) + var(--control-icon-size) + var(--control-gap) )",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--search-input-end-padding",value:"calc( var(--search-input-edge-inset) + var(--control-icon-size) + var(--control-gap) )",description:"SearchInput \u2014 the inset the leading/trailing icons sit at, and the field padding derived * from it so the text never runs under an icon."},{name:"--choice-description-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--color-picker-hex-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--command-group-heading-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--search-input-label-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--tag-input-chip-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--toggle-sm-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--button-sm-font-size",value:"var(--font-size-xs)",description:"The --font-size-xs tier, spelled once per control that reads it, so a service can retune a * single one of them without moving the whole scale."},{name:"--control-affix-inset-inline-end",value:"var(--space-2)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-action-size",value:"1.5rem",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-action-radius",value:"var(--radius-sm)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-icon-size",value:"var(--icon-size-md)",description:"TRAILING AFFIX \u2014 the clear \u2715 / chevron overlay a select-family trigger parks at its inline * end. Select, SearchSelect and TagInput each hard-coded the same `end-2 size-6 rounded-sm * opacity-50` stack independently (#319), so a service retuning affix weight had to chase the * literal through several components. One shared set of knobs instead \u2014 this is a CONTROL-level * concern, not a per-component one."},{name:"--control-affix-rest-alpha",value:"0.5",description:"Resting weight of an affix glyph \u2014 it must read as secondary until hovered/focused."},{name:"--control-trigger-space-inline-end",value:"2.25rem",description:"2.25rem \u2014 the room a single trailing affix needs. Written as a raw rem because the * literal it replaced (`pe-9`) is a flat Tailwind step, not a density-scaled one."},{name:"--control-inline-affix-size",value:"1.25rem",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-icon-size",value:"var(--control-affix-icon-size)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-space-gap",value:"var(--space-1)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-inset-inline",value:"var(--space-2)",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-rest-alpha",value:"0.7",description:"INSIDE-FIELD AFFIX \u2014 the leading/trailing controls Input and TimePicker render WITHIN the * field box, as opposed to the overlay affix (--control-affix-*) that Select and SearchSelect * park on top of a trigger. Both carried the identical literal stack (#319). Because these sit * on the field's own surface rather than over it, they rest a touch heavier than the overlay * pair \u2014 that difference is the reason the two sets stay separate."},{name:"--control-inline-affix-space-inline-end",value:"2.25rem",description:"Inline room the field reserves so its text never runs under a single affix."},{name:"--textarea-clear-inset-block-start",value:"var(--space-2)",description:"Input centres its affix on the field's single line; a textarea has no single line to centre * on, so its clear control parks at the top-end corner instead."},{name:"--control-multiline-padding-block",value:"var(--space-2)",description:"MULTILINE BOX \u2014 the block padding of `.ui-control-multiline` (Textarea). It was a bare * `--space-2` inside the padding shorthand, which made it unreachable for a service that runs a * denser composer, AND it is the constant the auto-grow row maths has to add back, so the two * had to read the same knob or drift (#45)."},{name:"--textarea-autogrow-line-height",value:"initial",description:'The unit a "row" is measured in. `initial` on purpose: the call site reads * `var(--textarea-autogrow-line-height, var(--line-height-normal))`, so a service that retunes * the multiline line-height for CJK legibility retunes the ceiling with it (#46). Unitless \u2014 * it is multiplied by `--control-font-size`.'},{name:"--textarea-autogrow-min-height-rows",value:"1",description:"Floor of the grown box, in text rows. The `minRows` prop overrides per instance \u2014 the same * theme-global / prop-local priority as `--form-label-width` vs `labelWidth`. The floor is * additionally clamped up to `--control-height` so a resting one-row composer still lines up * with the Input / Button beside it instead of undercutting the control tier."},{name:"--textarea-autogrow-max-height-rows",value:"8",description:"Ceiling of the grown box, in text rows; past it the control scrolls internally instead of * pushing the page. `maxRows={0}` sets this to `infinity` for an unbounded box."},{name:"--textarea-autogrow-box-inset",value:"calc( (var(--control-multiline-padding-block) + var(--control-border-width)) * 2 )",description:"The non-text part of the box the row maths must add back: block padding + border, both * edges. `.ui-textarea-autogrow--ghost` re-declares it without the border, because the ghost * variant drops its own chrome."},{name:"--control-composite-field-space-gap",value:"var(--space-2)",description:"COMPOSITE FIELD \u2014 the bordered box that wraps two inputs plus a separator (date/month * range pickers) or one input plus affixes. Shared so the four range/picker fields cannot * drift into four slightly different boxes."},{name:"--input-file-button-height",value:"var(--band-height-sm)",description:"The <input type=file> button is a browser-owned box we restyle; it sits one tier below the * field so it reads as a control INSIDE the control."},{name:"--input-file-button-font-size",value:"var(--font-size-sm)",description:"The <input type=file> button is a browser-owned box we restyle; it sits one tier below the * field so it reads as a control INSIDE the control."},{name:"--search-select-panel-max-width",value:"32rem",description:"SEARCH-SELECT \u2014 the Popover+Command combobox. Its panel geometry was baked onto the * component as arbitrary values (`max-w-[min(32rem,calc(100vw-1.5rem))]`), so a service could * not widen the panel or change the viewport gutter without forking."},{name:"--search-select-panel-inline-size",value:"auto",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-panel-viewport-inset",value:"var(--space-6)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-list-space-inset",value:"var(--space-1)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-footer-space-inset",value:"var(--space-1)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-space-gap",value:"var(--space-2)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-font-size",value:"var(--font-size-sm)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-option-sublabel-font-size",value:"var(--font-size-xs)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-status-space-inline",value:"var(--space-2)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-status-space-block",value:"var(--space-3)",description:"Seat for a NUMERIC `popupMatchSelectWidth`. `auto` is the inert default \u2014 the knob only does * anything once a call site sets it, and then the value is that consumer's own measurement."},{name:"--search-select-placeholder-space-block",value:"var(--space-6)",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--search-select-status-font-size",value:"var(--font-size-sm)",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--search-select-spinner-size",value:"1rem",description:"Empty/error states sit alone in the panel, so they get a taller, centred block."},{name:"--cascader-column-min-width",value:"9rem",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-columns-max-height",value:"min(280px, 50vh)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-list-max-height",value:"min(300px, 50vh)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-panel-space-inset",value:"var(--space-1)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-inline",value:"var(--space-3)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-block",value:"var(--space-2)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-space-gap",value:"var(--space-1)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-font-size",value:"var(--font-size-sm)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-option-icon-size",value:"var(--icon-size-md)",description:"CASCADER \u2014 column browser + flat search list. Its option rows, column widths and panel * paddings were literals on the component (#319), so a service could not widen a column to fit * longer JA labels or tighten the row rhythm without forking."},{name:"--cascader-result-space-inline",value:"var(--space-2)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-space-block",value:"0.375rem",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-radius",value:"var(--radius-sm)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-result-icon-space-inline-end",value:"var(--space-2)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--cascader-empty-space-block",value:"var(--space-6)",description:"The flat search result row is denser than a column row \u2014 it has no chevron to balance."},{name:"--select-content-max-height",value:"24rem",description:"SELECT \u2014 the Radix listbox surface. Its popup shares the menu row rhythm (--menu-item-*), * so only what is genuinely its own lives here (#319)."},{name:"--select-content-inline-size",value:"auto",description:"Seat for a NUMERIC `popupMatchSelectWidth` on the plain listbox. `auto` is the inert default."},{name:"--select-empty-space-block",value:"var(--search-select-placeholder-space-block)",description:"Vertical room around the `notFoundContent` row \u2014 the same breathing space the SearchSelect * panel gives its own empty state, so the two empties read as one affordance."},{name:"--select-scroll-button-space-block",value:"var(--space-1)",description:"Vertical room around the `notFoundContent` row \u2014 the same breathing space the SearchSelect * panel gives its own empty state, so the two empties read as one affordance."},{name:"--select-item-space-inline",value:"0.625rem",description:"Select rows sit slightly wider than a menu row: a listbox has no leading icon column to * absorb the optical inset, so 2.5 reads level with a menu's 2 + icon."},{name:"--time-picker-column-height",value:"13rem",description:"TIME PICKER \u2014 scroll columns of hour/minute/second plus an inline affix pair. All of its * geometry was literal on the component (#319): a service could not shorten the column, widen * the panel for a 12-hour layout, or retune the row rhythm without forking."},{name:"--time-picker-panel-width",value:"9rem",description:"TIME PICKER \u2014 scroll columns of hour/minute/second plus an inline affix pair. All of its * geometry was literal on the component (#319): a service could not shorten the column, widen * the panel for a 12-hour layout, or retune the row rhythm without forking."},{name:"--time-picker-panel-width-12h",value:"13rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-space-inline",value:"var(--space-1)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-space-block",value:"0.375rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-heading-font-size",value:"var(--font-size-xs)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-column-space-inset",value:"var(--space-1)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-space-block",value:"0.375rem",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-radius",value:"var(--radius-md)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-option-font-size",value:"var(--font-size-sm)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-footer-space-inset",value:"var(--space-2)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-footer-space-gap",value:"var(--space-2)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--time-picker-affix-space-gap",value:"var(--control-inline-affix-space-gap)",description:"12-hour mode adds an AM/PM column, so the panel is wider."},{name:"--tree-select-list-max-height",value:"min(300px, 50vh)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-space-block",value:"0.375rem",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-space-inline-end",value:"var(--space-2)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-radius",value:"var(--radius-sm)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-row-font-size",value:"var(--font-size-sm)",description:"TREE SELECT \u2014 a Select whose panel holds a tree. Its rows, indent and toggle were literal * on the component, and the depth indent was a magic expression in JSX * (`depth * 1.25 + 0.5` rem) that no theme could reach at all (#319)."},{name:"--tree-select-depth-space-base",value:"var(--space-2)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-depth-space-step",value:"1.25rem",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-toggle-size",value:"1.25rem",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-toggle-space-inline-end",value:"var(--space-1)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-label-space-gap",value:"var(--space-2)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--tree-select-empty-space-block",value:"var(--space-6)",description:"Indent = base + depth \xD7 step. A denser service dials the step down without touching JSX."},{name:"--calendar-space-inset",value:"var(--space-3)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-month-space-gap",value:"var(--space-4)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-caption-space-inline",value:"var(--space-8)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-caption-font-size",value:"var(--font-size-sm)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-space-block-start",value:"var(--space-3)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-space-inline",value:"var(--space-1)",description:"CALENDAR \u2014 the react-day-picker grid. Day/weekday cells already size from --control-height * (the system control tier), but the frame around them \u2014 root inset, month gaps, nav offset, * grid rhythm \u2014 was literal on the component (#319), so a service could not tighten the * calendar to its own density without forking the classNames map."},{name:"--calendar-nav-rest-alpha",value:"0.7",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-grid-space-block-start",value:"var(--space-4)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-week-space-block-start",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-weekday-font-size",value:"var(--font-size-xs)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-weekday-radius",value:"var(--radius-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-day-font-size",value:"var(--font-size-sm)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-day-radius",value:"var(--radius-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-chevron-size",value:"var(--icon-size-md)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-space-gap",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-space-block-start",value:"var(--space-2)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--calendar-footer-border-width",value:"var(--stroke-hairline)",description:"Nav chevrons read as secondary until hovered \u2014 they frame the month, they are not the point."},{name:"--transfer-pane-min-height",value:"14rem",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-pane-radius",value:"var(--radius-md)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-panes-space-gap",value:"var(--space-3)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-inline",value:"var(--space-3)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-block",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-font-size",value:"var(--font-size-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-header-space-gap",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-search-space-inset",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-list-space-inset",value:"var(--space-1)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-inline",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-block",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-space-gap",value:"var(--space-2)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-radius",value:"var(--radius-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-font-size",value:"var(--font-size-sm)",description:"TRANSFER \u2014 the two-pane list mover. Pane height, header rhythm and row density were literal * on the component (#319), so a service could not fit the panes to its own page grid or * tighten the row for a dense admin table without forking."},{name:"--transfer-row-check-space-block-start",value:"0.125rem",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-row-description-font-size",value:"var(--font-size-xs)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-empty-space-block",value:"var(--space-8)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-actions-space-gap",value:"var(--space-2)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--transfer-action-icon-size",value:"var(--icon-size-md)",description:"The checkbox is top-aligned against a two-line row, so it needs a hair of optical offset to * sit level with the first line's cap height rather than its box."},{name:"--month-picker-panel-space-inset",value:"var(--space-3)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-grid-space-block-start",value:"var(--space-3)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-grid-space-gap",value:"var(--space-1)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-cell-space-inline",value:"var(--space-4)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-nav-font-size",value:"var(--font-size-sm)",description:"MONTH PICKER \u2014 shared by MonthPicker and MonthRangePicker, which render the same year-nav + * 3-column month grid. Both carried an identical copy of every literal (#319); one set of knobs * now drives both, so they cannot drift apart the way Select and DropdownMenu once did."},{name:"--month-picker-nav-rest-alpha",value:"var(--calendar-nav-rest-alpha)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--month-picker-icon-size",value:"var(--icon-size-md)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--month-picker-separator-icon-size",value:"var(--icon-size-sm)",description:"Year-nav chevrons read as secondary until hovered \u2014 same treatment as the Calendar nav, so * the two panels stay visually consistent when either is retuned."},{name:"--button-xs-height",value:"var(--control-height-xs)",description:'BUTTON size-xs box + the count pill (#319, reconciled in #316). * * `size="xs"` now reads the tier, like every other control in the library. It used to be * `calc(var(--control-height) - 0.75rem)` = 1.25rem, which sat 4px BELOW `--control-height-xs` * (1.5rem) that `size="icon-xs"` already used \u2014 the same tier name, two heights, so an xs * Button never lined up with the xs control beside it. It was also the exact shape this repo\'s * own rule forbids: an ad-hoc `calc(var(--control-height) \xB1 length)` silently re-derives a tier * and drifts from its siblings (the bug that made Pagination\'s size-changer taller than its * page buttons), and being a raw length rather than a `--scaling`-multiplied step, it did not * move with density while the tier did. * * What settled it was not consistency but MEASUREMENT: an xs Button rendered 20px tall, under * the 24x24 CSS px that WCAG 2.2 SC 2.5.8 (Target Size, Minimum) requires, while icon-xs beside * it rendered 24px and passed. So this is an accessibility fix that happens to also remove an * inconsistency, not a visual preference. It is a real visual change on the most-used component * in the library (20px -> 24px), and it stays a knob: a service that wants the old box sets * --button-xs-height back.'},{name:"--button-bare-target-size",value:"var(--control-height-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-space-inline",value:"var(--space-2)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-space-gap",value:"var(--space-1)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-font-size",value:"var(--font-size-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-xs-icon-size",value:"var(--icon-size-xs)",description:'Minimum TARGET of `variant="bare"` (gh#404) \u2014 the pseudo-element hit area, not a box height, * so it never shows up as geometry. Points at the same xs tier the note above settled on as this * package\'s WCAG 2.2 SC 2.5.8 floor (1.5rem = 24px), and moves with it and with density.'},{name:"--button-icon-space-inline-md",value:"var(--space-3)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-sm",value:"0.625rem",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-lg",value:"var(--space-4)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-icon-space-inline-xs",value:"0.375rem",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--button-space-block",value:"var(--space-2)",description:"Icon-adjacent padding: a button whose only child is an icon needs less inline room than one * carrying a label, or the glyph floats in a too-wide box. One knob per size tier."},{name:"--otp-caret-block-size",value:"1rem",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--otp-caret-inline-size",value:"var(--stroke-hairline)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--otp-separator-icon-size",value:"var(--icon-size-md)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-min-width",value:"var(--space-4)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-space-inline",value:"var(--space-1)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-font-size",value:"var(--font-size-xs)",description:`The OTP blinking caret. The ratchet catches it because the selector says "caret", but it is a * text CURSOR, not a chevron: a 1px bar as tall as the digit's line box. Its width belongs to * the stroke scale; its height belongs to neither the icon nor the band scale, so it is declared * rather than forced onto one. * scale-exempt: text-caret height, tracks the OTP digit's line box, not an icon or a band`},{name:"--button-count-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-default-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-default-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-destructive-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-destructive-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-secondary-background",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--button-count-secondary-color",value:"initial",description:"Count pill \xB7 COLOUR (gh#320). The pill used to tint itself translucently over whatever the * button's surface happened to be (`bg-primary-foreground/15`, `bg-foreground/8`), which means * its contrast was a FUNCTION of that surface \u2014 and five of those combinations measured below * the 4.5:1 that WCAG 2.2 SC 1.4.3 requires of small text: * * default (light) 3.88 \xB7 destructive (dark) 4.29 * outline family (light, at rest) 4.32 \xB7 outline family (light, hover) 3.64 * outline family (dark, hover) 3.68 * * The hover rows are the reason a static sweep never caught this: `--accent` only appears under * the cursor, so no screenshot of a resting page contains the failing state. Same shape as * gh#299 and gh#315 \u2014 a value that passes on the surface someone happened to check. * * The fix is the one gh#312 already validated on Toggle: OPAQUE role fills, which make the pill's * contrast independent of the button's variant AND of hover. Each filled variant uses its own * label pair SWAPPED, so the pill is exactly as legible as the label beside it and cannot be less * legible under any theme that keeps that button readable at all: * * default --primary on --primary-foreground 5.04 light \xB7 7.07 dark * destructive --destructive on --destructive-foreground 6.10 light \xB7 5.53 dark * secondary --secondary on --secondary-foreground 14.25 light \xB7 12.40 dark * outline family --foreground on --muted 14.25 light \xB7 12.40 dark * * The outline family's `--muted` fill is 1.09:1 against the button's own ground, so at rest the * counter still reads as quiet text rather than a badge (#44) \u2014 it is legibility of the DIGITS * that went up, not loudness of the pill. * * All eight are role-mirror knobs: `initial` at :root with the role default at the CALL SITE, so * a scoped [data-tenant]/.dark override of the role still reaches them (docs/TOKENS.md \xB7 * \"Role-mirror knobs MUST be `initial`\")."},{name:"--control-label-font-size",value:"var(--font-size-sm)",description:"LABEL \u2014 the Label primitive's own box and type (#319). Every one of these was a Tailwind * literal baked into label.tsx (`text-sm leading-none flex items-center gap-2`), so a service * whose form grid wanted a smaller/denser label had to hand-write font-size on every call site * (which is exactly why --form-label-font-size had to be invented as a per-instance escape). * They live under the `control` prefix because Label is a control-family primitive and * src/tokens/components/ has no `label` file of its own. * * Defaults reproduce today's rendering exactly: * font-size \u2190 `text-sm` \u2192 --text-sm \u2192 var(--font-size-sm) * line-height \u2190 `leading-none` \u2192 1 (leading-none beats text-sm's companion line-height)"},{name:"--control-label-line-height",value:"var(--line-height-normal)",description:"A LABEL WRAPS, so its line box cannot be 1. * * This was a literal `1`, which is right for the one case it was chosen for \u2014 a single-line * label beside a checkbox, where a cap-height box aligns cleanly \u2014 and wrong for every other. * The moment the text takes two lines they collide: measured on the hosted sign-up consent * label at 520px, font-size 14px with line-height 14px produced a 28px box of two touching * lines. Long copy, a narrow column, and ja/vi wrapping all reach that case routinely. * * This package has already paid for this exact mistake once: `--auth-shell-divider-label-line- * height` carries the note that a hardcoded `line-height: 1` rendered an 11px row and sat the * lower half of the canonical Login card 8px high (gh#263). Same literal, same failure, one * token over. * * `--line-height-normal` (1.5), not `--line-height-tight`: 1.25 clears the collision but two * wrapped lines still read as one block, and a label that has wrapped IS prose at that point. * 1.5 is also what this package already decided for the same job one layer up \u2014 * `--auth-shell-field-label-line-height` \u2014 so the two agree instead of drifting. * * Alignment is unaffected: `.ui-label` is `display: flex; align-items: center`, so the control * centres against the label box whatever its height."},{name:"--control-label-space-gap",value:"0.5rem",description:"Label \u2192 addon/required-marker gap. A RAW rem, deliberately NOT var(--space-2): the `gap-2` it * replaces reads Tailwind's own --spacing grid, which this repo does NOT density-scale, so a * --space-* default would silently resize every label row under a compact/comfortable density. * A service that WANTS it to follow density points the knob at var(--space-2) itself."},{name:"--control-label-disabled-alpha",value:"0.7",description:"Weight of a label whose `peer` control is disabled. Deliberately its OWN knob rather than the * global --disabled-opacity (0.5): a label must stay READABLE next to a disabled control \u2014 it is * still the field's accessible name \u2014 so it rests one step heavier than the control it names. * Default = the historical `peer-disabled:opacity-70`."},{name:"--control-surface-border-color",value:"hsl(var(--input))",description:'\u2500\u2500 CONTROL SURFACE \u2014 the antd `variant` \xD7 `status` matrix (antd 6.6.2) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * * The four surfaces and the two statuses are TOKENS, not utilities, and that is the whole point * of this block. The select-family trigger used to state its surface as `border-input * bg-background` \u2014 two Tailwind utilities, which live in `@layer utilities` and therefore beat * anything a stylesheet in `@layer components` can say. A `[data-variant="filled"]` rule would * have been dead on arrival, exactly the way `w-full` killed `.ui-app-setting-picker-icon` * (gh#366) and `--control-bounded-width` (gh#375). So the family now withholds those two * utilities and reads the surface from here instead; the DEFAULT values reproduce the previous * rendering byte for byte. * * `--control-surface-*` is the `outlined` default; the other three name themselves.'},{name:"--control-surface-background",value:"hsl(var(--background))",description:'\u2500\u2500 CONTROL SURFACE \u2014 the antd `variant` \xD7 `status` matrix (antd 6.6.2) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * * The four surfaces and the two statuses are TOKENS, not utilities, and that is the whole point * of this block. The select-family trigger used to state its surface as `border-input * bg-background` \u2014 two Tailwind utilities, which live in `@layer utilities` and therefore beat * anything a stylesheet in `@layer components` can say. A `[data-variant="filled"]` rule would * have been dead on arrival, exactly the way `w-full` killed `.ui-app-setting-picker-icon` * (gh#366) and `--control-bounded-width` (gh#375). So the family now withholds those two * utilities and reads the surface from here instead; the DEFAULT values reproduce the previous * rendering byte for byte. * * `--control-surface-*` is the `outlined` default; the other three name themselves.'},{name:"--control-filled-border-color",value:"transparent",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-filled-background",value:"hsl(var(--muted))",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-filled-shadow",value:"none",description:"`filled` \u2014 antd's grey field: no edge, a muted fill, no resting elevation."},{name:"--control-borderless-border-color",value:"transparent",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-borderless-background",value:"transparent",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-borderless-shadow",value:"none",description:"`borderless` \u2014 chrome removed entirely, for a control embedded in a surface that already * draws the box (a toolbar cell, an inline edit)."},{name:"--control-status-error-border-color",value:"hsl(var(--destructive))",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-status-warning-border-color",value:"hsl(var(--text-warning))",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-status-warning-outline-color",value:"var(--warning)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-height-compact",value:"var(--band-height-xl)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--control-height-default",value:"var(--band-height-xl)",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-block-start",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-block-end",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-inline-start",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--textarea-padding-inline-end",value:"initial",description:'STATUS. `error` reuses the destructive role already wired to the focus halo through the * `[aria-invalid="true"]` rule in focus-ring.css. * * `warning` deliberately does NOT use `--warning` (\u5C71\u5439 #f8b500). Measured against * `--background` (#fdfdfb) that hue is 1.85:1 \u2014 a boundary that marks a state has to clear 3:1 * under WCAG 2.2 SC 1.4.11, so shipping the brand yellow as the edge would have been a * colour that only looks like a warning to people who can already see it. `--text-warning` * (36 100% 28%, the darkened amber this palette keeps for exactly this reason) measures 5.4:1. * A service that wants antd\'s yellow back retunes the knob and owns that trade.'},{name:"--accordion-chevron-size",value:"var(--icon-size-md)",description:'Accordion chevron and Carousel arrow. Both were bare 1rem literals in * data-display-layout.css \u2014 glyphs with no tier-2 route, invisible to the icon ratchet because * neither selector contains the word "icon".'},{name:"--carousel-arrow-icon-size",value:"var(--icon-size-md)",description:'Accordion chevron and Carousel arrow. Both were bare 1rem literals in * data-display-layout.css \u2014 glyphs with no tier-2 route, invisible to the icon ratchet because * neither selector contains the word "icon".'},{name:"--accordion-focus-ring-offset",value:"2px",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--carousel-dot-focus-ring-offset",value:"2px",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--progress-label-font-size",value:"var(--font-size-xs)",description:"Outline-form ring gaps \u2014 a hugging ring would touch these marks * (styles/focus-ring.css)."},{name:"--code-block-font-size",value:"var(--font-size-sm)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-font-size-xs",value:"var(--font-size-xs)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-line-height",value:"var(--line-height-normal)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-space-inset",value:"var(--space-3)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-radius",value:"var(--radius-md)",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-sm",value:"12rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-md",value:"20rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--code-block-max-height-lg",value:"32rem",description:"CodeBlock \u2014 a preformatted block; Prose delegates its `pre` treatment to the same knobs."},{name:"--prose-font-size",value:"var(--font-size-base)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-font-size-sm",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-line-height",value:"var(--line-height-body)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-space-block",value:"var(--space-3)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-heading-space-block-start",value:"var(--space-6)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-list-space-inline",value:"var(--space-6)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-list-item-space",value:"var(--space-1)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-quote-border-width",value:"var(--stroke-md)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-quote-space-inline",value:"var(--space-3)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-font-size",value:"calc(1em / var(--font-size-ratio))",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-space-inline",value:"var(--space-1)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-code-radius",value:"var(--radius-sm)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--prose-image-radius",value:"var(--radius-md)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--timeline-note-font-size",value:"var(--font-size-xs)",description:"Prose \u2014 typography of rendered content. Heading sizes come from --heading-h1..h4, table cell * measures from --table-cell-padding-*; these are the rhythm knobs."},{name:"--avatar-background",value:"initial",description:"Avatar surface \u2014 `initial` so the --muted default re-resolves at the call site under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override never reaches it). A service re-tints the placeholder fill once (e.g. --avatar-background: hsl(var(--accent))). Default = hsl(var(--muted))."},{name:"--avatar-tint",value:"transparent",description:"Optional role wash over the avatar (default transparent = invisible, rule #44). Painted as an overlay so a service sets --avatar-tint: hsl(var(--primary) / 0.08)."},{name:"--avatar-square-radius",value:"var(--radius-lg)",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-size",value:"var(--control-height)",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-background",value:"initial",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-square-foreground",value:"initial",description:'Entity-header mark \u2014 `<Avatar shape="square">` (gh#249): the compact rounded SQUARE an organization/service header uses, as opposed to the round person avatar. Every value is a knob (rule #45) so a service matches the mark to its own grid without a className override. --avatar-square-background / --avatar-square-foreground are role-mirror knobs: `initial` so the --primary / --primary-foreground defaults re-resolve at the CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding to a role var would freeze at the :root value). Defaults = --radius-lg corners \xB7 --control-height box (same as the circle avatar, so swapping shape never reflows a header) \xB7 hsl(var(--primary)) fill \xB7 hsl(var(--primary-foreground)) glyph.'},{name:"--avatar-tinted-background",value:"initial",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-tinted-foreground",value:"initial",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-tinted-glyph-size",value:"var(--control-icon-size)",description:'Capability medallion \u2014 `<Avatar appearance="tinted">` (gh#12): the tinted plate a capability / feature glyph sits on, as opposed to the SOLID entity mark above. Pair it with shape="square" for the canonical rounded square. --avatar-tinted-background / --avatar-tinted-foreground are role-mirror knobs (`initial`, docs/TOKENS.md) so the --primary defaults resolve at the CALL SITE and a scoped [data-tenant]/.dark override of --primary reaches them \u2014 the exact reason this is a token and not the `hsl(var(--primary) / 0.1)` literal consumers were writing in page CSS. Defaults = hsl(var(--primary) / 0.1) wash \xB7 hsl(var(--primary)) glyph \xB7 --control-icon-size glyph box.'},{name:"--avatar-presence-size",value:"30%",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-min-size",value:"var(--space-2)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-inset",value:"0",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-ring-width",value:"var(--stroke-md)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-stroke-width",value:"var(--stroke-sm)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-bar-inline-size",value:"56%",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-bar-block-size",value:"var(--stroke-sm)",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-ring-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-online-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-away-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-busy-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--avatar-presence-offline-color",value:"initial",description:'PRESENCE INDICATOR \u2014 `<Avatar presence="online|away|busy|offline">` (gh#309): the realtime reachability dot pinned to the block-end/inline-end corner of the mark. Every constant below is a knob (rule #45) and the separator ring is chrome that reads a token (rule #44), because the hand-rolled workaround this replaces \u2014 `bg-green-500 ring-2 ring-background -end-0.5 -bottom-0.5` on a wrapper span \u2014 bakes four service-tunable constants and a raw palette colour into a consumer page. --avatar-presence-size is a PROPORTION of the mark, not a px step. One value therefore tracks EVERY avatar the system paints \u2014 the --control-height default box, a `size-12` call site, the --avatar-square-size entity mark, --org-switcher-avatar-size (1.75rem), --upload-avatar-size (6rem), the 36px ListRow density="compact" leading mark \u2014 instead of freezing one diameter that is a boulder on a 24px mark and a speck on a 96px one. --avatar-presence-min-size is the legibility floor for the smallest marks; --avatar-presence-inset lets a service pull the dot further into a round mark than into a square one. --avatar-presence-ring-color and the four state colours are ROLE-MIRROR knobs: declared `initial` here so the --background / --success / --warning / --destructive / --muted-foreground defaults resolve at the CALL SITE and a scoped [data-tenant] / .dark override of the ROLE still reaches them (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). Binding them to the role here would freeze the ring light-mode-white on a dark avatar. Presence is never colour-alone (WCAG 1.4.1): the colour rides with a SHAPE \u2014 filled \xB7 half filled \xB7 barred \xB7 hollow \u2014 and a localized sr-only string, so --avatar-presence-stroke-width and --avatar-presence-bar-* are part of the accessible encoding, not decoration. Defaults = 30% of the mark, floor 0.5rem \xB7 flush with the mark\'s corner \xB7 2px separator ring in --background \xB7 1.5px state stroke \xB7 a 56%-wide, 1.5px dnd bar.'},{name:"--progress-track-background",value:"initial",description:"Progress track + fill \u2014 `initial` so the role defaults re-resolve under a scoped theme. Track reads --secondary, fill reads --success; a service re-tones once. Defaults = hsl(var(--secondary)) track \xB7 hsl(var(--success)) fill."},{name:"--progress-fill-background",value:"initial",description:"Progress track + fill \u2014 `initial` so the role defaults re-resolve under a scoped theme. Track reads --secondary, fill reads --success; a service re-tones once. Defaults = hsl(var(--secondary)) track \xB7 hsl(var(--success)) fill."},{name:"--progress-breakdown-block-size",value:"1.375rem",description:"BREAKDOWN geometry (`segments`) \u2014 its own block size and corner, not the meter's. A 0.5rem pill carries ONE fill legibly; three abutting fills at that height read as a coloured hairline and the ratios stop being comparable, which is the only thing a breakdown is for. The corner follows --radius rather than --radius-pill: pill ends would round the first and last slice only, so the partition would look like it starts and stops somewhere other than where it does."},{name:"--progress-breakdown-radius",value:"var(--radius)",description:"BREAKDOWN geometry (`segments`) \u2014 its own block size and corner, not the meter's. A 0.5rem pill carries ONE fill legibly; three abutting fills at that height read as a coloured hairline and the ratios stop being comparable, which is the only thing a breakdown is for. The corner follows --radius rather than --radius-pill: pill ends would round the first and last slice only, so the partition would look like it starts and stops somewhere other than where it does."},{name:"--legend-gap",value:"0.875rem",description:'Legend \u2014 the key for a colour-coded surface. Small chrome, so it carries its own rhythm rather than the stack scale: the swatch is a MARK the size of a character, not a control, and the gap that reads as "these two belong together" is tighter than any named step.'},{name:"--legend-item-gap",value:"0.3125rem",description:"scale-exempt: the legend's rhythm follows its TYPE (11-12px), not the layout space scale \u2014 --space-3 (12px) is close enough to the item gap that a swatch starts binding to the label on its left, and --space-4 (16px) breaks three keys into three objects."},{name:"--legend-swatch-size",value:"0.625rem",description:"scale-exempt: half the swatch, so a mark and its label read as one word; derived from --legend-swatch-size, not from the layout scale."},{name:"--legend-swatch-radius",value:"0.125rem",description:"scale-exempt: half the swatch, so a mark and its label read as one word; derived from --legend-swatch-size, not from the layout scale."},{name:"--legend-font-size",value:"var(--font-size-xs)",description:"scale-exempt: --radius (6px) on a 10px square is 60% of the mark and reads as a DOT, a different symbol; this is the smallest corner that softens the square without becoming one."},{name:"--legend-color",value:"initial",description:"`initial` so the muted role re-resolves at the call site under a scoped theme. Default = hsl(var(--muted-foreground))."},{name:"--timeline-dot-done-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--timeline-dot-current-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--timeline-line-completed-background",value:"initial",description:"Timeline accents \u2014 `initial` so the dot/line role defaults re-resolve under a scoped theme. Defaults = hsl(var(--success)) done \xB7 hsl(var(--primary)) current/line."},{name:"--qr-code-foreground",value:"0 0% 0%",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-background",value:"0 0% 100%",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-xs",value:"6rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-sm",value:"8rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-md",value:"10rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--qr-code-size-lg",value:"12.5rem",description:"QR codes stay scanner-safe in light and dark application themes. Consumers may override these component tokens only when the resulting pair retains strong contrast."},{name:"--scroll-area-bar-size",value:"0.625rem",description:"SCROLL AREA \u2014 the custom scrollbar rail. `.ui-scroll-area-*` did not exist at all: the whole * rail shipped as Tailwind literals on the component (`w-2.5 p-px` / `h-2.5 p-px`, * `rounded-full`), so a service could not widen the bar for a touch/coarse-pointer console or * square the thumb to match a sharp-cornered theme without forking ScrollArea (rule #45). * --scroll-area-bar-size is a RAW rem on purpose: it replaces a FLAT Tailwind step (2.5 = 10px), * not a --space-* step, so binding it to the density-scaled scale would silently change today's * rendering under a non-default --scaling. Defaults reproduce the previous rail exactly."},{name:"--scroll-area-bar-padding",value:"1px",description:"Hairline inset that keeps the thumb off the rail edge \u2014 a service running a thicker bar * usually wants a proportionally larger gutter here."},{name:"--scroll-area-thumb-radius",value:"var(--radius-pill)",description:"Hairline inset that keeps the thumb off the rail edge \u2014 a service running a thicker bar * usually wants a proportionally larger gutter here."},{name:"--timeline-grid-hour-height",value:"2.5rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-axis-width",value:"3.25rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-column-min-width",value:"6rem",description:"TIMELINE GRID \u2014 the time-axis half of the Timeline family (#354 item 7). Every measure the * hand-rolled week grids in docs/showcase baked as a literal is a knob here: the height of one * hour is what a service tunes when a 24-hour axis has to fit one screen, and the column floor * is what decides when the grid scrolls instead of collapsing into slivers. * --timeline-grid-hour-height is a RAW rem on the unenforced height axis: it is a rhythm the * consumer picks per surface (a 6-hour shift board wants a taller hour than a 24-hour one), * not a step of the spacing scale."},{name:"--timeline-grid-event-min-height-minutes",value:"36",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-axis-font-size",value:"var(--font-size-2xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-head-font-size",value:"var(--font-size-xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-font-size",value:"var(--font-size-2xs)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-gap",value:"var(--space-1)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-space-inset",value:"var(--space-1)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-radius",value:"var(--radius-sm)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-event-border-width",value:"var(--stroke-md)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-now-width",value:"var(--stroke-sm)",description:"S\xE0n hi\u1EC3n th\u1ECB c\u1EE7a m\u1ED9t kh\u1ED1i s\u1EF1 ki\u1EC7n, t\xEDnh b\u1EB1ng PH\xDAT ch\u1EE9 kh\xF4ng b\u1EB1ng pixel. \u0110\xE2y l\xE0 NGU\u1ED2N DUY NH\u1EA4T: CSS suy chi\u1EC1u cao t\u1ED1i thi\u1EC3u t\u1EEB n\xF3, v\xE0 thu\u1EADt to\xE1n x\u1EBFp l\xE0n c\u0169ng d\xF9ng \u0111\xFAng con s\u1ED1 n\xE0y \u0111\u1EC3 bi\u1EBFt hai kh\u1ED1i c\xF3 \u0111\xE8 nhau tr\xEAn m\xE0n h\xECnh hay kh\xF4ng. N\u1EBFu \u0111\u1EC3 s\xE0n b\u1EB1ng pixel th\xEC thu\u1EADt to\xE1n t\xEDnh theo th\u1EDDi gian c\xF2n CSS l\u1EA1i k\xE9o chi\u1EC1u cao l\xEAn, v\xE0 hai ca kh\xF4ng tr\xF9ng gi\u1EDD v\u1EABn v\u1EBD ch\u1ED3ng."},{name:"--timeline-grid-line-color",value:"initial",description:"Role-mirror knobs (docs/TOKENS.md): `initial` so the defaults re-resolve at the CALL SITE and * a scoped [data-tenant]/.dark override of the role still reaches them. * Defaults = hsl(var(--border)) hour rules \xB7 hsl(var(--primary)) block accent \xB7 * hsl(var(--destructive)) now marker \xB7 hsl(var(--primary)) current-column wash."},{name:"--timeline-grid-event-color",value:"initial",description:"Role-mirror knobs (docs/TOKENS.md): `initial` so the defaults re-resolve at the CALL SITE and * a scoped [data-tenant]/.dark override of the role still reaches them. * Defaults = hsl(var(--border)) hour rules \xB7 hsl(var(--primary)) block accent \xB7 * hsl(var(--destructive)) now marker \xB7 hsl(var(--primary)) current-column wash."},{name:"--timeline-grid-event-muted-color",value:"hsl(var(--foreground))",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--timeline-grid-now-color",value:"initial",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--timeline-grid-current-tint",value:"initial",description:"Ch\u1EEF ph\u1EE5 trong kh\u1ED1i s\u1EF1 ki\u1EC7n n\u1EB1m tr\xEAn n\u1EC1n \u0110\xC3 T\xD4 theo m\xE0u c\u1EE7a b\xEAn ti\xEAu th\u1EE5, n\xEAn --muted-foreground v\u1ED1n hi\u1EC7u ch\u1EC9nh cho n\u1EC1n trang kh\xF4ng c\xF2n \u0111\u1EE7 t\u01B0\u01A1ng ph\u1EA3n: \u0111o \u0111\u01B0\u1EE3c 4,24 tr\xEAn n\u1EC1n t\xF4 12%, d\u01B0\u1EDBi ng\u01B0\u1EE1ng 4,5 m\xE0 c\u1EE1 ch\u1EEF n\xE0y \u0111\xF2i. M\u1EB7c \u0111\u1ECBnh d\xF9ng ch\xEDnh m\xE0u ch\u1EEF ch\xEDnh, th\u1EE9 b\u1EADc do \u0111\u1ED9 \u0111\u1EADm c\u1EE7a ti\xEAu \u0111\u1EC1 \u0111\u1EA3m nhi\u1EC7m; m\u1ED9t service bi\u1EBFt b\u1EA3ng m\xE0u c\u1EE7a m\xECnh c\xF3 th\u1EC3 d\u1ECBu l\u1EA1i."},{name:"--permission-matrix-label-width",value:"16rem",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-role-space-gap",value:"var(--space-1)",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-name-space-gap",value:"0.375rem",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-cell-icon-size",value:"var(--control-icon-size)",description:"PERMISSION MATRIX \u2014 the sticky-first-column grid. Nothing here was themeable: the class * `.ui-permission-matrix` existed as a bare hook with no CSS rule at all, so every constant * lived on the component (#319). A JA/VI service whose role names run longer than the English * ones could not widen the label column without forking."},{name:"--permission-matrix-min-width",value:"48rem",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-label-width",value:"var(--app-shell-sidebar-width)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-unit-width",value:"calc(var(--control-height-sm) * 2)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-row-height",value:"var(--control-height-lg)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-bar-height",value:"var(--control-height-sm)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--range-timeline-border-color",value:"var(--border)",description:"Floor for the scrolling body \u2014 below this the columns collapse into unreadable slivers, so * the table scrolls instead. Mirrors --table-surface-min-inline-size on DataTable."},{name:"--password-strength-score-font-size",value:"var(--font-size-xs)",description:"Data-entry component tokens \u2014 small-by-design text knobs (rule #45/#46)."},{name:"--password-strength-checklist-font-size",value:"var(--font-size-xs)",description:"Data-entry component tokens \u2014 small-by-design text knobs (rule #45/#46)."},{name:"--branch-scope-picker-gap",value:"0.75rem",description:"Stack rhythm between the mode radios, the subset box and the error line (was `gap-3`)."},{name:"--branch-scope-picker-badges-gap",value:"0.375rem",description:"Read-only summary: the wrapped run of branch Badges (was `gap-1.5`)."},{name:"--branch-scope-picker-subset-gap",value:"0.5rem",description:'The `mode="selected"` subset box \u2014 its inner stack rhythm and the inset that clears its * indent rule (was `gap-2` / `ps-4`).'},{name:"--branch-scope-picker-subset-padding-inline",value:"1rem",description:'The `mode="selected"` subset box \u2014 its inner stack rhythm and the inset that clears its * indent rule (was `gap-2` / `ps-4`).'},{name:"--branch-scope-picker-subset-border-width",value:"var(--stroke-md)",description:"The indent rule itself is CHROME (#44), so it is a knob: a service that wants the flat * treatment sets it to 0 rather than forking the component. Default = today's `border-s-2`."},{name:"--branch-scope-picker-list-max-height",value:"16rem",description:"Bounded height of the scrollable branch list (was `max-h-64`). Flat by design: the box is a * keyboard-reachable scroll region whose job is to cap the control's measure, so it must not * grow with density and push the surrounding form off a 390px frame."},{name:"--descriptions-label-width",value:"8rem",description:'Width of the label column when <Descriptions layout="horizontal">. Labels align to this * shared column so the values line up (the horizontal-detail look, mirroring <Form layout>). * A rem value gives a fixed aligned column; set `max-content` to size each label to its text. * (rule #44/#45 \u2014 a service theme tunes it here instead of forking CSS.)'},{name:"--descriptions-row-gap",value:"var(--space-3)",description:"Row-to-row gap (gh#294). Default = the historical hardcoded `gap-y-3`, so nothing changes * visually by default. A consumer composing Descriptions beside a Form/FormField (a read-only * block above an editable field on the same card) retunes this to `var(--space-4)` to match * Form's own field-to-field rhythm instead of the two blocks reading as visually unrelated."},{name:"--descriptions-column-gap",value:"1.5rem",description:"Column-to-column gap of the <dl> grid (#319). Was a hardcoded `gap-x-6`, the one axis of the * grid rhythm a service could NOT reach while --descriptions-row-gap was already a knob \u2014 so a * 2/3-column detail block could be retuned vertically but never horizontally. * A RAW rem, deliberately NOT var(--space-6): `gap-x-6` reads Tailwind's own --spacing grid, * which this repo does NOT density-scale, so a --space-* default would silently rescale the * column gap under a compact/comfortable density. Point it at var(--space-6) to opt in."},{name:"--descriptions-label-gap",value:"0.75rem",description:'Label \u2192 value gap inside ONE item when layout="horizontal" (was `gap-x-3`). Pairs with * --descriptions-label-width: a service that narrows the label column usually wants to close * this gap in the same step. Raw rem for the same --spacing reason as above.'},{name:"--descriptions-value-font-size",value:"var(--font-size-sm)",description:"VALUE TYPOGRAPHY (gh#294 + #319). `FormField staticText` renders its read-only value with the * SAME typography as a <dd> so a static Form row and a Descriptions value are indistinguishable * when mixed on one card. That contract used to be two copies of the literal `text-sm` plus a * comment asking future editors to keep them in sync; both call sites now read these tokens, so * the mirror is mechanical and a service retunes BOTH from one place."},{name:"--descriptions-value-line-height",value:"calc(1.25 / 0.875)",description:"Companion to --descriptions-value-font-size (the gh#260 bug). The `text-sm` utility this * replaces ALSO set a line-height, via Tailwind's default `--text-sm--line-height` * (= calc(1.25 / 0.875)); the theme remaps --text-sm but never that companion. Without this the * value would silently inherit ambient leading instead of its own 20px line box."},{name:"--descriptions-label-font-size",value:"var(--descriptions-value-font-size)",description:"LABEL TYPOGRAPHY. The label was a hard-coded `text-xs` utility while the value beside it read a * token, so the pair sat ONE TYPE STEP APART (`--font-size-xs` \u224812.5px against `--font-size-sm`, * which IS `--font-size-base` at 14px) and every row rendered its value BIGGER than its own * label. What separates a label from its value is COLOUR, not size. The LABEL is raised to the * value's step rather than the value shrunk to the label's: the value is the DATA, and shrinking * it would move every consumer's field panel and `FormField staticText` with it. Defaulting to * the value token locks the pair together by construction while leaving each side reachable. * Measured by check:descriptions-label-value-step."},{name:"--descriptions-label-line-height",value:"var(--descriptions-value-line-height)",description:"Companion, for the same reason the value has one (gh#260): the `text-xs` utility this replaces * ALSO carried a line-height, so dropping it without a replacement would leave the label * inheriting ambient leading instead of its own line box."},{name:"--descriptions-row-border",value:"none",description:"ROW CHROME (gh#414) \u2014 the ruled property panel. Both knobs are QUIET by default (rule #44), so * an existing Descriptions is byte-identical: no rule, no band height. * * Same shape as --page-header-divider / --page-toolbar-divider / --page-footer-divider on * PageContainer: a `border` shorthand a service opts into with ONE declaration * (`--descriptions-row-border: 1px solid hsl(var(--border))`), read at the call site. Bound at * :root rather than `initial` because the default is a plain CSS keyword, not another role * token \u2014 there is nothing for a scoped [data-tenant]/.dark override to re-resolve, and the * keyword is worth reading here (the same reasoning --page-toolbar-background records). * * The rule is drawn only on an UNBORDERED grid: `bordered` already draws a rule between every * cell, and a second block-end border would double every line it owns. * * --descriptions-row-min-height gives the ruled variant its band height \u2014 a ruled row whose * value is one short line otherwise reads as a hairline sandwich. `auto` = today. * * A continuously ruled panel sets --descriptions-row-gap to `0` in the same declaration block: * the row gap is the space BETWEEN rules, so leaving it at the default 12px draws a ladder of * detached hairlines rather than a ruled list."},{name:"--descriptions-row-min-height",value:"auto",description:"ROW CHROME (gh#414) \u2014 the ruled property panel. Both knobs are QUIET by default (rule #44), so * an existing Descriptions is byte-identical: no rule, no band height. * * Same shape as --page-header-divider / --page-toolbar-divider / --page-footer-divider on * PageContainer: a `border` shorthand a service opts into with ONE declaration * (`--descriptions-row-border: 1px solid hsl(var(--border))`), read at the call site. Bound at * :root rather than `initial` because the default is a plain CSS keyword, not another role * token \u2014 there is nothing for a scoped [data-tenant]/.dark override to re-resolve, and the * keyword is worth reading here (the same reasoning --page-toolbar-background records). * * The rule is drawn only on an UNBORDERED grid: `bordered` already draws a rule between every * cell, and a second block-end border would double every line it owns. * * --descriptions-row-min-height gives the ruled variant its band height \u2014 a ruled row whose * value is one short line otherwise reads as a hairline sandwich. `auto` = today. * * A continuously ruled panel sets --descriptions-row-gap to `0` in the same declaration block: * the row gap is the space BETWEEN rules, so leaving it at the default 12px draws a ladder of * detached hairlines rather than a ruled list."},{name:"--descriptions-border-width",value:"var(--stroke-hairline)",description:"BORDERED grid (antd `bordered`). The rule between cells and the frame around them. Width is a * stroke step so a service that thickens every hairline gets this one with it; colour is * deliberately left to the global `border-color` role so a scoped [data-tenant] override still * reaches it."},{name:"--descriptions-border-radius",value:"var(--radius-md)",description:"BORDERED grid (antd `bordered`). The rule between cells and the frame around them. Width is a * stroke step so a service that thickens every hairline gets this one with it; colour is * deliberately left to the global `border-color` role so a scoped [data-tenant] override still * reaches it."},{name:"--descriptions-cell-padding-y",value:"var(--space-2)",description:"Inset inside one bordered cell. Only read while `bordered` is set \u2014 an unbordered * Descriptions has no cell box to pad, and gains nothing."},{name:"--descriptions-cell-padding-x",value:"var(--space-3)",description:"Inset inside one bordered cell. Only read while `bordered` is set \u2014 an unbordered * Descriptions has no cell box to pad, and gains nothing."},{name:"--descriptions-label-background",value:"initial",description:"Shaded label cell, the half of antd's bordered table that makes the pairs readable at a * glance. `initial` so the --muted default re-resolves under a scoped theme. * Default = hsl(var(--muted))."},{name:"--email-shell-width",value:"480px",description:"\u2500\u2500 Shell \u2014 the 480px transactional-email geometry \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-shell-padding",value:"32px",description:"canonical transactional card width"},{name:"--email-shell-page-padding",value:"24px",description:"card inset \u2014 mirrors --space-8 (2rem)"},{name:"--email-shell-border-width",value:"1px",description:"gutter between the client viewport and the card (--space-6)"},{name:"--email-card-radius",value:"10px",description:"card edge \u2014 mirrors the 1px --border hairline"},{name:"--email-card-reference-height",value:"407px",description:"mirrors --card-radius (--radius-xl = 6px \xD7 \u03C6 \u2248 10px)"},{name:"--email-stack-gap",value:"24px",description:"canonical invitation reference measures 480\xD7407"},{name:"--email-stack-gap-sm",value:"12px",description:"block rhythm \u2014 mirrors --space-stack-lg (1.5rem)"},{name:"--email-mark-width",value:"22px",description:'The mark ARTWORK is the same 32\xD732 capsule + glyph `<Logo mark="godx" />` paints; only the * RENDERED BOX differs. The canonical SCR-302 header sets it at 22px next to a 13px/700 "GoDX" * wordmark, which is smaller than the web --logo-godx-size (2rem) \u2014 an email header carries the * identity, not the navigation, so the lockup sits quieter (gh#250).'},{name:"--email-mark-height",value:"22px",description:"canonical SCR-302 header lockup mark box"},{name:"--email-mark-gap",value:"8px",description:"canonical SCR-302 header lockup mark box"},{name:"--email-wordmark-font-size",value:"13px",description:"mark \u2194 wordmark \u2014 mirrors --logo-wordmark-gap (--space-2)"},{name:"--email-wordmark-font-weight",value:"700",description:"canonical wordmark size (\u2248 --font-size-xs 12.5px)"},{name:"--email-font-family-sans",value:'"Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", YuGothic, "M PLUS 2", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, Arial, sans-serif',description:'The DXS canonical face is Noto Sans JP (see src/styles/fonts.css; product override, direct * instruction). Email clients honour NO @font-face, so the stack ships the face NAME first and * degrades through the platform JP faces to a generic \u2014 a client with Noto Sans JP installed (or * a webmail that already loaded it, which is common \u2014 it is a widely preinstalled/CDN-cached * Google face, more likely to actually render than the niche M PLUS 2 ever was) renders the * canonical face, everything else lands on Hiragino (macOS/iOS) \u2192 Yu Gothic (Windows) \u2192 * M PLUS 2 \u2192 Meiryo \u2192 the system UI face \u2192 Arial \u2192 sans-serif. Family names are SINGLE-quoted * on export (the generator normalises) because an inline `style="\u2026"` attribute is double-quoted; * only ASCII aliases are listed, since a non-ASCII family name does not survive every transfer * encoding.'},{name:"--email-font-family-mono",value:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",description:"Tabular/reference strings \u2014 invoice ids, masked card numbers, ISO dates, amounts \u2014 are set in * the mono face in the canonical card. Mirrors --font-family-mono."},{name:"--email-body-font-size",value:"14px",description:"Tabular/reference strings \u2014 invoice ids, masked card numbers, ISO dates, amounts \u2014 are set in * the mono face in the canonical card. Mirrors --font-family-mono."},{name:"--email-body-line-height",value:"1.9",description:"1.9, NOT the web --line-height-body (1.7) \u2014 the canonical email card runs its JP body copy * looser than a screen, because a mail client gives the reader no density control."},{name:"--email-body-font-weight",value:"400",description:"1.9, NOT the web --line-height-body (1.7) \u2014 the canonical email card runs its JP body copy * looser than a screen, because a mail client gives the reader no density control."},{name:"--email-heading-font-size",value:"17px",description:"mirrors --font-weight-normal"},{name:"--email-heading-line-height",value:"1.7",description:"canonical card title (\u2248 --heading-h2, base \xD7 \u03C6^\xBC\xB2 \u2248 17.6px)"},{name:"--email-heading-font-weight",value:"500",description:"the title shares the card's body leading, not a tight ramp"},{name:"--email-cta-height",value:"44px",description:`TOUCH TARGET, deliberately DECOUPLED from --control-height-lg (36px). Do not "restore" the * mirror: email is a mobile-first, touch-only medium. There is no hover state, no precise * pointer, and mail clients do not reliably offer zoom or a focus affordance \u2014 so the web's AA * floor (SC 2.5.8, 24x24, which 36px clears) is the wrong bar here. 44px is the AAA target size * (SC 2.5.5, 44x44) and the Apple HIG 44pt / Material 48dp convention. A service that must keep * the old box sets --email-cta-height + --email-cta-line-height in its own theme.`},{name:"--email-cta-line-height",value:"44px",description:`TOUCH TARGET, deliberately DECOUPLED from --control-height-lg (36px). Do not "restore" the * mirror: email is a mobile-first, touch-only medium. There is no hover state, no precise * pointer, and mail clients do not reliably offer zoom or a focus affordance \u2014 so the web's AA * floor (SC 2.5.8, 24x24, which 36px clears) is the wrong bar here. 44px is the AAA target size * (SC 2.5.5, 44x44) and the Apple HIG 44pt / Material 48dp convention. A service that must keep * the old box sets --email-cta-height + --email-cta-line-height in its own theme.`},{name:"--email-cta-padding-x",value:"16px",description:"equal to the height: bulletproof vertical centring in Outlook"},{name:"--email-cta-radius",value:"6px",description:"mirrors --space-4"},{name:"--email-cta-font-size",value:"14px",description:"mirrors the --radius base (0.375rem)"},{name:"--email-cta-font-weight",value:"500",description:"mirrors --font-size-base"},{name:"--email-footer-font-size",value:"11px",description:"\u2500\u2500 Legal footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-footer-line-height",value:"1.8",description:"mirrors --font-size-2xs (base \xF7 \u03C6^\xBC\xB2 \u2248 11.1px)"},{name:"--email-footer-link-gap",value:"12px",description:"the legal band runs looser than the web --line-height-normal"},{name:"--email-footer-padding-top",value:"20px",description:"horizontal separation between footer links (--space-3)"},{name:"--email-footer-border-width",value:"1px",description:"space above the legal band"},{name:"--email-focus-border-width",value:"2px",description:"\u2500\u2500 Focus affordance (webmail preview panes that DO honour :focus) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-mobile-max-width",value:"520px",description:"\u2500\u2500 Mobile reflow \u2014 applied under the narrow media query and by inline fallbacks \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--email-mobile-width",value:"100%",description:"the reflow breakpoint (card width + both gutters)"},{name:"--email-mobile-padding",value:"20px",description:"the card goes fluid below the breakpoint"},{name:"--email-mobile-page-padding",value:"12px",description:"reduced card inset \u2014 mirrors --space-5"},{name:"--email-mobile-heading-font-size",value:"16px",description:"One step below the 17px desktop title. The canonical 390px reference raster is unusable (it is * 435px wide and already clips the card \u2014 dxs-platform/platform#496), so this is the library's * documented contract rather than a measured canonical value."},{name:"--email-mobile-cta-width",value:"100%",description:"One step below the 17px desktop title. The canonical 390px reference raster is unusable (it is * 435px wide and already clips the card \u2014 dxs-platform/platform#496), so this is the library's * documented contract rather than a measured canonical value."},{name:"--error-surface-max-width",value:"32rem",description:"Measure of the surface block. Caps the status code + body + metadata column so a long ja/vi * headline wraps at a readable width in BOTH shells, including the application shell where * PageContainer is much wider than the copy wants to be."},{name:"--error-surface-gap",value:"var(--space-3)",description:"Rhythm between the status code, the EmptyState body, the metadata list and the progress meter."},{name:"--error-surface-padding-block",value:"var(--space-10)",description:"Block padding of the surface inside the shell it is placed in. Desktop (1440/1024) default; the * 390 step steps it down so a phone loses no vertical space (see styles/shell-layout.css)."},{name:"--error-surface-padding-block-compact",value:"var(--space-6)",description:"Block padding of the surface inside the shell it is placed in. Desktop (1440/1024) default; the * 390 step steps it down so a phone loses no vertical space (see styles/shell-layout.css)."},{name:"--error-surface-brand-gap",value:"var(--space-2)",description:"Brand slot (a Logo) above the status code, system mode only."},{name:"--error-surface-meta-gap",value:"var(--space-1)",description:"Metadata description list: row rhythm and the label\u2194value gap inside one row."},{name:"--error-surface-meta-row-gap",value:"var(--space-2)",description:"Metadata description list: row rhythm and the label\u2194value gap inside one row."},{name:"--error-surface-meta-border",value:"none",description:"Chrome, default quiet (#44). A service opts in with * `--error-surface-meta-border: 1px solid hsl(var(--border));`."},{name:"--error-surface-meta-padding-block",value:"0",description:"Chrome, default quiet (#44). A service opts in with * `--error-surface-meta-border: 1px solid hsl(var(--border));`."},{name:"--error-surface-progress-max-width",value:"18rem",description:"Width of the maintenance progress meter \u2014 narrower than the measure, so it reads as metadata * rather than as the primary content of the page."},{name:"--sheet-width-default",value:"22.5rem",description:"Feedback primitive tokens: dialog, alert, empty state."},{name:"--sheet-overlay-background",value:"initial",description:"Overlay scrims \u2014 `initial` so the shared semantic --overlay-background re-resolves at the CALL * SITE under a scoped [data-tenant]/.dark theme (a :root binding to it freezes at :root and a * scoped override never reaches the overlay). Each surface takes a SHARE of that one scrim rather * than a private literal, so a service retints every backdrop with one --overlay-background while * the calibrated per-surface depth survives: a slide-in Sheet washes the page more lightly than a * modal Dialog. Defaults resolve to rgb(0 0 0 / 0.2) (sheet) and rgb(0 0 0 / 0.3) (dialog)."},{name:"--sheet-overlay-alpha",value:"40%",description:"Overlay scrims \u2014 `initial` so the shared semantic --overlay-background re-resolves at the CALL * SITE under a scoped [data-tenant]/.dark theme (a :root binding to it freezes at :root and a * scoped override never reaches the overlay). Each surface takes a SHARE of that one scrim rather * than a private literal, so a service retints every backdrop with one --overlay-background while * the calibrated per-surface depth survives: a slide-in Sheet washes the page more lightly than a * modal Dialog. Defaults resolve to rgb(0 0 0 / 0.2) (sheet) and rgb(0 0 0 / 0.3) (dialog)."},{name:"--sheet-shadow",value:"var(--shadow-lg)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-header-space-gap",value:"0.375rem",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-block-space-gap",value:"var(--space-1)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-row-space-gap",value:"var(--space-3)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-extra-space-gap",value:"var(--space-2)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-footer-space-gap",value:"var(--space-2)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-title-font-size",value:"var(--font-size-lg)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-description-font-size",value:"var(--font-size-sm)",description:"Sheet chrome rhythm (#319). --sheet-pad-x/-y already governed the panel inset, but the gaps * INSIDE the chrome \u2014 header stack, title/subtitle pair, the extra-slot row \u2014 were literal, so * a service could retune the sheet's outer padding and still be stuck with the inner rhythm."},{name:"--sheet-body-space-block",value:"var(--space-1)",description:"The scroll region keeps a sliver of padding so a focused control's ring is never clipped at * the scroll edges \u2014 retune together with --focus-ring-width."},{name:"--sheet-close-offset",value:"var(--space-4)",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--sheet-close-rest-alpha",value:"0.7",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--sheet-header-close-space-inline-end",value:"var(--space-8)",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-width-default",value:"32rem",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-viewport-inset",value:"1.5rem",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-overlay-background",value:"initial",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-overlay-alpha",value:"60%",description:"Close button: offset from the panel corner, and the inline room the header reserves so a * title never runs under it."},{name:"--dialog-space-x",value:"var(--space-chrome-x)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-y",value:"var(--space-chrome-y)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-inset",value:"var(--dialog-space-y) var(--dialog-space-x)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-space-gap",value:"var(--space-stack-md)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-close-space-offset",value:"var(--space-4)",description:"Dialog inset defaults to the shared global chrome tokens (override --space-chrome-* once for the * whole system, or --dialog-space-x/-y for dialogs only)."},{name:"--dialog-header-space-gap",value:"var(--space-stack-xs)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-title-row-space-gap",value:"var(--space-3)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-title-block-space-gap",value:"var(--space-1)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-extra-space-gap",value:"var(--space-2)",description:"Dialog chrome rhythm (#319) \u2014 the exact mirror of the --sheet-* set above, because Dialog's * header markup is byte-identical to Sheet's. --dialog-space-x/-y already governed the panel * inset, but every gap INSIDE the chrome (header stack, title/subtitle pair, the extra-slot row) * was a literal on the component, so a service could retune the outer padding and still be stuck * with the inner rhythm. Defaults are the values the literals resolved to."},{name:"--dialog-header-close-space-inline-end",value:"var(--space-8)",description:"Inline room the header reserves so a long title or the extra slot never runs under the * absolutely-positioned close button; retune together with --dialog-close-space-offset. * Mirrors --sheet-header-close-space-inline-end."},{name:"--dialog-close-rest-alpha",value:"0.7",description:"Close button rest opacity \u2014 quiet at rest, full on hover (rule #44). Was a hard 0.7 baked into * dialog-layout.css with no way for a theme to make the \u2715 louder. Mirrors * --sheet-close-rest-alpha so the two overlay siblings retune together."},{name:"--dialog-step-up-error-font-size",value:"var(--font-size-sm)",description:"Type-to-confirm challenge: the step-up failure line under the input. Its size + ink were * `text-sm text-destructive` on the component, i.e. unreachable from a theme."},{name:"--alert-radius",value:"var(--card-radius)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-space-inset",value:"var(--space-section-active)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-space-gap",value:"var(--space-inline-md)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-inner-space-gap",value:"var(--space-stack-sm)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-dismiss-space-offset",value:"var(--space-3)",description:"Alert corner radius (gh#268 \u2014 rule #45): a full-width Alert often sits in the * same page column as a Card \u2014 so the DEFAULT IS the Card radius (gh#282); a service re-tunes by * overriding this once. Default keeps the historical --radius-md."},{name:"--alert-icon-size",value:"var(--icon-size-lg)",description:"Leading tone glyph (the \u26A0/\u2713/\u24D8 at the start of the strip). It was a bare `1.25rem` in * alert-layout.css with no token at all, so the ONLY ways to resize it were `!important` or a * forked stylesheet \u2014 the two things the icon axis's tier 2 exists to abolish (gh#326). Same * step, so nothing moves; a service now scopes `--alert-icon-size` to one Alert instead. * Deliberately NOT --scaling-multiplied: the literal it replaces did not track density."},{name:"--alert-dismiss-rest-alpha",value:"0.7",description:"Dismiss \u2715 \u2014 rest opacity (quiet at rest, full on hover, rule #44) and glyph size. The rest * alpha was a hard 0.7 in alert-layout.css whose `:hover` companion lived on the COMPONENT as * `hover:opacity-100`, so the two halves of one affordance sat in two files and neither was * themeable. Mirrors --sheet-close-rest-alpha. The icon size carries a raw rem, not * var(--space-N): it replaces a flat Tailwind `size-4` step and must not start tracking the * density axis."},{name:"--alert-dismiss-icon-size",value:"var(--icon-size-md)",description:"Dismiss \u2715 \u2014 rest opacity (quiet at rest, full on hover, rule #44) and glyph size. The rest * alpha was a hard 0.7 in alert-layout.css whose `:hover` companion lived on the COMPONENT as * `hover:opacity-100`, so the two halves of one affordance sat in two files and neither was * themeable. Mirrors --sheet-close-rest-alpha. The icon size carries a raw rem, not * var(--space-N): it replaces a flat Tailwind `size-4` step and must not start tracking the * density axis."},{name:"--alert-bg-alpha",value:"0.05",description:"Soft (subtle) semantic tint ratios \u2014 themeable so a service can hit its exact spec * (a brand's success-bg/-border are often more present than the faint 5%/30% default)."},{name:"--alert-border-alpha",value:"0.3",description:"Soft (subtle) semantic tint ratios \u2014 themeable so a service can hit its exact spec * (a brand's success-bg/-border are often more present than the faint 5%/30% default)."},{name:"--banner-border-block-end-width",value:"1px",description:"BANNER \u2014 the page-level Alert treatment (gh#255). Every constant a service would want to * match to its page grid is a knob (rule #45). * * --banner-radius and --banner-border-width are NOT declared here (gh#327). They used to be, * and both copies were dead: components/banner.css declares the same two names at the same * `:root`, base.css imports banner AFTER feedback, so banner won every time. Radius agreed at * `0`, but border-width did not \u2014 this file said `0` and banner.css says `1px`, and `1px` is * what alert-layout.css actually paints as the strip's block-end hairline. So anyone who read * THIS file for the default was told the strip has no rule when it has one, and the MCP token * catalog carried both entries with the two conflicting values. banner.css owns the strip * geometry; these two live there and only there. * * The inline inset tracks the live page gutter, so a banner mounted above a PageContainer lines * its text up with the page title instead of sitting at a second, unrelated margin."},{name:"--banner-space-block",value:"var(--space-3)",description:"BANNER \u2014 the page-level Alert treatment (gh#255). Every constant a service would want to * match to its page grid is a knob (rule #45). * * --banner-radius and --banner-border-width are NOT declared here (gh#327). They used to be, * and both copies were dead: components/banner.css declares the same two names at the same * `:root`, base.css imports banner AFTER feedback, so banner won every time. Radius agreed at * `0`, but border-width did not \u2014 this file said `0` and banner.css says `1px`, and `1px` is * what alert-layout.css actually paints as the strip's block-end hairline. So anyone who read * THIS file for the default was told the strip has no rule when it has one, and the MCP token * catalog carried both entries with the two conflicting values. banner.css owns the strip * geometry; these two live there and only there. * * The inline inset tracks the live page gutter, so a banner mounted above a PageContainer lines * its text up with the page title instead of sitting at a second, unrelated margin."},{name:"--banner-space-inline",value:"var(--space-page-active-x)",description:"Inline inset tracks the page gutter so a banner's text lines up with the page title. * `--space-page-active-x` steps down to the compact gutter on `.ui-page-container` only, and * custom properties inherit \u2014 so a banner rendered INSIDE the container picks the compact value * up for free, while the normal case (a banner mounted ABOVE the container, or in AppShell) would * keep the desktop gutter and sit 8px out at 390px. The compact step below is what actually keeps * the two aligned; retune it rather than hard-coding a mobile inset at the call site."},{name:"--banner-space-inline-compact",value:"var(--space-page-compact-x)",description:"Inline inset tracks the page gutter so a banner's text lines up with the page title. * `--space-page-active-x` steps down to the compact gutter on `.ui-page-container` only, and * custom properties inherit \u2014 so a banner rendered INSIDE the container picks the compact value * up for free, while the normal case (a banner mounted ABOVE the container, or in AppShell) would * keep the desktop gutter and sit 8px out at 390px. The compact step below is what actually keeps * the two aligned; retune it rather than hard-coding a mobile inset at the call site."},{name:"--banner-dismiss-space-offset",value:"var(--space-2)",description:"Dismiss offset is measured from the banner's own (shorter) block inset, so the \u2715 stays * optically centred on a one-line strip instead of floating at the inline-alert offset."},{name:"--dialog-content-glow",value:"0 0 0 0 transparent",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-space-y",value:"var(--space-10)",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-space-x",value:"var(--space-6)",description:"Brand glow layer for the raised dialog/sheet panel \u2014 invisible no-op at rest (rule #44). * Paired AFTER --shadow-lg in the surface box-shadow so a service can wash the overlay with the * global glow, e.g. --dialog-content-glow: var(--shadow-glow), with no markup change."},{name:"--empty-state-description-max-width",value:"28rem",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-section-space-y",value:"var(--space-6)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-section-space-x",value:"var(--space-4)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-compact-space-y",value:"var(--space-3)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-compact-space-x",value:"var(--space-2)",description:"Measure of the description paragraph (rule #45 \u2014 a service-tunable constant gets a knob). * 28rem reads ~65 Latin characters per line; a JA/VI service that needs a shorter or longer * measure for its own copy retunes this once instead of forking `.ui-empty-state-description`."},{name:"--empty-state-icon-foreground",value:"initial",description:"EmptyState icon medallion colour \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (rule #44). A service recolours the glyph (--empty-state-icon-foreground) * or washes the medallion fill (--empty-state-icon-tint) without forking. * Defaults = hsl(var(--muted-foreground)) glyph \xB7 hsl(var(--muted)) fill."},{name:"--empty-state-icon-tint",value:"initial",description:"EmptyState icon medallion colour \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (rule #44). A service recolours the glyph (--empty-state-icon-foreground) * or washes the medallion fill (--empty-state-icon-tint) without forking. * Defaults = hsl(var(--muted-foreground)) glyph \xB7 hsl(var(--muted)) fill."},{name:"--empty-state-icon-size",value:"var(--icon-size-4xl)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--empty-state-icon-glyph-size",value:"var(--icon-size-xl)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-row-gap",value:"var(--space-stack-sm)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-cell-gap",value:"var(--space-inline-lg)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-card-inset",value:"var(--space-section-active)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-radius",value:"var(--radius)",description:"Medallion box + the glyph inside it. Both were literal (`width: 3rem` in the stylesheet, a * `size-6` utility on the icon), so a service could not scale the empty-state mark to its own * page rhythm \u2014 and the two must move TOGETHER or the glyph stops sitting centred in its * circle, which is exactly the kind of pair rule #45 exists to keep tunable as one."},{name:"--skeleton-background",value:"initial",description:"Skeleton placeholder fill \u2014 `initial` so the --muted default re-resolves at the call site under * a scoped theme (a :root binding to a role var freezes at :root). A service tints the shimmer to * its surface (rule #44) without forking the keyframes. Default = hsl(var(--muted))."},{name:"--skeleton-block-height",value:"1rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-caption-height",value:"0.75rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-title-height",value:"1.75rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-label-width",value:"6rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-detail-value-max-width",value:"28rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-stat-value-width",value:"8rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--skeleton-stat-caption-width",value:"5rem",description:"Skeleton bar heights + widths (#319). These carry RAW rem, not var(--space-N): the literals * they replace were plain Tailwind steps, which are not multiplied by --scaling. Routing them * through the spacing scale would silently make the loading state track the density axis while * the loaded content it stands in for does not. Names say what each bar STANDS IN FOR, so a * service retuning its type scale knows which one to move."},{name:"--query-load-more-space-block-start",value:"var(--space-stack-md)",description:'QUERY LIFECYCLE FOOTERS \u2014 the two rows `<InfiniteQueryState>` appends under a paginated feed: * the "load more" button row and the "loading more\u2026" caption. Both gaps were Tailwind literals * on the component (`pt-4` / `pt-2`), so a service running a denser (or airier) feed could not * align them to its own vertical rhythm without forking the component (rule #45). They live in * the feedback tier because these ARE query feedback surfaces and there is no query stylesheet. * Defaults = var(--space-stack-md) (16px) and var(--space-stack-sm) (8px) \u2014 the exact values the * Tailwind steps resolved to, so adopting this changes nothing until a theme opts in.'},{name:"--query-loading-more-space-block-start",value:"var(--space-stack-sm)",description:'QUERY LIFECYCLE FOOTERS \u2014 the two rows `<InfiniteQueryState>` appends under a paginated feed: * the "load more" button row and the "loading more\u2026" caption. Both gaps were Tailwind literals * on the component (`pt-4` / `pt-2`), so a service running a denser (or airier) feed could not * align them to its own vertical rhythm without forking the component (rule #45). They live in * the feedback tier because these ARE query feedback surfaces and there is no query stylesheet. * Defaults = var(--space-stack-md) (16px) and var(--space-stack-sm) (8px) \u2014 the exact values the * Tailwind steps resolved to, so adopting this changes nothing until a theme opts in.'},{name:"--tooltip-max-width",value:"20rem",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-space-inline",value:"var(--space-2)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-space-block",value:"var(--space-1)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-radius",value:"var(--radius)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-font-size",value:"var(--font-size-xs)",description:"TOOLTIP \u2014 the transient label surface. Every constant here was a Tailwind literal baked into * the component (`max-w-xs px-2 py-1 rounded-md text-xs shadow-md`), so a service could not * retune tooltip density or measure without forking the component (rule #45). Defaults reproduce * the previous look exactly, so adopting this changes nothing until a theme opts in."},{name:"--tooltip-shadow",value:"var(--shadow-md)",description:"Raised-surface depth \u2014 role-mirror knob, so a flat service theme sets `none` once."},{name:"--tooltip-background",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--tooltip-foreground",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--tooltip-border-color",value:"initial",description:'Surface colours \u2014 `initial` so the popover roles re-resolve at the CALL SITE under a scoped * [data-tenant]/.dark theme (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * Defaults = hsl(var(--popover)) fill \xB7 hsl(var(--popover-foreground)) text.'},{name:"--popover-width",value:"18rem",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-space-inset",value:"var(--space-4)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-radius",value:"var(--radius)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-shadow",value:"var(--shadow-md)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-header-space-gap",value:"var(--space-1)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-header-font-size",value:"var(--font-size-sm)",description:"POPOVER \u2014 the interactive overlay panel. Same story as Tooltip: `w-72 rounded-md p-4 shadow-md` * were literals, so a service could not align the panel to its own grid or width scale."},{name:"--popover-surface-background",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-foreground",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-border-color",value:"initial",description:"Role-mirror knobs \u2014 `initial`, defaults resolve at the call site (see Tooltip above)."},{name:"--popover-surface-inline-size",value:"initial",description:"Width knob, for a panel that owns its own box \u2014 a time column pair, a calendar. The three * colour knobs above already existed and padding already read `--popover-space-inset`; width was * the one surface property left absolute, so a modifier could only reach it by re-declaring the * property \u2014 which loses to import order (styles/__tests__/popover-surface-knob-cascade)."},{name:"--toast-icon-size",value:"var(--icon-size-md)",description:"TOAST (Sonner) \u2014 the status glyph in the toast's leading slot. * * WHY A KNOB AND NOT A UTILITY: sonner renders the toast body itself and takes the five status * glyphs through ONE `icons={{ success, info, warning, error, loading }}` config prop. That prop * is all-or-nothing \u2014 a consumer who wants a different glyph size must re-declare all five icons, * re-importing lucide and re-deriving the aria wiring. Routing the size through a token makes it * a one-line theme override instead (rule #45). * * Raw rem, not var(--space-N): it replaces a flat Tailwind `size-4` step, and the 16px box sonner * gives `[data-icon]` is itself fixed \u2014 scaling the glyph with density alone would overflow it. * * NAMESPACE NOTE: sonner publishes its own `--toast-*` custom properties (--toast-icon-margin-*, * --toast-svg-margin-*, --toast-button-margin-*, --toast-close-button-*). Neither name below * collides with those; keep it that way when adding to this group."},{name:"--toast-mobile-offset",value:"16px",description:"Viewport gutter of the mobile toast stack. Sonner passes `mobileOffset` straight into inline * CSS, so a var() string resolves normally. Flat 16px on purpose: this is a fixed inset from the * device edge (thumb reach / safe area), not a density-scaled gap inside a surface."},{name:"--flex-surface-background",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-surface-warning-alpha",value:"0.04",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-surface-radius",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-actions-offset-block",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--flex-actions-offset-inline",value:"initial",description:"* Lightweight row surfaces and hover actions; theme overrides remain scoped component knobs."},{name:"--form-label-width",value:"8rem",description:"Fixed aligned label column by default (gh#284) \u2014 `max-content` sized each field's label * column to its own label, so horizontal forms (especially columns={2} grids) had controls * starting at ragged x positions. 8rem mirrors --descriptions-label-width so edit forms and * show pages share the same optical grid; the Form/FormField `labelWidth` prop overrides."},{name:"--form-label-gap",value:"var(--space-4)",description:"Column gap between the label and its control in horizontal/inline layout."},{name:"--form-label-font-size",value:"var(--text-sm)",description:"Type in the label column. Inherits the body size by default, so nothing moves unless a * service opts in. It is a knob because the label column already is one: --form-label-width * lets a service align forms to its grid, and a service whose grid was drawn around a * smaller label had no way to say so \u2014 leaving it to hand-write font-size per label, which * is exactly what the width token exists to prevent."},{name:"--form-block-gap",value:"var(--space-4)",description:"Row rhythm between a Form's own top-level blocks (gh#295) \u2014 e.g. the field group's * CardContent and its CardFooter action row, or two FormFields that happen to be Form's OWN * direct children (no Card framing). Unchanged from the historical value."},{name:"--form-field-row-gap",value:"var(--space-3)",description:"Field-to-field row rhythm (gh#295) \u2014 mirrors --descriptions-row-gap so a read-only value * mixed in via `FormField.staticText` (gh#294) and a real Descriptions block share ONE canonical * rhythm. Applied via margin-based sibling spacing on FormField itself (not Form's flex `gap`, * which only reaches DIRECT children \u2014 dead in the common `Form > CardContent > FormField*` * composition every real Save-button form needs), so it holds at any DOM depth relative to Form."},{name:"--form-grid-row-gap",value:"var(--form-field-row-gap)",description:"Row rhythm between the ROWS of a `<Form columns={n}>` grid (gh#304). The grid path cannot use * the margin above \u2014 a per-item margin inside a grid double-counts the track gap AND leaves the * first item of row 1 unshifted while its row-mates drop, so row 1's columns end up misaligned. * The rhythm therefore rides the grid's own `row-gap`, and it DEFAULTS TO THE SAME * --form-field-row-gap the stacked path uses so `columns={1}` \u2014 and every `columns={n}` form once * it collapses to one column on a narrow container \u2014 is pixel-identical to a Form with no * `columns` at all. Retune this alone only to give multi-column forms a looser row rhythm than * stacked ones; retune --form-field-row-gap to move both together."},{name:"--form-grid-column-gap",value:"var(--space-4)",description:"Gutter between the COLUMNS of a `<Form columns={n}>` grid (gh#304). Was ResponsiveGrid's * generic 16px stack gap with no way to say otherwise; it is a form's inter-field gutter and a * service aligning forms to its design grid needs it as a knob (rule #45). The default keeps the * historical 16px, so nothing moves unless a theme opts in."},{name:"--legal-document-measure-max-width",value:"46rem",description:"Readable document measure. Caps the header, the section column and the footer so * a 1440px viewport still reads at ~75-90 characters per line."},{name:"--legal-document-column-gap",value:"var(--space-10)",description:"Rail \u2194 document column gutter (two-column mode only)."},{name:"--legal-document-toc-width",value:"15rem",description:"Sticky table-of-contents rail width (two-column mode only)."},{name:"--legal-document-toc-inset-block-start",value:"var(--space-6)",description:"Distance the pinned rail keeps from the top of the scrollport."},{name:"--legal-document-toc-max-height",value:"calc(100dvh - var(--space-12))",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-gap",value:"var(--space-1)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-item-padding",value:"var(--space-1) var(--space-2)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-item-radius",value:"var(--radius)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-title-font-size",value:"var(--font-size-2xs)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-font-size",value:"var(--font-size-xs)",description:"Cap for a long contents list so the rail never outgrows the viewport."},{name:"--legal-document-toc-marker-width",value:"var(--stroke-md)",description:"Leading marker on the active contents entry \u2014 a non-colour affordance so the * active state is never colour-only (WCAG 1.4.1)."},{name:"--legal-document-nav-gap",value:"var(--space-4)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-header-gap",value:"var(--space-2)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-meta-gap",value:"var(--space-2)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-meta-font-size",value:"var(--font-size-xs)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-section-gap",value:"var(--space-10)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-section-title-gap",value:"var(--space-3)",description:"Gap between the `documentNavigation` slot and the contents list inside the rail."},{name:"--legal-document-body-line-height",value:"1.8",description:"Long-form leading \u2014 legal prose reads looser than UI text."},{name:"--legal-document-scroll-offset",value:"var(--space-6)",description:"`scroll-margin-block-start` on every section: the offset a hash jump / anchor * activation leaves above the heading so it is not hidden under sticky chrome."},{name:"--legal-document-footer-gap",value:"var(--space-4)",description:"`scroll-margin-block-start` on every section: the offset a hash jump / anchor * activation leaves above the heading so it is not hidden under sticky chrome."},{name:"--legal-document-toc-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-header-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-footer-border",value:"none",description:"\u2500\u2500 Chrome \u2014 quiet by default (rule #44) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-meta-foreground",value:"initial",description:"\u2500\u2500 Role-mirror knobs \u2014 `initial` here, role default at the call site \u2500\u2500\u2500\u2500\u2500\u2500\u2500"},{name:"--legal-document-summary-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-active-foreground",value:"initial",description:"default = hsl(var(--muted-foreground))"},{name:"--legal-document-toc-active-background",value:"initial",description:"default = hsl(var(--foreground))"},{name:"--legal-document-toc-marker-color",value:"initial",description:"default = hsl(var(--accent))"},{name:"--list-row-padding-y",value:"var(--space-3)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-padding-x",value:"var(--space-4)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-gap",value:"var(--space-3)",description:"ListRow component tokens \u2014 a single-line entity row for short lists inside a Card * (sessions / API tokens / linked accounts / passkeys / notifications \u2026). Sits in a flush * CardContent; rows separate with a quiet divider (#44 \u2014 chrome defaults to the calm * semantic border)."},{name:"--list-row-border",value:"initial",description:"Row divider \u2014 `initial` so the --border default re-resolves at the call site under a scoped * theme (a :root binding to a role var freezes at :root). Default = 1px solid hsl(var(--border))."},{name:"--list-row-body-min-width",value:"12rem",description:"Inline size the content column keeps before the trailing actions wrap onto their own line * (#45 \u2014 a service retunes the stack threshold to its grid). Clamped with min(\u2026, 100%) at the * call site, so a container narrower than the knob can never force page-root overflow (#224)."},{name:"--list-row-trailing-gap",value:"var(--space-2)",description:"Gap BETWEEN trailing actions \u2014 they also wrap among themselves at narrow widths (#224)."},{name:"--list-row-compact-padding-y",value:"initial",description:'\u2500\u2500 Compact inline-actions geometry (`density="compact"`, #246) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The canonical invitation / history row: a 36px leading avatar, a shrinkable title + * description body and one or two small trailing Buttons, all on ONE line inside the canonical * 358px card (326px content after the row\'s own inline inset) at a 390px viewport. These knobs * only LOWER the geometry \u2014 the #224 wrap contract (row + trailing cluster wrap, body clamped * with min(\u2026, 100%)) is untouched, so a cluster that genuinely cannot fit still wraps instead of * widening the page root. * Declared `initial` so the spacing defaults re-resolve at the CALL SITE \u2014 --space-2 is * density-scaled and re-declared inside a `.ui-density-*` subtree, so a :root binding would * freeze compact rows at the :root density (docs/TOKENS.md \u2014 the :root freeze rule). * Defaults = var(--space-2) block padding \xB7 var(--list-row-padding-x) inline padding \xB7 * var(--space-2) gap.'},{name:"--list-row-compact-padding-x",value:"initial",description:"Inline inset defaults to the default row axis so compact and default rows in the same Card keep * one optical axis; a service retunes it to its own grid (#45)."},{name:"--list-row-compact-gap",value:"initial",description:"Inline inset defaults to the default row axis so compact and default rows in the same Card keep * one optical axis; a service retunes it to its own grid (#45)."},{name:"--list-row-compact-body-min-width",value:"6rem",description:"Compact body threshold \u2014 small enough that avatar + body + two compact Buttons fit the * canonical column (36 + 8 + 96 + 8 + 146 = 294 \u2264 326), and still a readable measure."},{name:"--list-row-read-background",value:"initial",description:"Read (default) row surface \u2014 `initial`, documented default = transparent, i.e. the Card * surface shows through untouched (#44 \u2014 chrome defaults to the quietest state)."},{name:"--list-row-unread-background",value:"initial",description:"Unread emphasis surface (`unread` rows) \u2014 `initial` so the --muted default re-resolves at the * call site under a scoped theme. Documented default = hsl(var(--muted)), the same quiet * emphasis role the table header uses; it keeps the xs muted description line at WCAG AA * (4.63:1 light / 5.47:1 dark), which hsl(var(--accent)) would not (4.23:1 light)."},{name:"--list-row-indicator-color",value:"initial",description:"Unread indicator dot fill \u2014 `initial` so the --primary default re-resolves at the call site * under a scoped theme. Documented default = hsl(var(--primary))."},{name:"--list-row-indicator-size",value:"var(--space-2)",description:"Diameter of the read/unread indicator dot; the gutter is reserved on read rows too so the * titles of a mixed list stay on one optical axis."},{name:"--logo-radius",value:"var(--radius)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-xs",value:"1.25rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-sm",value:"1.5rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-md",value:"1.75rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-size-lg",value:"2.25rem",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-xs",value:"var(--font-size-2xs)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-sm",value:"var(--font-size-xs)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-md",value:"var(--font-size-sm)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-font-size-lg",value:"var(--font-size-base)",description:"Logo component tokens \u2014 the product brand-mark box (a glyph on the primary fill), used in the * app shell header, auth screens, and topbars. Size + radius + per-tier font-size are knobs so a * service theme retunes the mark without forking CSS (rules #44/#45). Colours read the primary * role tokens directly, so a re-themed --primary re-tints the mark automatically."},{name:"--logo-success-background",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-success-foreground",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-godx-color",value:"initial",description:'Semantic identity fill reads the --brand IDENTITY role: independent of --primary (a re-themed * action colour never recolours the mark) AND of --success (the \u82E5\u7AF9 STATUS green stays on * badges/progress/"saved" text \u2014 the mark used to borrow it and rendered \u0394E76 \u2248 17.5 off the * canonical emerald, gh#250). Services retune the role once for every Logo. * ROLE-MIRROR KNOBS \u2014 declared `initial` here with the role default at the CALL SITE * (logo-layout.css), so a scoped `.dark` / `[data-tenant]` override of --brand actually * reaches the mark instead of freezing at the :root value (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented defaults: * --logo-success-background = hsl(var(--brand)) * --logo-success-foreground = hsl(var(--logo-identity-foreground)) * --logo-godx-color = hsl(var(--brand))'},{name:"--logo-identity-foreground",value:"48 9% 9%",description:'Identity-fill INK \u2014 the ink `mark="glyph"` sets its (caller-supplied) TEXT in when it sits on * the --brand identity fill. This is deliberately NOT --brand-foreground. * * --brand-foreground is the identity artwork\'s KNOCKOUT colour, not an ink: it tracks * --background in both themes (light 60 33% 99% = --background; dark 48 9% 9% = --background) * because `<Logo mark="godx">` punches its inner bar as an evenodd HOLE and the email mark has to * paint that hole as a solid fill to match. Negative space only has to clear WCAG 2.2 SC 1.4.11 * (3:1, non-text) \u2014 and at 3.67:1 on the emerald it does. * * The boxed glyph is a different thing: it renders real TEXT, so SC 1.4.3 applies at 4.5:1 (14px * bold is NOT "large text" \u2014 that needs 18.66px bold / 24px), and the knockout white measured * 3.67:1 \u2192 a genuine AA failure. This ink is 48 9% 9% (#191815), the same near-black spine the * DARK theme already inked the glyph with, so it is theme-INVARIANT: dark renders byte-identically * (6.89:1, unchanged) and light rises 3.67 \u2192 4.74:1. A service that re-themes --brand to a dark * fill overrides --logo-success-foreground (the public knob) to re-invert the ink. * * NOT a role-mirror knob: its default is a real value, not a role token, so there is no role to * freeze at :root and the `initial` + call-site rule (docs/TOKENS.md) does not apply to it.'},{name:"--logo-glyph-cap-baseline-optical-offset",value:"-0.01em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-cap-descender-optical-offset",value:"-0.09em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-x-baseline-optical-offset",value:"-0.11em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-x-descender-optical-offset",value:"-0.21em",description:'\u2500\u2500 Optical centring of the boxed GLYPH (`<Logo glyph="\u2026" />`, gh#370) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * A vertical nudge of the glyph\'s INK inside the mark box, in `em` so one value holds at every * tier. Applied with `translate` (styles/logo-layout.css): the box, the fill and the layout are * untouched, only the letterform moves. * * WHY THERE ARE FOUR. `place-items: center` centres a LINE BOX, and a line box is not a * letterform. Every CSS rule available is ONE constant shift that cannot see which character it * is moving, and the glyph classes do not share an optical centre: measured over Noto Sans JP, * M PLUS 2, Hiragino Sans and the system stack \xD7 xs/sm/md/lg, their ink centres lie 0.21em apart. * So the COMPONENT classifies the glyph string it was handed \u2014 the only layer that can \u2014 and * emits `data-ink`; these are the per-band constants it selects between. * * The band is the (top edge, bottom edge) of the UNION of the string\'s ink, so `"gX"` is * cap\u2192descender, not `"g"`\'s x-height\u2192descender. Every CJK and kana form counts as a cap-height * top: the em box overshoots the cap band above the baseline and below it by about the same * amount, so it centres where a capital does (measured -0.001em against -0.008em). * * MEASURED \u2014 worst |ink offset| from the box centre over 4 faces \xD7 4 tiers \xD7 the sample listed: * cap-baseline -0.01em 1.38px G GX TH A 8 b kt J \u795E \u3042 \u30F3 \u30B4 \u795EA A\u3042 * cap-descender -0.09em 1.25px gX Gy Bp hy \u795Eg g\u3042 \u6771y * x-baseline -0.11em 0.88px x o xo ae s * x-descender -0.21em 0.94px g y p q go * Worst case 1.38px, against 2.25px for the best glyph-blind rule (`text-box: trim-both ex * alphabetic`) and 3.94px untreated, on that same sample. The residual is within-band variation * \u2014 kana do not all fill the em box (\u30B4 sits 0.04em above \u795E) \u2014 plus the half-pixel the browser * snaps a line box by; no classifier can remove either.'},{name:"--logo-glyph-optical-offset",value:"initial",description:"The escape hatch, for a mark none of the four bands fits \u2014 a face with unusual metrics, or a * glyph the classifier cannot see (an inline `<svg>`, which is left unclassified on purpose). * Set once and it PINS every band to that value. * * Declared `initial` (guaranteed-invalid) so it is inert by default and the per-band default at * the CALL SITE wins \u2014 the same pattern as --logo-godx-size (docs/TOKENS.md). * Documented default: --logo-glyph-optical-offset = the --logo-glyph-*-optical-offset for the * band the glyph was classified into, or 0 when it was not classified."},{name:"--logo-glyph-fullwidth-width",value:"1",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-wide-width",value:"1.06",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-narrow-width",value:"0.81",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-space-width",value:"0.34",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-glyph-fit-max-width",value:"0.95",description:"\u2500\u2500 Fitting the glyph to the mark box (`<Logo glyph=\"\u6771\u4EAC\" size=\"xs\" />`, gh#377) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * `.ui-logo` is a fixed square and the glyph was set at a fixed per-tier font-size, so nothing * related the string's INLINE ADVANCE to the box it had to fit in. A full-width form occupies a * whole em, and CJK offers a line-break opportunity between EVERY pair of ideographs \u2014 so two * kanji in the 20px `xs` box did not overflow, they WRAPPED into a two-line mark. Latin never * showed this because a Latin word has no interior break opportunity: it silently spilled * instead. Measured across Noto Sans JP / M PLUS 2 / Hiragino Sans / the system stack \xD7 the four * tiers, the wrap hit \u6771\u4EAC \u795E\u6238 \u30B4\u30B8 \u682A\u5F0F at xs and sm, \u6771\u4EAC\u90FD at every tier, and \u2014 already * inside the gh#370 sample \u2014 \u795EA and A\u3042 on Hiragino at xs. * * THE FIX IS THE SAME SHAPE AS gh#370. CSS cannot see the string, so it cannot know what advance * to make room for; the COMPONENT can. It counts the string's characters in four classes and * emits them as --logo-glyph-fullwidth-count / --logo-glyph-wide-count / --logo-glyph-narrow-count * / --logo-glyph-space-count (pure, no measurement, * no layout read, SSR-safe). styles/logo-layout.css turns those counts into a modelled advance * and caps the glyph's font-size at the size that advance fits in \u2014 `min()`, so a mark whose * advance already fits keeps its tier font-size EXACTLY and nothing that renders correctly today * moves. `white-space: nowrap` sits under it as the invariant: a brand mark is one line. * * EACH CONSTANT IS AN UPPER BOUND OF ITS CLASS \u2014 that is the entire contract. Over-stating an * advance sets the mark a little smaller than it had to be; under-stating it puts the mark * OUTSIDE the box, which is the defect this whole mechanism exists to remove. The first cut * carried one constant for every proportional form and dropped white space from the count, and * both under-states shipped as spill (`WW` 3.50px, `\u6771 \u4EAC` 2.63px \u2014 see below). * * THE INVARIANT, stated as the gate asserts it: for every mark, at every tier, on every bundled * face, the FITTED font-size times the PAINTED advance stays inside the box. Not \"each constant * bounds its class in isolation\" \u2014 see the recorded slack below. * * MEASURED advance in em, per character, max over the four faces (a DOM advance read at 200px, * never a canvas `fillText`: that substitutes a fallback face for a webfont): * full-width form 1 \u2190 1.000 \u795E \xB7 \u6771 \xB7 \u3042 \xB7 \u30B4 \xB7 \u682A \xB7 \u300C \xB7 \u3001 \xB7 \uFF27, every one 1.0000 * em-wide Latin 1.06 \u2190 1.058 W 1.0580 \xB7 m 1.0100 \xB7 M 0.9870 \u2014 all Hiragino Sans * other Latin/digit 0.81 \u2190 0.863 w 0.8630 \xB7 O/Q 0.8380 \xB7 U 0.8291 \xB7 H 0.8260 \xB7 N 0.8210 \xB7 * X 0.8110 \xB7 8 0.7120 \xB7 k/t 0.5435 \xB7 l 0.3150 * collapsible space 0.34 \u2190 0.333 Hiragino 0.3330 \xB7 M PLUS 2 0.2730 \xB7 Noto 0.2270 \xB7 * system 0.1978 * * `M W m` get a class of their own because they REACH the full-width em \u2014 `W` passes it, at * 1.058em WIDER than a kanji \u2014 so no proportional constant holds them without shrinking every * other Latin mark to fit. With them out of the way the narrow class stays at 0.81. * * RECORDED SLACK, not an oversight: six forms (w \xB7 O \xB7 Q \xB7 U \xB7 H \xB7 N \xB7 X) measure 0.811\u20130.863em, * above the 0.81 constant, by at most 0.053em. Measured, none of them reaches the box edge at * its tier's font-size \u2014 `ww` at xs paints 19.2px of a 20px box \u2014 so raising the constant to * 0.87 would shrink 120 of 480 measured cells to buy nothing, against this file's own rule that * a mark which already fits keeps its tier font-size to the byte. The gate re-derives the margin * from the shipped tokens, so a change to the type scale or the box ramp re-tests it rather than * inheriting this conclusion. * * --logo-glyph-fit-max-width is the share of the box a FITTED glyph's modelled advance may take. * 0.95 leaves 0.50px (xs) / 0.60px (sm) / 0.70px (md) of fill clear of the modelled ink on each * side of a two-kanji mark \u2014 measured on the paint, 0.50\u20131.50px at xs across the four faces, * against the 0.5px minimum the library already ships (\u795EA on M PLUS 2 at xs). It is a CAP, not * a target: it only binds on the marks that do not fit."},{name:"--logo-godx-size-xs",value:"1.5rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-sm",value:"1.75rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-md",value:"2rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size-lg",value:"2.5rem",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-godx-size",value:"initial",description:'\u2500\u2500 Identity-mark box (`<Logo mark="godx" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The `size` prop drives the identity mark exactly like it drives the boxed glyph \u2014 a public * prop that renders identically at every tier is a silent no-op, and the godx LOCKUP already * scaled its wordmark per tier, so a fixed mark broke the mark\u2194wordmark proportion at * `size="lg"` (gh#163 follow-up). The godx artwork is a horizontal capsule inside a square * viewBox, so it carries less optical weight than the fully-filled glyph box: each tier sits * +0.25rem above its --logo-size-* sibling. `md` is 2rem \u2014 the historical fixed value \u2014 so * every existing default-size identity surface renders byte-identically. * * --logo-godx-size is the PIN: declared `initial` (guaranteed-invalid) here with the per-tier * default at the CALL SITE (logo-layout.css), so it is inert by default and a service that * sets it once freezes the mark at that box on EVERY tier \u2014 the same call-site pattern the * role-mirror colour knobs use (docs/TOKENS.md). Retune a single tier via --logo-godx-size-*. * Documented default: --logo-godx-size = unset (tiers apply).'},{name:"--logo-wordmark-gap",value:"var(--space-2)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-xs",value:"var(--font-size-xs)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-sm",value:"var(--font-size-sm)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-md",value:"var(--font-size-base)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-size-lg",value:"var(--font-size-lg)",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-weight",value:"700",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-letter-spacing",value:"-0.01em",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-font-family",value:"initial",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--logo-wordmark-color",value:"initial",description:'\u2500\u2500 Wordmark / lockup (`<Logo wordmark="GoDX" />`) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 * The readable product name set beside the mark. The package ships NO wordmark artwork: the * wordmark is typeset in the design-system display face, so a service retunes face, weight, * tracking, size and the mark\u2194wordmark gap here instead of writing page CSS. The colour is a * role-mirror knob whose default is the IDENTITY role --brand (never --primary, never the * --success status green): the GoDX/`success` lockup is canonical emerald out of the box, and * every other lockup reads --foreground. * Documented defaults: --logo-wordmark-font-family = var(--font-family-display); * --logo-wordmark-color = hsl(var(--foreground)), or hsl(var(--brand)) on the * godx / tone="success" lockup.'},{name:"--pagination-gap",value:"var(--space-inline-sm)",description:"Navigation primitive tokens: pagination, filters, compact pickers."},{name:"--pagination-item-gap",value:"var(--space-inline-xs)",description:"Navigation primitive tokens: pagination, filters, compact pickers."},{name:"--pagination-size-width",value:"5.5rem",description:"Size-changer trigger MIN width (gh#286) - the trigger sizes to its content (w-max) so * localized labels (ja 100/\u30DA\u30FC\u30B8) never clip; this token only keeps short labels from * collapsing below the control rhythm."},{name:"--pagination-page-padding-x",value:"var(--space-1)",description:"Inline padding on a page button. The button keeps min-width: var(--control-height), so this * only takes effect once a number outgrows that box. Deliberately --space-1 rather than * --space-2: at the wider value a two-digit label (14.8px of text + 2 * 8px + 2px border) came * to 32.8px and pushed the common 1\u20132 digit buttons off square by 0.8px."},{name:"--pagination-total-font-size",value:"var(--font-size-sm)",description:"Inline padding on a page button. The button keeps min-width: var(--control-height), so this * only takes effect once a number outgrows that box. Deliberately --space-1 rather than * --space-2: at the wider value a two-digit label (14.8px of text + 2 * 8px + 2px border) came * to 32.8px and pushed the common 1\u20132 digit buttons off square by 0.8px."},{name:"--pagination-icon-size",value:"var(--control-icon-size)",description:'Chevron glyph inside the `simple` form\'s Prev/Next Buttons (#319). Those are size="sm" * Buttons, so `.ui-button--sm svg` would draw them at --control-icon-size-sm; the component * pinned them larger with a literal `size-4` class instead, because in simple mode the chevron * IS the control \u2014 there is no label beside it to carry the affordance. The knob keeps that * deliberate override themeable (rule #45) and tracks the default control-icon tier, so it now * follows density like every other control glyph instead of staying a flat 1rem.'},{name:"--pagination-control-height-sm",value:"var(--band-height-sm)",description:'Ant Design `size="small"`. Retuned as ONE local --control-height on the bar, so the page * buttons, the size-changer trigger and the quick-jumper field shrink together instead of each * carrying its own tier \u2014 exactly how a service would retune the whole footer.'},{name:"--pagination-jumper-gap",value:"var(--space-inline-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--pagination-jumper-width",value:"4rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--pagination-jumper-font-size",value:"var(--pagination-total-font-size)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-bar-gap",value:"var(--space-3)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-bar-padding-y",value:"var(--space-2)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-label-font-size",value:"var(--font-size-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-picker-width-sm",value:"11rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--filter-picker-width-md",value:"14rem",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-gap",value:"var(--space-2)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-item-gap",value:"var(--space-1)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-font-size",value:"var(--font-size-xs)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-separator-size",value:"var(--control-icon-size-sm)",description:"Ant Design `showQuickJumper`. The field is sized to a page NUMBER, not to a sentence, so it * gets its own width rather than the shared control measure."},{name:"--steps-inline-index-font-weight",value:"var(--font-weight-bold)",description:"Inline-step emphasis (gh#12). The step number's weight and tint are separate knobs so a * service can express progression the canonical way \u2014 an accent TINT at normal weight \u2014 instead * of the original bold. --steps-inline-index-color / --steps-inline-separator-color are * role-mirror knobs (docs/TOKENS.md): `initial` so their defaults (the inherited step colour and * the --muted-foreground role) resolve at the CALL SITE and a scoped [data-tenant]/.dark * override still reaches them. Defaults reproduce today's row byte for byte."},{name:"--steps-inline-index-color",value:"initial",description:"Inline-step emphasis (gh#12). The step number's weight and tint are separate knobs so a * service can express progression the canonical way \u2014 an accent TINT at normal weight \u2014 instead * of the original bold. --steps-inline-index-color / --steps-inline-separator-color are * role-mirror knobs (docs/TOKENS.md): `initial` so their defaults (the inherited step colour and * the --muted-foreground role) resolve at the CALL SITE and a scoped [data-tenant]/.dark * override still reaches them. Defaults reproduce today's row byte for byte."},{name:"--steps-inline-separator-color",value:"initial",description:"default = currentColor at the call site"},{name:"--app-setting-picker-compact-control-height",value:"var(--control-height-sm)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-padding-x",value:"var(--space-2)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-gap",value:"var(--space-1)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--app-setting-picker-compact-font-size",value:"var(--font-size-xs)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--breadcrumb-font-size",value:"var(--font-size-xs)",description:"AppSettingPicker `compact` (gh#217) \u2014 the small, content-hugging labelled trigger used in an * auth/legal footer, where the square icon-only default reads as a stray button and the full * labelled trigger is too tall. Box height comes from the official --control-height-sm tier (never * a literal / ad-hoc calc), and every other knob is themeable (rule #45)."},{name:"--breadcrumb-menu-trigger-gap",value:"var(--space-inline-xs)",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--menubar-shortcut-font-size",value:"var(--font-size-xs)",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-list-max-inline-size",value:"100%",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-list-overflow",value:"auto",description:"Ant Design `BreadcrumbItemType.menu` \u2014 the sibling picker hung off a segment. The trigger is * the segment's own text plus a disclosure chevron, so it only needs the gap between them."},{name:"--tabs-indicator-background",value:"initial",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-indicator-size",value:"2px",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-indicator-offset",value:"0px",description:"Tabs `line` active indicator (gh#248) \u2014 the ONLY selected-state decoration the line variant * paints. The surrounding active ring belongs to the default/card lists, so `:focus-visible` * keeps its own distinct keyboard ring here (WCAG 2.4.7). `--tabs-indicator-background` is a * role-mirror knob: `initial` so hsl(var(--primary)) re-resolves at the CALL SITE under a scoped * [data-tenant]/.dark theme (a :root binding to a role var would freeze at :root). * Default = hsl(var(--primary)) \xB7 2px thick \xB7 flush with the trigger edge (offset 0 = quietest, * rule #44); a service raises the offset to park the bar on a thicker strip hairline."},{name:"--tabs-root-gap",value:"0.5rem",description:"Gap between the tab strip and the panel below it."},{name:"--tabs-list-line-space-inset",value:"0px",description:"Inset of the `line` strip. The default/pill strip keeps its own padding box; the line strip is * a flat underlined rail, so its default is the quietest value \u2014 none (rule #44). Raise it to * give the rail breathing room above its hairline."},{name:"--tabs-list-focus-ring-space-inset",value:"initial",description:"BLOCK HEADROOM FOR THE FOCUS RING (gh#376). The horizontal strip is a scroll container * (`overflow-x: auto` + `overflow-y: hidden`), and a block-axis clip shaves whatever a trigger * paints outside its own box \u2014 measured in Chromium, the `line` strip gives its triggers 0px of * block headroom, so the entire focus ring was cut off top and bottom. The headroom has to come * from LAYOUT, not from relaxing the clip: `overflow-y: visible` beside `overflow-x: auto` * computes back to `auto` per spec (a second scroll container, not a ring), and Chromium honours * `overflow-clip-margin` only when BOTH axes are `clip`, so a single-axis clip silently drops it. * The strip therefore pads its block axis by the ring's outer reach and pulls the same amount * back with a negative block margin, so the ring paints INSIDE the scrollport while the strip * occupies exactly the space it did before. * * `initial` (the role-mirror rule in docs/TOKENS.md, not a :root binding) because the default is * derived from `--focus-ring-*`, which components and tenants DO re-scope; binding it at :root * would freeze the headroom while the ring it is sized from moved. Documented default = * `calc(var(--focus-ring-width) + var(--focus-ring-glow-width))` \u2014 the ring's outer reach, read * at the call site so the two can never disagree."},{name:"--tabs-trigger-line-radius",value:"0px",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-line-padding-x",value:"1rem",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-line-padding-y",value:"0.5rem",description:"`line` trigger box. Square corners because the selected state is the token-owned ::after bar, * never a pill; the hit box is wider/taller than the pill trigger so the underline spans a real * column of the rail."},{name:"--tabs-trigger-height-sm",value:"var(--band-height-sm)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-height-md",value:"var(--band-height-md)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-height-lg",value:"var(--band-height-lg)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-sm",value:"var(--font-size-xs)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-md",value:"var(--font-size-base)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-font-size-lg",value:"var(--font-size-lg)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-sm",value:"var(--space-2)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-md",value:"var(--space-3)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-trigger-padding-x-lg",value:"var(--space-4)",description:"TABS SIZE TIERS \u2014 Ant Design's `size` (`small`/`middle`/`large`) expressed as this library's * own control bands, so a tab strip and the Buttons beside it land on the same rhythm instead of * on antd's 24/32/40 ladder. `md` reproduces today's trigger exactly: `--band-height-md` is the * default control band and `--font-size-base` is what the `text-sm` step already resolved to."},{name:"--tabs-card-list-radius",value:"0px",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-list-space-inset",value:"0px",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-list-space-gap",value:"var(--space-1)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-radius",value:"var(--radius-md)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-rail-border-width",value:"var(--stroke-hairline)",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-card-background",value:"initial",description:'TABS CARD FACE (`variant="card"` / `"editable-card"`). The strip loses the pill container \u2014 * transparent, no inset, no radius \u2014 and gains a rail its tabs sit on; each tab becomes a boxed * face rounded on the leading block edge only, and the ACTIVE one drops its block-end edge so it * reads as joined to the panel. `--tabs-card-background` is a role-mirror knob (docs/TOKENS.md): * `initial` so the --muted default re-resolves at the CALL SITE under a scoped [data-tenant] or * .dark theme instead of freezing at :root.'},{name:"--tabs-bar-gap",value:"var(--space-2)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-extra-gap",value:"var(--space-2)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-size",value:"var(--band-height-md)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-radius",value:"var(--radius-md)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-add-icon-size",value:"var(--control-icon-size)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-trigger-icon-size",value:"var(--control-icon-size)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-size",value:"var(--band-height-xs)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-radius",value:"var(--radius-sm)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-icon-size",value:"var(--icon-size-xs)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--tabs-tab-remove-space-inline-end",value:"var(--space-1)",description:"TABS BAR ROW \u2014 the one inline run that holds the strip, the `editable-card` add button and the * `extra` (antd `tabBarExtraContent`) slots."},{name:"--menubar-item-hover-background",value:"initial",description:"Menu item hover/highlight tint \u2014 `initial` so the --accent default re-resolves at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--accent-foreground)) text."},{name:"--menubar-item-hover-foreground",value:"initial",description:"Menu item hover/highlight tint \u2014 `initial` so the --accent default re-resolves at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--accent-foreground)) text."},{name:"--filter-bar-sticky-offset",value:"0px",description:"Sticky offset for the pinned filter strip (Toolbar `sticky`, #197). Default 0 (chrome, * rule #44); raise it so the strip parks below a fixed topbar."},{name:"--filter-bar-sticky-background",value:"initial",description:"Fill painted only when the filter strip is pinned. Role-mirror knob (rule #45): `initial` * so --background re-resolves at the call site under a scoped [data-tenant]/.dark theme."},{name:"--filter-bar-scroll-padding-y",value:"var(--space-1)",description:'Scrollbar gutter reserved under a `overflow="scroll"` filter strip (#216) so the inline * scrollbar never overlaps the controls. Rule #45 \u2014 a service theme retunes it to its grid * (0 on an overlay-scrollbar platform).'},{name:"--filter-bar-search-width",value:"20rem",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-filter-width",value:"var(--filter-picker-width-md)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-chip-gap",value:"var(--space-2)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--filter-bar-section-gap",value:"var(--space-2)",description:"FilterBar typed model (gh#258) \u2014 token-owned geometry so every list page gets the SAME * search width, filter width, chip rhythm and section stacking without page-local CSS. * All are rule-#45 knobs: a service theme retunes them once, props/className override per * instance. Below 640px the strip stacks (search/filters full-width); the widths apply from * the 640px breakpoint up, always clamped by min(100%, \u2026) so a narrow container never * overflows at 390px with long JA/EN/VI labels."},{name:"--menu-item-height",value:"var(--band-height-md)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-radius",value:"var(--radius-sm)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-space-inline",value:"var(--space-2)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-space-gap",value:"var(--space-2)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-font-size",value:"var(--font-size-base)",description:"MENU SURFACES \u2014 one row rhythm shared by ContextMenu, Menubar and DropdownMenu. All three are * the same Radix popup surface; the row height was a literal `2rem` in the CSS and DropdownMenu * had not been converted at all, so it carried the whole box as Tailwind literals on the * component (#319). A service tunes the menu rhythm once here instead of three times."},{name:"--menu-item-inset-space-inline-start",value:"var(--space-8)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-indicator-size",value:"0.875rem",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-indicator-inset-inline-start",value:"var(--space-2)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-icon-size",value:"var(--icon-size-md)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-content-space-inset",value:"var(--space-1)",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--menu-content-min-width",value:"10rem",description:"Inset rows (a checkbox/radio row without its own indicator) reserve the indicator column so * labels stay aligned with their checked siblings."},{name:"--dropdown-content-min-width",value:"8rem",description:"DropdownMenu is anchored to a small trigger, so it opens narrower than a context menu."},{name:"--menu-content-width-sm",value:"12rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--menu-content-width-md",value:"16rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--menu-content-width-lg",value:"20rem",description:'MENU WIDTH LADDER (gh#396) \u2014 the measures `<DropdownMenuContent width="sm|md|lg">` selects. * Read ONLY when the prop is set, so an untouched menu keeps --dropdown-content-min-width above * and moves by nothing. They exist because a menu wider than its trigger \u2014 a user menu, a * project switcher, a notification panel \u2014 had exactly one mechanism left at the call site * (`className="min-w-56"`), which put the width of every menu in the app beyond a theme\'s reach. * A regular ladder, not the three literals one app happened to write: a service that wants * 22.5rem notification panels retunes --menu-content-width-lg once.'},{name:"--dropdown-arrow-width",value:"var(--space-3)",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--dropdown-arrow-height",value:"var(--space-inline-xs)",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--dropdown-arrow-background",value:"initial",description:"Ant Design `arrow` \u2014 the pointer at the anchored edge. Radix stamps a 10\xD75 svg; these two * knobs override it so the pointer scales with a service theme's menu chrome. `--dropdown-arrow- * background` is a role-mirror knob: `initial`, so --popover re-resolves at the CALL SITE."},{name:"--menu-separator-space-block",value:"var(--space-1)",description:"default = var(--popover) at the call site"},{name:"--menu-separator-space-inline",value:"calc(var(--space-1) * -1)",description:"default = var(--popover) at the call site"},{name:"--navigation-menu-trigger-icon-size",value:"var(--icon-size-sm)",description:"NAVIGATION MENU \u2014 the disclosure chevron on a top-level trigger. It was a bare `0.9rem` in * navigation-layout.css: no token, so unreachable from an app (gh#326), and 14.4px, so off the * icon scale AND off the pixel grid. A stroked chevron drawn into a 14.4px box lands its path * on half pixels at 1x, which is a rendering defect rather than a rounding preference, so this * SNAPS to the nearest step \u2014 --icon-size-sm, 14px, \u22120.4px. The nearest step upward is 16px * (+1.6px) and would also fight the `opacity: 0.7` that makes this chevron deliberately quiet. * `sm` rather than `md` is the same call the other quiet chevrons in the system already made * (--month-picker-separator-icon-size, --steps-inline-separator-size). NOT * --scaling-multiplied: the literal it replaces did not track density."},{name:"--steps-dot-size",value:"0.625rem",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-dot-process-ring-width",value:"var(--stroke-xl)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-border-width",value:"var(--stroke-md)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-font-size",value:"var(--font-size-sm)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-marker-icon-size",value:"var(--icon-size-md)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-wait-icon-size",value:"var(--icon-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-title-font-size",value:"var(--font-size-sm)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-title-font-size-compact",value:"var(--font-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-subtitle-font-size",value:"var(--font-size-xs)",description:"STEPS \u2014 the full (non-inline) variant. `--steps-inline-*` already covers the compact inline * form; the marker, connector and text rhythm of the main variant were still literal on the * component (#319), so a service could not resize the dot, retighten the vertical run, or move * the horizontal connector to match its own grid."},{name:"--steps-vertical-space-gap",value:"var(--space-3)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-vertical-space-block-end",value:"var(--space-8)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-vertical-text-space-block-start",value:"var(--space-1)",description:"Vertical run: gap between marker and text, and the drop to the next step."},{name:"--steps-horizontal-text-space-block-start",value:"var(--space-2)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-horizontal-text-space-inline",value:"var(--space-2)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-connector-inset",value:"1.25rem",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-connector-space-block-start",value:"var(--space-4)",description:"Horizontal run: the text sits under the marker, and the connector spans the gap between * two markers \u2014 inset by the marker radius on each side so it never runs under a marker."},{name:"--steps-nav-space-gap",value:"var(--space-2)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-space-inline",value:"var(--space-4)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-space-block",value:"var(--space-3)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-radius",value:"var(--radius-md)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-nav-separator-size",value:"var(--control-icon-size-sm)",description:'STEPS `navigation` (Ant Design `type="navigation"`) \u2014 each step becomes a slab that points at * the next one. The rail\'s hairline connector is switched OFF for this type, so the join is the * chevron plus this gap; the slab tint is the same `--muted` / `--accent` pair every other quiet * surface in the library uses, so a service retunes it once at the role.'},{name:"--steps-progress-ring-width",value:"var(--stroke-md)",description:"STEPS `percent` (Ant Design) \u2014 the determinate arc around the CURRENT marker. It is a ring * drawn in a padding box AROUND the existing marker, so no status face changes geometry. * `--steps-progress-track-color` is a role-mirror knob (docs/TOKENS.md): `initial`, so the * --muted default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme."},{name:"--steps-progress-track-color",value:"initial",description:"STEPS `percent` (Ant Design) \u2014 the determinate arc around the CURRENT marker. It is a ring * drawn in a padding box AROUND the existing marker, so no status face changes geometry. * `--steps-progress-track-color` is a role-mirror knob (docs/TOKENS.md): `initial`, so the * --muted default re-resolves at the CALL SITE under a scoped [data-tenant]/.dark theme."},{name:"--app-setting-picker-locale-width",value:"10rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-timezone-width",value:"14rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-date-format-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-time-format-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-theme-width",value:"9rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-brand-width",value:"11rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-density-width",value:"10rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-font-size-width",value:"9rem",description:"APP SETTING PICKER \u2014 per-kind trigger widths (#319). Each picker is sized to the longest * value it can show: a timezone name is far wider than a theme name. These were literal * `sm:w-*` steps in a lookup table, so a service whose locale renders longer labels (a German * timezone list, a Japanese density label) could not widen just the one that overflows."},{name:"--app-setting-picker-width-breakpoint",value:"40rem",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-bar-border-width",value:"0",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-bar-shadow",value:"none",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-icon-size",value:"var(--icon-size-md)",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--app-setting-picker-icon-rest-alpha",value:"0.7",description:"Below this the trigger hugs its content instead of taking the per-kind width, so a picker * dropped into a narrow topbar never stretches the bar (gh#165)."},{name:"--scroll-area-anchor-offset",value:"3rem",description:'How close to the bottom edge the reader still counts as "following the stream" for * `<ScrollArea anchor="bottom">`. Inside this band new content keeps the viewport pinned to the * newest item; one pixel beyond it the reader is reading history and anchoring NEVER moves them * again until they come back (WCAG 3.2.5 \u2014 no change of context on request of the machine). * * It is a rule #45 knob because the right distance is a function of the row height a service * renders: one line of a dense audit log is ~20px, a chat bubble with an avatar is ~64px, and * "one row from the bottom" is what the reader actually means. Expressed in rem on purpose \u2014 it * then tracks the user\'s font size, so the band is still one row at 200% zoom (WCAG 1.4.4) * instead of collapsing to a third of a row. The `anchorOffset` prop overrides it per instance; * px/rem/em are all accepted.'},{name:"--segmented-track-padding",value:"calc(var(--space-1) / 2)",description:"track padding = the bold line width = 2px. Half the base spacing step rather than a raw length, * so it rides `--scaling` with everything else."},{name:"--segmented-track-background",value:"var(--muted)",description:"track background \u2014 the recessed ground a control group sits in."},{name:"--segmented-track-radius",value:"var(--radius)",description:"track radius = the base radius; item radius = one step DOWN the radius scale, not * `radius \u2212 trackPadding` (the two coincide only because the source scale happens to step by 2). * This scale is \u03C6-spaced, so \"one step down\" from --radius is --radius-md (6px \u2192 3.71px, against * the source's 6 \u2192 4); --radius-sm is two steps and reads visibly squarer. The same pair is * already what TabsList (`rounded-lg`) and TabsTrigger (`rounded-md`) use \u2014 this library's other * track-and-slab control."},{name:"--segmented-item-radius",value:"var(--radius-md)",description:"track radius = the base radius; item radius = one step DOWN the radius scale, not * `radius \u2212 trackPadding` (the two coincide only because the source scale happens to step by 2). * This scale is \u03C6-spaced, so \"one step down\" from --radius is --radius-md (6px \u2192 3.71px, against * the source's 6 \u2192 4); --radius-sm is two steps and reads visibly squarer. The same pair is * already what TabsList (`rounded-lg`) and TabsTrigger (`rounded-md`) use \u2014 this library's other * track-and-slab control."},{name:"--segmented-item-height",value:"calc(var(--control-height) - var(--segmented-track-padding) * 2)",description:"label height = control height \u2212 track padding \xD7 2. The track therefore measures exactly * --control-height, so a Segmented sits level with an Input and a Button on the same row."},{name:"--segmented-item-padding-inline",value:"calc(var(--control-padding-x) - 1px)",description:"item padding-inline = control padding-x \u2212 one border width."},{name:"--segmented-item-gap",value:"calc(var(--space-3) / 2)",description:"icon gap = the small margin step / 2."},{name:"--segmented-item-color",value:"var(--muted-foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-hover-color",value:"var(--foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-selected-color",value:"var(--foreground)",description:"item ink = the label ink \xB7 hover / selected ink = the body ink."},{name:"--segmented-item-hover-background",value:"var(--accent)",description:"item hover fill = the lighter neutral \xB7 active fill = the heavier of the pair."},{name:"--segmented-item-active-background",value:"var(--secondary)",description:"item hover fill = the lighter neutral \xB7 active fill = the heavier of the pair."},{name:"--segmented-item-selected-background",value:"var(--background)",description:"selected fill = the elevated surface + a soft shadow \u2014 the selected slab reads as lifted * off the recessed track, which is the whole affordance."},{name:"--segmented-item-selected-shadow",value:"var(--shadow-sm)",description:"selected fill = the elevated surface + a soft shadow \u2014 the selected slab reads as lifted * off the recessed track, which is the whole affordance."},{name:"--separator-rule-size",value:"var(--stroke-hairline)",description:"Rule weight, both orientations and both halves of a labelled rule."},{name:"--separator-rule-color",value:"initial",description:"Rule colour. Role-mirror knob \u2192 declared `initial` so the --border default re-resolves at the * CALL SITE under a scoped [data-tenant] / .dark theme (docs/TOKENS.md \u2014 the :root freeze rule). * Documented default = hsl(var(--border))."},{name:"--separator-label-gap",value:"initial",description:"Gap between the label and each rule half. `initial` so the default re-resolves at the call * site: --space-* is density-scaled and re-declared inside a `.ui-density-*` subtree, so a * :root binding would freeze the gap at the :root density. Documented default = var(--space-3)."},{name:"--separator-label-inset",value:"initial",description:'Length of the SHORT rule half when labelAlign is `start` / `end` \u2014 the label\'s inset from the * inline edge (the Slack/Mattermost stream convention). It is a grid track on the INLINE axis, * so it flips with the writing direction under dir="rtl" with no extra rule. `initial` for the * same density reason as the gap. Documented default = var(--space-6).'},{name:"--separator-label-font-size",value:"var(--font-size-xs)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-line-height",value:"var(--line-height-normal)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-font-weight",value:"var(--font-weight-medium)",description:"Label type ramp (#46) \u2014 steps of the modular scale, never a literal. `xs` is the quiet * stream/divider voice; --separator-label-line-height keeps ja/vi descenders and tone marks * intact (cf. #254); --separator-label-font-weight lets a service raise an unread watermark * without touching the day divider."},{name:"--separator-label-color",value:"initial",description:"Label colour. Role-mirror \u2192 `initial`; documented default = hsl(var(--muted-foreground))."},{name:"--separator-tone-muted-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-muted-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-primary-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-primary-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-success-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-success-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-warning-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-warning-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-destructive-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-destructive-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-info-rule-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--separator-tone-info-label-color",value:"initial",description:"Per-tone rule + label colours. `tone` re-points BOTH the rule and the label \u2014 never the rule * alone \u2014 so an attention rule such as an unread watermark is not colour-only (WCAG 1.4.1) and * survives forced-colors. All role-mirror \u2192 `initial`; documented defaults are the matching * semantic role. `muted` deliberately mirrors the quiet default so a service can still split the * two voices later without a breaking change."},{name:"--sheet-responsive-breakpoint-width",value:"48rem",description:'Viewport width at and below which `SheetContent responsive="auto"` renders the mobile bottom * sheet instead of the desktop side panel. Read at runtime by useSheetResponsiveMode() (a CSS * @media cannot resolve a custom property), so a service moves the drawer breakpoint from ONE * knob for every overlay that opts into the responsive contract \u2014 Sheet and OrgSwitcher alike. * 48rem = 768px mirrors the library\'s canonical mobile line (useIsMobile). Accepts px/rem/em.'},{name:"--sheet-bottom-max-height",value:"85dvh",description:'Block size cap for the responsive BOTTOM presentation only (never for a plain * `side="bottom"` sheet, which stays content-sized). Keeps the sheet below the viewport so the * SheetBody scrolls and the page behind it stays visible/dismissable.'},{name:"--responsive-grid-column-width",value:"20rem",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-section-label-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-product-tenant-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-badge-font-size",value:"var(--font-size-2xs)",description:"Shell (sidebar / topbar / kbd) component tokens \u2014 small-by-design text * knobs (rule #45/#46). A service re-tunes chrome text without moving the * global scale."},{name:"--sidebar-badge-background",value:"initial",description:'Sidebar nav count pill colours \u2014 the pill had a font-size knob and NO colour knob, so a rail * that needed to tell "unread" from "mentions you" had to nest a <Badge> inside `badge` and got * two pills, one inside the other. `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--secondary)) fill \xB7 hsl(var(--muted-foreground)) text.'},{name:"--sidebar-badge-foreground",value:"initial",description:'Sidebar nav count pill colours \u2014 the pill had a font-size knob and NO colour knob, so a rail * that needed to tell "unread" from "mentions you" had to nest a <Badge> inside `badge` and got * two pills, one inside the other. `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root). * Defaults = hsl(var(--secondary)) fill \xB7 hsl(var(--muted-foreground)) text.'},{name:"--sidebar-badge-destructive-background",value:"initial",description:'The EMPHASIS pair, read only by `SidebarItemProp.badgeTone="destructive"` (rule #44 \u2014 a * neutral row never resolves them). Defaults = hsl(var(--destructive)) fill \xB7 * hsl(var(--destructive-foreground)) text, the canonical AA-checked pair.'},{name:"--sidebar-badge-destructive-foreground",value:"initial",description:'The EMPHASIS pair, read only by `SidebarItemProp.badgeTone="destructive"` (rule #44 \u2014 a * neutral row never resolves them). Defaults = hsl(var(--destructive)) fill \xB7 * hsl(var(--destructive-foreground)) text, the canonical AA-checked pair.'},{name:"--sidebar-user-focus-ring-alpha",value:"1",description:'Focus-ring alpha on the tinted shell grounds. It was 0.45, to stop the ring reading as a * SELECTED item rather than a focused one \u2014 a real concern, but 0.45 composites to \u22481.90:1 * against the page, so it answered it by making the indicator non-compliant with WCAG 2.2 * SC 1.4.11 \u2014 colour IS the criterion for a focus indicator, so a translucent mark fails it * whatever its area. The mark is opaque and the quieting comes from the halo outside it * (`--focus-ring-glow-*`), which carries no criterion, and from the mark\'s light weight * (one `lineWidth`, inset into the row). "Focused" is kept distinct from "selected" by the * halo\'s shape, not by weakening the mark (styles/focus-ring.css).'},{name:"--topbar-chip-icon-size",value:"1.125rem",description:"Topbar glyphs. Three separate sizes, all previously baked as literals in shell-layout.css. * * --topbar-chip-icon-size is off the SCALE but on the pixel GRID, and those are different * findings. Read the rule it styles: `display: grid; place-items: center; font-weight: 700` \u2014 * it is a letter MEDALLION, not a glyph, so the half-pixel-stroke argument that made the * NavigationMenu chevron snap from 14.4px to 14px does not apply here. 18px is a whole pixel * sitting between --icon-size-md (16) and -lg (20); snapping it would be a visible 2px box * change bought for nothing. Declared, not silently tolerated. * scale-exempt: 18px letter medallion, a whole pixel between two icon steps, not a glyph"},{name:"--sidebar-product-caret-icon-size",value:"var(--icon-size-sm)",description:"Sidebar product-switcher caret \u2014 a real glyph, previously a bare 0.875rem."},{name:"--topbar-icon-size",value:"var(--icon-size-md)",description:"Sidebar product-switcher caret \u2014 a real glyph, previously a bare 0.875rem."},{name:"--topbar-caret-icon-size",value:"var(--icon-size-xs)",description:"The caret is the eighth literal-sized icon rule in this file. The ratchet missed it because * its selector says `caret` while the pattern looked for `icon|glyph` \u2014 the guard has been * taught the wider vocabulary."},{name:"--topbar-icon-focus-ring-alpha",value:"1",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-user-role-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--org-switcher-meta-foreground",value:"var(--muted-foreground)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-nav-sub-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-flyout-title-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--topbar-chip-icon-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--kbd-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-logo-mark-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-avatar-font-size",value:"var(--font-size-2xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-user-name-font-size",value:"var(--font-size-xs)",description:"Opaque for the same reason as --sidebar-user-focus-ring-alpha above (SC 2.4.13)."},{name:"--sidebar-gradient",value:"none",description:"Brand-chrome gradient hooks \u2014 opt-in, invisible by default. A service paints * the sidebar/topbar surface by setting these to a gradient (no-op = none)."},{name:"--topbar-gradient",value:"none",description:"Brand-chrome gradient hooks \u2014 opt-in, invisible by default. A service paints * the sidebar/topbar surface by setting these to a gradient (no-op = none)."},{name:"--app-shell-viewport-inset",value:"0px",description:"HOW MUCH OF THE VIEWPORT IS NOT THIS APPLICATION'S \u2014 0 unless something says otherwise, which * is every ordinary page. A platform bar docked to a viewport edge sets it to the band it took, * and the shell sizes itself to what is left instead of overflowing the window by that much."},{name:"--app-shell-bar-height",value:"var(--band-height-2xl)",description:"HOW MUCH OF THE VIEWPORT IS NOT THIS APPLICATION'S \u2014 0 unless something says otherwise, which * is every ordinary page. A platform bar docked to a viewport edge sets it to the band it took, * and the shell sizes itself to what is left instead of overflowing the window by that much."},{name:"--app-shell-bar-inset",value:"var(--space-page-x)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-bar-inset-compact",value:"var(--space-page-compact-x)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-bar-gap",value:"var(--space-3)",description:"Inline inset and slot gap of the AppShell top bar. * * ONE OWNER FOR THE HORIZONTAL PAGE-INSET AXIS (gh#330). The bar sits in the SAME grid track as * `.app-main`, directly above the page, so its first control and the page title are on one * vertical edge \u2014 or they are supposed to be. These two knobs used to name their own values * (--space-4 / --space-3) while the page named --space-page-x / --space-page-compact-x, and * nothing reconciled them: measured in Chromium on /isolate/layout-app-shell the topbar's * content started at x=80 while the page header's started at x=88 (1512px), and because the two * sides also stepped at DIFFERENT breakpoints (shell 900px, page 720px) the error was not even * constant \u2014 8px at 1512, 12px between 720 and 900, 4px below 720. A consumer cannot correct a * drift that changes with the viewport. * * The page gutter WINS the axis, for three reasons: it is read by seven regions (page header, * toolbar, body, footer, PageContainer.Inset, the DataTable full-bleed compensation, Banner) * against this knob's one element; the bar is the region that must line up with the page, not * the other way round (the rail is a different track with its own inset); and moving the bar * moves exactly one element in one composition, while moving --space-page-x would move every * page in every consumer app. * * The NAMES stay \u2014 a theme that already sets `--app-shell-bar-inset` keeps working, and a bar * that genuinely wants to sit tighter than its page still has its own knob. Only the DEFAULTS * now point at the owner. `-compact` applies below the PAGE's 720px step (not the shell's 900px * restructure), so both sides tighten on the same line \u2014 see styles/shell-layout.css."},{name:"--app-shell-sidebar-width",value:"16rem",description:'Docked navigation TRACK widths \u2014 the SINGLE most-retuned shell constant (rule #45). A service * that designs on a different grid sets `--app-shell-sidebar-width: 15.9375rem` (255px) once * instead of forking `.app-root`. * * THREE WIDTHS, THREE DIFFERENT QUESTIONS \u2014 and two of them used to share the word "rail": * * - `--app-shell-sidebar-width` the sidebar track, expanded. * - `--app-shell-sidebar-collapsed-width` the SAME track at `<AppShell sidebarCollapsed>`. * - `--app-shell-nav-rail-width` a SECOND, separate track that only exists when the * `navRail` slot is filled (the Slack/Teams shape). * * The middle one shipped as `--app-shell-rail-width` through 19.x, which read as "the width of * the rail" and therefore collided head-on with the real rail added in 20.0.0 \u2014 two tokens, both * 4rem, both spelled "rail", meaning entirely different things. Renamed with NO alias: an alias * would resolve to a plausible width in either reading and break silently, which is precisely the * failure class this package gates against everywhere else.'},{name:"--app-shell-sidebar-collapsed-width",value:"4rem",description:'Docked navigation TRACK widths \u2014 the SINGLE most-retuned shell constant (rule #45). A service * that designs on a different grid sets `--app-shell-sidebar-width: 15.9375rem` (255px) once * instead of forking `.app-root`. * * THREE WIDTHS, THREE DIFFERENT QUESTIONS \u2014 and two of them used to share the word "rail": * * - `--app-shell-sidebar-width` the sidebar track, expanded. * - `--app-shell-sidebar-collapsed-width` the SAME track at `<AppShell sidebarCollapsed>`. * - `--app-shell-nav-rail-width` a SECOND, separate track that only exists when the * `navRail` slot is filled (the Slack/Teams shape). * * The middle one shipped as `--app-shell-rail-width` through 19.x, which read as "the width of * the rail" and therefore collided head-on with the real rail added in 20.0.0 \u2014 two tokens, both * 4rem, both spelled "rail", meaning entirely different things. Renamed with NO alias: an alias * would resolve to a plausible width in either reading and break silently, which is precisely the * failure class this package gates against everywhere else.'},{name:"--app-shell-nav-rail-width",value:"2.5rem",description:"3.5rem, not the 4rem the collapsed sidebar uses. Two reasons, and both are why the default * moved: at 4rem the rail's 32px controls sat in 16px of air on each side and read as a wide * column rather than a rail; and a rail that happened to be exactly as wide as the collapsed * sidebar made the two adjacent nav tracks fuse into one 8rem block the moment the sidebar * collapsed. 3rem (48px) still clears the coarse-pointer 44px tap target, with 2px either side * of a 44px control. It is a token precisely so a service that wants Slack's wider rail sets * this one line \u2014 never a forked `.app-nav-rail`."},{name:"--app-shell-nav-rail-item-size",value:"var(--band-height-lg)",description:"The SIZE OF A RAIL CELL, and the reason the rail can be this narrow. The controls the rail * hosts carry their own band token (`OrgSwitcher`'s collapsed trigger is a square of * `--org-switcher-trigger-height`), so a narrower TRACK alone does not narrow them \u2014 it clips * them, because the rail clips. The rail therefore sizes its own cells, exactly as the bar sizes * a `TopbarItem` by stretching it to `--app-shell-bar-height`: chrome decides how big its cells * are, the cell does not decide how big the chrome is. * * 2.25rem (36px) on a mouse \u2014 comfortably over the 24x24 of WCAG 2.2 SC 2.5.8 \u2014 and the coarse * block below lifts it back to the 44px tap floor of rule #24, together with the track."},{name:"--app-shell-nav-rail-height",value:"var(--app-shell-nav-rail-width)",description:"The SAME rail turned 90\xB0: its thickness when `navRailPosition` is a block edge (top/bottom) * and the column becomes a full-measure strip. A separate token rather than one \"size\", because * a width read as a height is the kind of name that survives review and then confuses every * later override. * * A strip is THINNER than the column, and 2.75rem is where thinner stops: `--band-height-xl` is * 44px, the WCAG 2.2 AA touch floor this library states as rule #24 and enforces on every * consumer, and it is also exactly `--org-switcher-trigger-height`. Below it the shell's own * platform bar would be the one control on the page under the floor \u2014 and with the rail's * `overflow: clip`, a control taller than the strip is clipped rather than shrunk. * * ONE THICKNESS, TWO AXES: it resolves to the width, so the rail is the same measure whichever * edge it is docked to and a service retunes both with one line. It briefly carried a `+ 1px` * for the strip's own separator \u2014 needed only while the cell was exactly as tall as the track; * with `--app-shell-nav-rail-item-size` smaller than the track the border has room, and two * different numbers for one rail is a worse defect than the pixel it bought."},{name:"--app-shell-nav-rail-inset",value:"var(--space-3)",description:"Block inset of the rail's own content \u2014 the counterpart of the sidebar's * `--sidebar-nav-scroll-padding`, so the two navigation columns start their content on the same * line under `topbarSpan=\"full\"`. It is deliberately NOT applied to the top edge under * `topbarSpan=\"content\"`: there the rail runs to y=0 and its first row IS the shell's top row, * so it takes the bar's band instead and the three columns share one centre line."},{name:"--app-shell-page-max-width",value:"80rem",description:"Block inset of the rail's own content \u2014 the counterpart of the sidebar's * `--sidebar-nav-scroll-padding`, so the two navigation columns start their content on the same * line under `topbarSpan=\"full\"`. It is deliberately NOT applied to the top edge under * `topbarSpan=\"content\"`: there the rail runs to y=0 and its first row IS the shell's top row, * so it takes the bar's band instead and the three columns share one centre line."},{name:"--app-shell-main-background",value:"initial",description:'Page ground behind `.app-main` (gh#399). Declared `initial` so the CALL SITE resolves the * default \u2014 `var(--app-shell-main-background, var(--surface-recessed))` \u2014 against the LIVE * theme: `--surface-recessed` is re-stated by the dark arm in tokens/semantic/layout.css, and a * `:root` binding here would freeze it at the light value for any SCOPED dark subtree * (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * It used to bind `hsl(var(--muted) / 0.4)` directly, which inverted the page/card elevation on * dark (the page composited 1.015:1 LIGHTER than the cards standing on it) \u2014 see the * --surface-recessed comment for the measurement. Light is byte-identical; dark now sits behind * the card at 1.089:1. A service that wants its own ground still sets this token. * Default = var(--surface-recessed).'},{name:"--app-shell-mobile-nav-width",value:"22.5rem",description:'Page ground behind `.app-main` (gh#399). Declared `initial` so the CALL SITE resolves the * default \u2014 `var(--app-shell-main-background, var(--surface-recessed))` \u2014 against the LIVE * theme: `--surface-recessed` is re-stated by the dark arm in tokens/semantic/layout.css, and a * `:root` binding here would freeze it at the light value for any SCOPED dark subtree * (docs/TOKENS.md \xB7 "Role-mirror knobs MUST be `initial`"). * It used to bind `hsl(var(--muted) / 0.4)` directly, which inverted the page/card elevation on * dark (the page composited 1.015:1 LIGHTER than the cards standing on it) \u2014 see the * --surface-recessed comment for the measurement. Light is byte-identical; dark now sits behind * the card at 1.089:1. A service that wants its own ground still sets this token. * Default = var(--surface-recessed).'},{name:"--app-shell-mobile-nav-background",value:"initial",description:"Mobile-drawer scrim \u2014 `initial` so the shared --overlay-background default re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme (a :root binding freezes at :root). Default = * var(--app-shell-mobile-nav-alpha) of the global scrim, i.e. rgb(0 0 0 / 0.2) out of the box."},{name:"--app-shell-mobile-nav-alpha",value:"40%",description:"Share of the global --overlay-background this drawer's scrim uses. A slide-in drawer washes the * page more lightly than a modal dialog; keeping it a RATIO means a service retints the whole * system with one --overlay-background and every overlay keeps its calibrated depth."},{name:"--app-shell-mobile-nav-inset",value:"var(--space-1)",description:"Inline inset of the mobile drawer's scrollable nav body. Near-zero by design: the drawer nav * (the <Sidebar> node by default) owns its own inset via --sidebar-nav-scroll-padding, so the * generic sheet chrome inset must NOT stack on top of it (gh#211). Set it to var(--space-6) for * a custom mobileNav node that wants the full sheet chrome inset."},{name:"--app-shell-mobile-nav-icon-size",value:"var(--icon-size-lg)",description:'Hamburger glyph in the drawer trigger. Bigger ON PURPOSE than the trigger Button\'s own * `size="sm"` icon step (--control-icon-size-sm, 0.875rem) \u2014 it is the ONLY navigation * affordance on a phone, so it reads at the 1.25rem step. A flat rem, not a density-scaled * alias: it must not move with the density axis, or the one tap target that opens navigation * shrinks on a compact page. Consumed as a `size-[var(...)]` utility so it outranks * `.ui-button--sm svg` (see the comment at the call site in app-shell.tsx).'},{name:"--service-role-panel-list-gap",value:"0.25rem",description:"ServiceRolePanel (gh#319). `.ui-service-role-panel` shipped as a bare hook \u2014 the class was on * the root but no rule existed anywhere, so the role rail's rhythm lived entirely as Tailwind * literals inside the component and no theme could reach it (#45). The panel is a thin * composition over MasterDetail, which still owns ALL the two-track geometry; these knobs cover * only the role LIST inside the master rail. * * Flat rems, not `--space-*`: the literals they replace read Tailwind's own `--spacing` grid, * which this package never remaps and which does not follow the density axis. Aliasing them * would start scaling the rail inside a `.ui-density-*` subtree \u2014 a visual change, not a * refactor."},{name:"--service-role-panel-row-gap",value:"0.25rem",description:"between role rows (was `gap-1`)"},{name:"--service-role-panel-item-title-gap",value:"0.375rem",description:"select button \u2194 delete button (was `gap-1`)"},{name:"--service-role-panel-item-padding-block",value:"0.5rem",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-brand-mark-size",value:"1.375rem",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-nav-item-height",value:"var(--band-height-md)",description:"The role row is a MULTI-LINE button (name over a description/member-count line), so it opts * out of the control height grid (`h-auto`) and sets its own block padding \u2014 that is what the * `py-2` literal was doing. It needs the raised `.ui-service-role-panel` ancestor specificity * (0,2,0) to beat `.ui-button--md { padding-block: var(--button-space-block) }` (0,1,0): * layout.css is imported BEFORE control.css and both are `@layer components`, so an equal * (0,1,0) rule here would silently lose."},{name:"--sidebar-nav-item-font-size",value:"var(--font-size-xs)",description:"ON the type scale (gh#329). This was `0.8125rem` \u2014 13px, which is not a step: the golden scale * runs \u2026/ratio\xB2 \u2248 11.1 \xB7 /ratio \u2248 12.5 \xB7 base 14\u2026, so 13 sat BETWEEN two steps and every nav row * in the rail read off the system's type rhythm. It had no mechanical anchor either \u2014 unlike the * auth field label below, which is pinned to an artboard y-coordinate and keeps its literal with * a declared `scale-exempt` \u2014 only the checked-in hi-fi source's number. * * GEOMETRY MOVES, by 0.53px: 13px \u2192 --font-size-xs (\u224812.47px), the step the sub-row * (--sidebar-nav-sub-font-size) and the flyout title already take. Nothing reflows \u2014 the row is a * fixed 2rem with `align-items: center`, and 1.5 \xD7 12.47 = 18.7px sits inside it with the same * headroom 19.5px had. What is gained is that a service overriding --font-size-base now moves the * rail's labels with the rest of its type, instead of leaving one constant behind."},{name:"--sidebar-nav-item-line-height",value:"1.5",description:"Line box of the nav LABEL, not the row (gh#254): `.sb-label` clips, so its line box is its clip * box, and the row's `line-height: 1` shears descenders and Vietnamese tone marks. Keep >= 1.2."},{name:"--auth-account-summary-email-line-height",value:"1.5",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--topbar-start-truncate-line-height",value:"1.5",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-icon-size",value:"var(--icon-size-md)",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-gap",value:"0.625rem",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-padding-x",value:"0.625rem",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-gap",value:"2px",description:"Same gh#254 trap, two more clipping boxes. `.ui-auth-account-email` and the truncating last * child of `.ui-topbar-start` both clip (`overflow: hidden`/`clip` + `text-overflow: ellipsis`), * so their line box IS their clip box \u2014 inheriting a tight value shears descenders and Vietnamese * tone marks exactly as the sidebar label did. Keep >= 1.2."},{name:"--sidebar-nav-item-radius",value:"calc(var(--radius) - 1px)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-nav-scroll-padding",value:"var(--space-3) var(--space-2)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-gap",value:"var(--space-4)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-label-padding-x",value:"var(--space-2)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--sidebar-section-label-padding-bottom",value:"var(--space-1)",description:"Corner radius of a nav row. Defaults to the global rail radius, which is what an inset pill * wants \u2014 but a rail that sets --sidebar-nav-scroll-padding and --sidebar-nav-gap to 0 makes its * rows full-bleed bands flush with both edges, and a band wants square corners. Every other * geometry property of `.sb-nav-item` was already a knob; this one was pinned to a constant, so * the only way to square a band was a consumer selector against a DS internal class \u2014 the exact * coupling rule #45 exists to prevent. Set `0` for full-bleed bands."},{name:"--topbar-search-width",value:"16rem",description:"The trigger's PREFERRED width, consumed as a flex BASIS \u2014 deliberately not a minimum. * * `.tb-search` is `width: 100%`, written for the `center` slot (flex: 1 1 0); in `start` * (flex: 0 1 auto) that collapses to content width, so the trigger came out at 186px, narrower * than the placeholder it holds. A hard `min-inline-size` fixed that and broke something worse: * the bar's shrink contract. Measured at 1024 with a long account name, an unshrinkable trigger * pushed the start cluster into the end cluster \u2014 the collision that contract exists to prevent. * As a BASIS it holds this width where there is room and yields where there is not."},{name:"--topbar-search-max-width",value:"none",description:"The trigger's PREFERRED width, consumed as a flex BASIS \u2014 deliberately not a minimum. * * `.tb-search` is `width: 100%`, written for the `center` slot (flex: 1 1 0); in `start` * (flex: 0 1 auto) that collapses to content width, so the trigger came out at 186px, narrower * than the placeholder it holds. A hard `min-inline-size` fixed that and broke something worse: * the bar's shrink contract. Measured at 1024 with a long account name, an unshrinkable trigger * pushed the start cluster into the end cluster \u2014 the collision that contract exists to prevent. * As a BASIS it holds this width where there is room and yields where there is not."},{name:"--topbar-height",value:"auto",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-inset",value:"0px",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-gap",value:"var(--space-2)",description:"Standalone <Topbar> geometry (rule #45). Topbar is a pure slot bar, so its box is intentionally * QUIET by default: `auto` height and no inline inset, i.e. exactly what it did before these knobs * existed \u2014 inside AppShell the `.app-topbar` grid row still owns the height. A service that * places Topbar directly on a page sets `--topbar-height: 3.5rem` / `--topbar-inset: var(--space-4)` * once instead of writing an app-local class. `--topbar-gap` is the gap BETWEEN the start/center/end * clusters and INSIDE each of them, so one knob re-rhythms the whole bar."},{name:"--topbar-center-compact-display",value:"none",description:"\u26A0 THIS KNOB DELETES CONTENT AT 1100px AND BELOW \u2014 read before you ship a center slot. * At compact desktop/tablet widths the docked sidebar leaves too little inline room for three * intrinsically-sized clusters, so the package hides the optional center slot before it can * cover the breadcrumb/title or end utilities (gh#244). The default is `none`, which means a * global search trigger placed in `center` is INVISIBLE from 1100px down \u2014 including on every * phone \u2014 unless the consumer opts back in. That default arrived in 18.6.0 and removed the slot * for consumers who never changed a line of their own code (gh#12); it stays because the * overlap it prevents is a real defect and flipping a shipped default twice is worse than * documenting it once, but it is a DECISION, not an accident: * * :root { --topbar-center-compact-display: flex; } \u2190 restore the slot at every width * * Opt back in only once the center content has a compact presentation of its own (an icon-only * search trigger, a collapsing field). A page-local media query is the anti-pattern this knob * replaces."},{name:"--topbar-item-padding-inline",value:"var(--space-3)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-gap",value:"var(--space-2)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-min-width",value:"var(--control-height)",description:"TOPBAR BAR ITEM \u2014 the shape of an interactive cell IN the bar, as opposed to a control dropped * into it. The bar's own chrome (Fluent's command bar, SLDS's global header, Atlassian's * navigation, and the right-hand action slot of enterprise pro-layouts generally) draws a * trigger as a full-height cell whose * hover is the bar's surface; a `Button` in the same slot draws a --control-height pill with its * own hover fill and its own ring, floating inside a taller strip. * * NO HEIGHT KNOB, DELIBERATELY. The cell's height IS the bar's, whatever the bar's is \u2014 * `--app-shell-bar-height` inside AppShell, `--topbar-height` for a standalone Topbar, the * coarse-pointer override on a touch device. A knob here would be a second answer that goes * stale the moment either of those moves."},{name:"--topbar-item-radius",value:"var(--radius-sharp)",description:"Square by default: a cell that meets both bar edges has no corner to round. A service that * wants the softer read sets this to var(--radius)."},{name:"--topbar-item-color",value:"var(--muted-foreground)",description:"Square by default: a cell that meets both bar edges has no corner to round. A service that * wants the softer read sets this to var(--radius)."},{name:"--topbar-item-hover-background",value:"var(--accent)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-hover-color",value:"var(--accent-foreground)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-active-background",value:"var(--secondary)",description:"The bar's own hover surface \u2014 the same pair `.tb-icon-btn` already uses for the shell's * built-in bar chrome, so a consumer-supplied cell and the shell's own read identically."},{name:"--topbar-item-badge-offset-block",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-offset-inline",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-size",value:"1rem",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-padding-inline",value:"var(--space-1)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-font-size",value:"var(--font-size-2xs)",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-background",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-foreground",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-destructive-background",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-badge-destructive-foreground",value:"initial",description:"COUNT PILL overlaid on the cell's glyph (gh#398) \u2014 the unread affordance the bell needs. The * offsets are what a call site used to hand-write as `relative` + `absolute -end-0.5 -top-0.5`, * i.e. a position the cell owns and no theme could retune; they are measured from the GLYPH box * (the pill is centred on the cell, then pushed out by these), so a bar that retunes * --topbar-icon-size keeps the pill on the glyph's corner. * Colour mirrors `.sb-badge`: quiet by default, `badgeTone=\"destructive\"` for a count addressed * to the user. The two role-mirror knobs stay `initial` so a scoped [data-tenant]/.dark override * of --secondary/--destructive still reaches the pill (docs/TOKENS.md). * Defaults = hsl(var(--secondary)) \xB7 hsl(var(--muted-foreground)) \xB7 * hsl(var(--destructive)) \xB7 hsl(var(--destructive-foreground))."},{name:"--topbar-item-focus-ring-offset",value:"calc(-1 * var(--focus-ring-width))",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-trigger-height",value:"var(--band-height-xl)",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-trigger-padding-x",value:"var(--space-2)",description:"The mark is hosted INSIDE the cell. A full-bleed cell has no room outside itself \u2014 the bar * family clips both axes (`overflow: clip` + `--focus-ring-clip-margin`) precisely because an * outset ring on a flush control gets shaved \u2014 and an inset mark is also the lighter read, the * same reasoning `a.ui-list-row` / `.sb-nav-item` already record in styles/focus-ring.css. The * offset TRACKS the mark's own width, so the two cannot drift apart, and it multiplies by the * `--focus-outline` switch through that width: switch off \u2192 width 0 \u2192 offset 0. NO GEOMETRY IS * AUTHORED HERE; the cell only says where the mark sits."},{name:"--org-switcher-avatar-size",value:"var(--control-height-sm)",description:"1.75rem was the literal; --control-height-sm IS 1.75rem and is the tier this mark belongs to, * so a service that re-tiers its controls moves the mark with them instead of leaving it behind."},{name:"--org-switcher-sheet-inset",value:"var(--space-3)",description:"The compact-picker inset, shared by the sheet heading and the list \u2014 see .ui-org-switcher-sheet."},{name:"--org-switcher-list-inset",value:"var(--org-switcher-sheet-inset)",description:"Where a row's LABEL starts \u2014 the same on every surface, so it lines up with the heading."},{name:"--org-switcher-list-offset",value:"0px",description:"What the SURROUNDING SURFACE insets the list by, which a row cancels so its fill and its rule * reach both edges. Zero by default: the popover publishes --popover-space-inset: 0, so there is * nothing to cancel there, and cancelling anyway drags the row outside the panel and puts its * text on the border. The sheet, which does inset its body, overrides this."},{name:"--org-switcher-legend-space-gap",value:"var(--space-4)",description:"The keyboard legend under a modal picker \u2014 see `.ui-org-switcher-legend`."},{name:"--org-switcher-legend-font-size",value:"var(--font-size-2xs)",description:"The keyboard legend under a modal picker \u2014 see `.ui-org-switcher-legend`."},{name:"--org-switcher-hint-space-gap",value:"var(--space-1)",description:"The keyboard legend under a modal picker \u2014 see `.ui-org-switcher-legend`."},{name:"--org-switcher-dialog-width",value:"26rem",description:"The dialog surface's measure. Wider than --org-switcher-menu-width because the whole reason to * reach for the dialog is that a row carries more than a name; narrower than the generic * --dialog-width-default because it is still a list of choices, not a form."},{name:"--org-switcher-search-space-block",value:"var(--space-3)",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-menu-width",value:"16rem",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-sheet-max-height",value:"75dvh",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--org-switcher-state-min-height",value:"8rem",description:"Breathing room above and below the search field. The INLINE side is deliberately not here: * it depends on --org-switcher-list-offset, which each surface sets on itself, and a composite * declared at `:root` substitutes its vars AT `:root` \u2014 it would bake in the default 0 and never * see the dialog's or the sheet's value. That is the same trap --dialog-space-inset set, and it * caught this rule too on the first attempt, so the inline half is computed in the rule."},{name:"--app-launcher-panel-width",value:"20rem",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-panel-max-height",value:"26rem",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-panel-gap",value:"var(--space-3)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-sheet-max-height",value:"75dvh",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-grid-gap",value:"var(--space-1)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-gap",value:"var(--space-1)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-padding",value:"var(--space-2)",description:"APP LAUNCHER \u2014 the nine-dot platform app grid in the topbar. * * NO TRIGGER GEOMETRY KNOB, deliberately, for exactly the reason `--topbar-item-*` declares no * height: the trigger IS a `TopbarItem`, so the bar's own height and the bar's own hover surface * are already its answer, and a second answer here would go stale the moment either moves. * * NO COLUMN-COUNT TOKEN EITHER, and that one is a GAP, not a choice: the component-token name * vocabulary (scripts/check-token-tiers.mjs) has words for every length and colour and none for * a count, so `--app-launcher-columns` cannot be spelled legally here. It is declared on * `.ui-app-launcher-panel` in styles/shell-layout.css instead, which keeps it themeable but out * of this tier. Give the vocabulary a `count` word and it moves here with the rest."},{name:"--app-launcher-tile-min-height",value:"var(--control-height-comfortable)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-radius",value:"var(--radius)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-color",value:"var(--foreground)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-hover-background",value:"var(--accent)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-hover-color",value:"var(--accent-foreground)",description:"The tap floor (rule #24, WCAG 2.2 AA 2.5.8) \u2014 a tile is a link on a phone before it is a tile * on a desktop, and the comfortable control tier IS that floor."},{name:"--app-launcher-tile-current-background",value:"initial",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-size",value:"2.5rem",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-radius",value:"var(--radius)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-background",value:"var(--secondary)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-foreground",value:"var(--secondary-foreground)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-mark-font-size",value:"var(--font-size-sm)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-name-font-size",value:"var(--font-size-2xs)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-group-label-font-size",value:"var(--font-size-2xs)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-group-label-color",value:"var(--muted-foreground)",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-state-min-height",value:"8rem",description:"The app you are already in. `initial` so the role default re-resolves at the call site under a * scoped theme, the same reason `--sidebar-item-active-*` does. Default = hsl(var(--secondary))."},{name:"--app-launcher-launchpad-backdrop-background",value:"initial",description:"Role-mirror knob: `initial` so a scoped theme's --background re-resolves at the call site * (docs/TOKENS.md). Default = a veil of the theme's OWN background at the alpha below."},{name:"--app-launcher-launchpad-backdrop-blur-size",value:"16px",description:"Role-mirror knob: `initial` so a scoped theme's --background re-resolves at the call site * (docs/TOKENS.md). Default = a veil of the theme's OWN background at the alpha below."},{name:"--app-launcher-launchpad-backdrop-alpha",value:"55%",description:"Role-mirror knob: `initial` so a scoped theme's --background re-resolves at the call site * (docs/TOKENS.md). Default = a veil of the theme's OWN background at the alpha below."},{name:"--app-launcher-launchpad-backdrop-color-saturate",value:"180%",description:"THE INGREDIENT THAT MAKES IT GLASS RATHER THAN FOG. Blur alone averages a page towards its * mean, and the mean of any real screen is a mid grey \u2014 28px of it turned a dashboard into a * featureless haze with the tiles floating in nothing. Pushing chroma back up after the blur is * what a physical frosted pane does: it scatters direction, not colour."},{name:"--app-launcher-launchpad-space-inset",value:"var(--space-8)",description:"THE INGREDIENT THAT MAKES IT GLASS RATHER THAN FOG. Blur alone averages a page towards its * mean, and the mean of any real screen is a mid grey \u2014 28px of it turned a dashboard into a * featureless haze with the tiles floating in nothing. Pushing chroma back up after the blur is * what a physical frosted pane does: it scatters direction, not colour."},{name:"--app-launcher-launchpad-space-safe-area",value:"0",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-panel-max-width",value:"60rem",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-panel-gap",value:"var(--space-8)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-grid-gap",value:"var(--space-6)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-tile-inline-size",value:"7.5rem",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-tile-padding",value:"var(--space-3)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-tile-radius",value:"var(--radius-lg)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-tile-gap",value:"var(--space-3)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-tile-hover-background",value:"color-mix( in srgb, hsl(var(--foreground)) 10%, transparent )",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-mark-size",value:"4rem",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-mark-radius",value:"var(--radius-lg)",description:"THE PART OF THE VIEWPORT THE HOST HAS ALREADY SPOKEN FOR \u2014 0 by default, because a page that * owns its whole viewport has nothing to declare. A host with fixed chrome of its own (a docked * platform bar, a persistent player) sets it to a padding box, and the scrim insets by that much * so neither the grid nor the dismiss lands underneath. Measured without it, with a 40px rail on * the inline-start edge: the first tile and the title both began at x=32 and ran 8px under the * bar. A length or a 2/3/4-value box, exactly like `padding`."},{name:"--app-launcher-launchpad-mark-background",value:"color-mix( in srgb, hsl(var(--card)) 78%, transparent )",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-mark-border-color",value:"color-mix( in srgb, hsl(var(--foreground)) 14%, transparent )",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-mark-font-size",value:"var(--font-size-lg)",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-mark-shadow",value:"var(--shadow-lg)",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-name-font-size",value:"var(--font-size-sm)",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-title-font-size",value:"var(--font-size-2xs)",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-title-letter-spacing",value:"0.08em",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--app-launcher-launchpad-close-space-padding",value:"var(--space-2)",description:"The glass itself: a wash of the surface colour, not a colour of its own, so it inherits the * theme and stays legible on a light page and a dark one."},{name:"--sidebar-item-active-color",value:"initial",description:"Sidebar active-item tint/marker \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override * never reaches it). A service re-tunes the active sub-item accent without forking CSS. * Defaults = hsl(var(--primary)) marker/tint."},{name:"--sidebar-item-active-tint",value:"initial",description:"Sidebar active-item tint/marker \u2014 `initial` so the role defaults re-resolve at the call site * under a scoped theme (a :root binding to a role var freezes at :root; a scoped role override * never reaches it). A service re-tunes the active sub-item accent without forking CSS. * Defaults = hsl(var(--primary)) marker/tint."},{name:"--sidebar-item-active-background",value:"initial",description:"Main nav-item active row \u2014 defaults mirror the hover state (accent bg, foreground text); a * service overrides these to brand the selected row (e.g. a gold tint + gold text on a navy * sidebar). `initial` so the defaults re-resolve under a scoped theme. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--foreground)) text."},{name:"--sidebar-item-active-foreground",value:"initial",description:"Main nav-item active row \u2014 defaults mirror the hover state (accent bg, foreground text); a * service overrides these to brand the selected row (e.g. a gold tint + gold text on a navy * sidebar). `initial` so the defaults re-resolve under a scoped theme. * Defaults = hsl(var(--accent)) fill \xB7 hsl(var(--foreground)) text."},{name:"--auth-shell-control-height",value:"var(--control-height-comfortable)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-heading-size",value:"var(--font-size-2xl)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-card-max-width",value:"24rem",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-bar-padding",value:"var(--space-5) var(--space-6)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-main-padding",value:"var(--space-6)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-footer-padding",value:"var(--space-3) var(--space-6) var(--space-4)",description:"AuthShell \u2014 centred auth/login page shell. Comfortable control density (44px, WCAG touch floor) * + a larger auth heading, scoped to the shell; a service re-tunes the auth card width, insets * and heading size without forking."},{name:"--auth-shell-bar-gap",value:"var(--space-inline-sm)",description:"Gap between the items of the brand bar: brand to a wrapped `actions` row, and between the * page-level controls inside that row (locale \xB7 theme \xB7 help)."},{name:"--auth-shell-wide-card-max-width",value:"64rem",description:'Content-slot measure for `measure="wide"` \u2014 the SPLIT login (brand panel beside the auth card). * Same width as the widest CenteredShell tier, so a product\'s login and its signed-in pages read * at one page measure. Only `measure="wide"` reads it; the default 24rem card is untouched.'},{name:"--auth-shell-canonical-control-height",value:"var(--band-height-lg)",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-card-max-width",value:"22.5rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-heading-size",value:"var(--font-size-base)",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-main-padding",value:"1rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-canonical-main-padding-mobile",value:"0.9375rem",description:"Canonical DXS auth preset. These are public theme knobs: consumers select the preset once on * AuthShell and may retune the product theme here rather than overriding individual fields."},{name:"--auth-shell-compact-card-inset",value:"var(--space-6)",description:"INLINE (start/end) inset of the compact auth card \u2014 the column the title, fields and actions * align to. Independent of the block axis below (gh#232)."},{name:"--auth-shell-card-padding-block-compact",value:"initial",description:"BLOCK (top/bottom) padding of the compact auth card \u2014 the knob that tunes canonical Login card * HEIGHT without narrowing the column. Bound to the card's --card-space-shell-y, so it really * reaches CardContent's block edges (before gh#232 it was wired only to --card-space-body-y and * the rendered body kept the inset on both block edges \u2014 the documented token did nothing). * Declared `initial` so the default mirrors the LIVE --auth-shell-compact-card-inset resolved at * the CALL SITE: the canonical card renders exactly as before (24px block = 24px inline), and a * service that re-tunes the inset inside a scoped `[data-tenant]` still drags the block default * with it (a :root binding would freeze at the :root inset \u2014 docs/TOKENS.md)."},{name:"--auth-shell-card-body-gap-compact",value:"var(--space-3)",description:"Header\u2194body gap inside the compact auth card (the breathing room under the title before the * first field). Its own knob since gh#232 \u2014 it used to ride on * --auth-shell-card-padding-block-compact, which conflated the section gap with the card's block * padding and made the block knob un-tunable. Default is the pre-gh#232 12px rhythm."},{name:"--auth-shell-card-gap-compact",value:"var(--space-3)",description:"IN-SLOT stack gap of the compact auth card (title \u2195 description inside the header)."},{name:"--auth-shell-main-align",value:"center",description:"Main-axis alignment of the auth column. Default `center` = today's vertically-centred card; * a flow whose intro + card + footnote stack is tall opts into `start` via this knob."},{name:"--auth-shell-card-stack-gap",value:"0px",description:"Gap between the direct sections of the auth column (intro \xB7 card \xB7 remember row). Default 0 * (quiet, rule #44) so an existing single-card consumer is untouched; presets opt in."},{name:"--auth-shell-login-card-max-width",value:"22.5rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-flow-offset-block",value:"14.4375rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-flow-offset-block-mobile",value:"13.8125rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-inline",value:"1rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-inline-mobile",value:"0.9375rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-main-padding-block-end",value:"1rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-identity-slot-block-size",value:"7rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-card-stack-gap",value:"1.25rem",description:"Login preset (gh#237) \u2014 canonical SCR-001 anchors at 1440x900, 1024x900 and 390x844. * The 112px identity slot is deliberately taller than a two-line real requester. Identity * content aligns to the slot end, so missing/one-line/two-line requester data changes only the * empty space above it, never the card or footer position. The flow starts at y=231 desktop and * y=221 mobile: 231/221 + 112 + 20 gap = card y=363/353. Literal artboard lengths belong here, * not in a consumer selector, and do not drift with --scaling."},{name:"--auth-shell-login-card-padding-block-compact",value:"var(--auth-shell-compact-card-inset)",description:"Canonical SCR-001 block inset is a FLAT 24px \u2014 the same measure as the inline inset. The card * draws its own 1px border and a border-box rect already contains it, so the former * `+ 2 x --control-border-width` double-counted the border and pushed the passkey CTA to y=390 * instead of the canonical y=388 (gh#263)."},{name:"--auth-shell-device-card-max-width",value:"23.75rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-main-padding",value:"1rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-main-padding-mobile",value:"0.9375rem 0.3125rem",description:"Device-authorization preset \u2014 380px card measure, 15px block \xB7 5px inline mobile gutter * (at a 390px viewport the card is x=5px, width=380px)."},{name:"--auth-shell-device-otp-slot-inline-size",value:"1.71875rem",description:'CODE FIELD measure \u2014 the preset owns it (gh#12). A device grant is the one canonical flow whose * PRIMARY control is the code field, so leaving it on the generic square --otp-slot-size made the * preset own the page but not its own subject: two 4-slot `appearance="grouped"` boxes rendered * 146x38 (4 x the canonical 36px control tier + the 1px group border) against a 112x54 artboard. * These are the per-slot boxes that ADD UP to that artboard group: * inline 27.5px x 4 + 2 x 1px group border = 112px * block 52px + 2 x 1px group border = 54px * Literal artboard lengths, like every other preset measure here \u2014 they must not drift with * --scaling. A service that groups its code differently overrides --otp-slot-inline-size / * --otp-slot-block-size on its own field; the generic square knob is untouched everywhere else.'},{name:"--auth-shell-device-otp-slot-block-size",value:"3.25rem",description:'CODE FIELD measure \u2014 the preset owns it (gh#12). A device grant is the one canonical flow whose * PRIMARY control is the code field, so leaving it on the generic square --otp-slot-size made the * preset own the page but not its own subject: two 4-slot `appearance="grouped"` boxes rendered * 146x38 (4 x the canonical 36px control tier + the 1px group border) against a 112x54 artboard. * These are the per-slot boxes that ADD UP to that artboard group: * inline 27.5px x 4 + 2 x 1px group border = 112px * block 52px + 2 x 1px group border = 54px * Literal artboard lengths, like every other preset measure here \u2014 they must not drift with * --scaling. A service that groups its code differently overrides --otp-slot-inline-size / * --otp-slot-block-size on its own field; the generic square knob is untouched everywhere else.'},{name:"--auth-shell-context-card-max-width",value:"25rem",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-main-padding",value:"var(--space-6)",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-main-padding-mobile",value:"var(--space-6) 0",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-context-card-stack-gap",value:"1rem",description:"Context-selection preset \u2014 25rem card measure on desktop/tablet, edge-to-edge on mobile * (0 inline gutter) with a 16px rhythm between the intro, the card and the remember row."},{name:"--auth-shell-recovery-card-max-width",value:"27rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-recovery-main-padding",value:"1rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-recovery-main-padding-mobile",value:"0.9375rem",description:"Account-recovery preset (gh#233) \u2014 the SCR-008 measure shared by the password-recovery panel * (request \xB7 sent \xB7 new-password \xB7 expired) and the sign-in MFA challenge panel (OTP \xB7 * recovery-code \xB7 passkey-failure). Both canonical desktop panels measure w=432 at 1440, so ONE * preset owns them; the 360px canonical Login measure is untouched. * The mobile gutter is a DECIDED contract, not a traced artboard: the supplied 390 reference is a * desktop 2x2 composite that crops horizontally and cannot be measured. 15px inline at 390 \u21D2 the * panel is x=15, width=360 \u2014 the same page rhythm as the canonical Login flow, so a user moving * from Login to Recovery on a phone never sees the surface jump."},{name:"--auth-shell-registration-card-max-width",value:"22.5rem",description:"Registration preset (gh#256) \u2014 the canonical sign-up measure. Two things make it structurally * different from every preset above, and both are the reason it could not be expressed by * re-using `login`: * * 1. LONG-FORM SCROLLING. A registration card is the tallest surface in the hosted-identity set * (name \xB7 email \xB7 password \xB7 confirm \xB7 strength meter \xB7 consent \xB7 submit \xB7 provider row), and * a vertically CENTRED tall card clips its own top on a short viewport \u2014 the top overflows * above the scroll origin and becomes unreachable. So the column is start-aligned and the * block-start inset becomes ordinary page padding the user can scroll past. * 2. FOOTER CLEARANCE. The legal/consent footer must never be flush against the submit button * at the end of a long scroll, so the block-end inset is a knob of its own rather than * mirroring the block-start one. * * The 360px form measure and the 15px mobile inline gutter match the canonical Login flow exactly * (22.5rem card, x=15 at 390 \u21D2 width=360), so a user moving sign-in \u2192 sign-up on a phone never * sees the surface jump."},{name:"--auth-shell-registration-main-padding-block-start",value:"1rem",description:"Block-start PAGE GUTTER \u2014 the floor the column keeps against the viewport edge once the auto * margins in shell-layout.css have placed it. It is deliberately NOT the artboard offset any * more. * * It used to be 9.5rem / 8.875rem, derived from the canonical SCR-002 anchor (card y=284 at * 1440x900 and y=274 at 390x844, each the offset plus the 112px identity slot plus the 20px * stack gap). Held as unconditional padding, that constant manufactured a scrollbar out of * nothing: at 1440x900 the column measured 152px of EMPTY SPACE + 793px of content + 48px, i.e. * 993px in a 900px viewport, so the page scrolled 93px and the scrolled region was blank. A * sign-up form whose first field sits below the fold because of decoration is a worse failure * than a lost artboard anchor, so the anchor yields. * * Both values are still public knobs: a product that wants the literal artboard back sets this * to 9.5rem and accepts the overflow on a short viewport."},{name:"--auth-shell-registration-main-padding-block-start-mobile",value:"0.9375rem",description:"Block-start PAGE GUTTER \u2014 the floor the column keeps against the viewport edge once the auto * margins in shell-layout.css have placed it. It is deliberately NOT the artboard offset any * more. * * It used to be 9.5rem / 8.875rem, derived from the canonical SCR-002 anchor (card y=284 at * 1440x900 and y=274 at 390x844, each the offset plus the 112px identity slot plus the 20px * stack gap). Held as unconditional padding, that constant manufactured a scrollbar out of * nothing: at 1440x900 the column measured 152px of EMPTY SPACE + 793px of content + 48px, i.e. * 993px in a 900px viewport, so the page scrolled 93px and the scrolled region was blank. A * sign-up form whose first field sits below the fold because of decoration is a worse failure * than a lost artboard anchor, so the anchor yields. * * Both values are still public knobs: a product that wants the literal artboard back sets this * to 9.5rem and accepts the overflow on a short viewport."},{name:"--auth-shell-registration-main-padding-inline",value:"1rem",description:"Block-start PAGE GUTTER \u2014 the floor the column keeps against the viewport edge once the auto * margins in shell-layout.css have placed it. It is deliberately NOT the artboard offset any * more. * * It used to be 9.5rem / 8.875rem, derived from the canonical SCR-002 anchor (card y=284 at * 1440x900 and y=274 at 390x844, each the offset plus the 112px identity slot plus the 20px * stack gap). Held as unconditional padding, that constant manufactured a scrollbar out of * nothing: at 1440x900 the column measured 152px of EMPTY SPACE + 793px of content + 48px, i.e. * 993px in a 900px viewport, so the page scrolled 93px and the scrolled region was blank. A * sign-up form whose first field sits below the fold because of decoration is a worse failure * than a lost artboard anchor, so the anchor yields. * * Both values are still public knobs: a product that wants the literal artboard back sets this * to 9.5rem and accepts the overflow on a short viewport."},{name:"--auth-shell-registration-main-padding-inline-mobile",value:"0.9375rem",description:"Block-start PAGE GUTTER \u2014 the floor the column keeps against the viewport edge once the auto * margins in shell-layout.css have placed it. It is deliberately NOT the artboard offset any * more. * * It used to be 9.5rem / 8.875rem, derived from the canonical SCR-002 anchor (card y=284 at * 1440x900 and y=274 at 390x844, each the offset plus the 112px identity slot plus the 20px * stack gap). Held as unconditional padding, that constant manufactured a scrollbar out of * nothing: at 1440x900 the column measured 152px of EMPTY SPACE + 793px of content + 48px, i.e. * 993px in a 900px viewport, so the page scrolled 93px and the scrolled region was blank. A * sign-up form whose first field sits below the fold because of decoration is a worse failure * than a lost artboard anchor, so the anchor yields. * * Both values are still public knobs: a product that wants the literal artboard back sets this * to 9.5rem and accepts the overflow on a short viewport."},{name:"--auth-shell-registration-main-padding-block-end",value:"3rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-main-padding-block-end-mobile",value:"2rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-card-stack-gap",value:"1.25rem",description:"Footer clearance \u2014 the gap the legal footer keeps below the end of a long form."},{name:"--auth-shell-registration-identity-slot-block-size",value:"7rem",description:"Fixed identity track, the same 112px `login` proved (gh#237). Without it the card anchor moves * with the title/requester line count, so the canonical y above would hold for exactly one copy * length and drift for every other. The slot absorbs absent / one-line / two-line identity * content instead."},{name:"--auth-shell-divider-gap",value:"0.625rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-font-size",value:"var(--font-size-2xs)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-line-height",value:"calc(19 / 11)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-rule-color",value:"var(--border)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-shell-divider-label-color",value:"var(--muted-foreground)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-identity-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-icon-size",value:"var(--icon-size-md)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-requester-glyph-size",value:"var(--icon-size-2xs)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-min-height",value:"var(--control-height-comfortable)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-gap",value:"var(--space-2)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-padding",value:"var(--space-1) var(--space-2)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-identity-min-width",value:"12rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-avatar-size",value:"var(--control-height-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-avatar-glyph-size",value:"var(--control-icon-size-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-account-summary-email-font-size",value:"var(--font-size-sm)",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-footer-content-gap",value:"0.375rem",description:"Labelled auth divider geometry. The canonical SCR-001 divider row is 19px tall at an 11px * label (the artboard label inherits the page's line-height instead of collapsing to a 1.0 line * box). 19/11 is that RATIO, not a pin: it holds the row proportional when the label's step * moves, which is exactly what gh#329 did to it. The previous hardcoded `line-height: 1` * rendered an 11px row, sitting the whole lower half of the Login card 8px high (gh#263). * * ON the type scale (gh#329): the label was the literal `0.6875rem` (11px) and is now * --font-size-2xs, the scale's ratio\u207B\xB2 step \u2248 11.107px \u2014 the same step the sidebar section * label, the kbd cap and the chrome page subtitle already take. GEOMETRY MOVES by 0.11px on the * label and 0.19px on the row (19 \u2192 19.19px), i.e. a fifth of a pixel, and in exchange the auth * micro-scale finally rides the service's --font-size-base like everything else. 11 was never a * step; it was 2xs rounded to the nearest whole pixel and then written down as if it were."},{name:"--auth-footer-text-font-size",value:"var(--font-size-2xs)",description:"The same 11px \u2192 2xs snap as the divider label above (gh#329); this one carried no artboard * anchor at all, only the literal. GEOMETRY MOVES by 0.11px."},{name:"--auth-footer-target-min-size",value:"var(--touch-target-min)",description:"The legal links sit at --font-size-2xs, so their line box alone is ~19px and every auth page * failed WCAG 2.2 SC 2.5.8 on Terms / Privacy / the locale trigger. The floor is applied to the * link BOX rather than a ::after hit area: the target a user (and an audit) measures is the * element itself, and an invisible overlay that still reports 19px is not a fix. Text metrics * are untouched \u2014 only the box grows."},{name:"--auth-stack-gap",value:"var(--space-3)",description:"The legal links sit at --font-size-2xs, so their line box alone is ~19px and every auth page * failed WCAG 2.2 SC 2.5.8 on Terms / Privacy / the locale trigger. The floor is applied to the * link BOX rather than a ::after hit area: the target a user (and an audit) measures is the * element itself, and an invisible overlay that still reports 19px is not a fix. Text metrics * are untouched \u2014 only the box grows."},{name:"--auth-shell-field-label-gap",value:"var(--space-1)",description:"The legal links sit at --font-size-2xs, so their line box alone is ~19px and every auth page * failed WCAG 2.2 SC 2.5.8 on Terms / Privacy / the locale trigger. The floor is applied to the * link BOX rather than a ::after hit area: the target a user (and an audit) measures is the * element itself, and an invisible overlay that still reports 19px is not a fix. Text metrics * are untouched \u2014 only the box grows."},{name:"--auth-shell-field-label-font-size",value:"0.75rem",description:"scale-exempt: SCR-001 pins the email input at y=489; --font-size-xs (12.47px) drifts the 18px label box to 18.7px (gh#263)"},{name:"--auth-shell-field-label-line-height",value:"1.5",description:"scale-exempt: SCR-001 pins the email input at y=489; --font-size-xs (12.47px) drifts the 18px label box to 18.7px (gh#263)"},{name:"--centered-shell-bar-height",value:"var(--app-shell-bar-height)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-bar-padding-x",value:"var(--space-page-x)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-bar-padding-x-compact",value:"var(--space-page-compact-x)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-main-padding",value:"var(--space-6)",description:"CenteredShell \u2014 authenticated, no-sidebar, centred-column page shell (hosted-ID \"My Page\", * account, standalone settings). The bar mirrors AppShell's `.app-topbar`: the same fixed height, * and now the same HORIZONTAL PAGE-INSET AXIS (gh#330) \u2014 bar, main and footer all read the page * gutter and all step to the compact gutter on the page's own `(max-width: 720px)` line, so the * bar's content and the column beneath it share one content edge at every width. * * The comment here used to claim the bar mirrored `.app-topbar`'s inline padding. It did not, and * had not since gh#330 moved that side onto --space-page-x: the bar was left hard-coding * --space-4 (16px) while main and footer used --space-6 (24px). Measured in Chromium on * /isolate/layout-centered-shell BEFORE this fix, the bar's content sat at x=16 and the column at * x=24 \u2014 a constant 8px misalignment at every width from 784px down to 390px. 784 is not * arbitrary: it is the md tier (46rem) plus the two 24px main gutters, the width below which the * column stops being centred and pins to the gutter, which is what makes the error visible. * AFTER: 24/24 at 784 and 760, 16/16 at 700 and 390. * * The column max-width has three tiers, all wider than the 24rem auth card. A service retunes the * inset, block padding and each width tier without forking CSS."},{name:"--centered-shell-main-padding-inline-compact",value:"var(--space-page-compact-x)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-footer-padding",value:"var(--space-3) var(--space-6) var(--space-4)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-footer-padding-inline-compact",value:"var(--space-page-compact-x)",description:"Inline-only compact steps. They exist as their own knobs rather than as a redefinition of the * shorthands above, so `--centered-shell-main-padding` keeps meaning all four sides and a service * that already sets it is not broken by this fix."},{name:"--centered-shell-column-offset-block",value:"0",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-sm",value:"32rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-md",value:"46rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-width-lg",value:"64rem",description:'Block offset of the centred column inside the 100dvh shell. `0` (default, the quietest state \u2014 * rule #44) keeps the top-aligned flowing page; `auto` centres the column in the viewport, which * is what CenteredShell `align="center"` sets for a SYSTEM-level standalone surface (500/503 * error page, maintenance notice). Auto block offsets collapse to 0 when the content is taller * than the viewport, so a long localized message scrolls from the top instead of clipping.'},{name:"--centered-shell-landing-max-width",value:"67.5rem",description:'CenteredShell \xB7 public-landing preset (gh#252) \u2014 the token-owned geometry of a PUBLIC marketing * / product landing page: one content measure shared by header, main column and footer, the * section rhythm between page sections, the flat (chrome-quiet) card presentation and the hero * heading tier. Every value is a service-themeable knob (rule #45): a landing composition is a * COMPOSITION of real primitives (docs/COMPOSITION-VS-COMPONENT.md \u2014 Hero/Navbar/Footer FAIL the * Framework-Component Test), so the consumer must never own geometry or a media query. These * knobs are read ONLY under `.ui-centered-shell[data-preset="public-landing"]`, so the default * shell \u2014 which emits no `data-preset` at all \u2014 is byte-identical to before.'},{name:"--centered-shell-landing-inset-inline",value:"var(--space-6)",description:"1080px \u2014 header/main/footer share ONE measure"},{name:"--centered-shell-landing-inset-inline-compact",value:"var(--space-4)",description:"24px page gutter \u2265 40rem"},{name:"--centered-shell-landing-main-padding-block",value:"var(--space-10)",description:"16px page gutter < 40rem"},{name:"--centered-shell-landing-main-padding-block-compact",value:"var(--space-6)",description:"40px"},{name:"--centered-shell-landing-section-gap",value:"var(--space-10)",description:"24px"},{name:"--centered-shell-landing-section-gap-compact",value:"var(--space-6)",description:"rhythm BETWEEN page sections"},{name:"--centered-shell-landing-footer-padding-block",value:"var(--space-8)",description:"rhythm BETWEEN page sections"},{name:"--centered-shell-landing-card-shadow",value:"none",description:"Chrome is a token, default quiet (rule #44): a landing surface is FLAT \u2014 no card elevation \u2014 * so a service opts back IN with `--centered-shell-landing-card-shadow: var(--card-shadow)`."},{name:"--centered-shell-landing-heading-size",value:"var(--font-size-display)",description:"Hero heading tier. The preset re-points `--heading-h1` (same mechanism as * `.ui-auth-shell` \u2192 `--auth-shell-heading-size`), so a hero title is a real `Heading level={1}` * and never a consumer font-size."},{name:"--centered-shell-landing-heading-size-compact",value:"var(--font-size-3xl)",description:"Hero heading tier. The preset re-points `--heading-h1` (same mechanism as * `.ui-auth-shell` \u2192 `--auth-shell-heading-size`), so a hero title is a real `Heading level={1}` * and never a consumer font-size."},{name:"--centered-shell-landing-background",value:"initial",description:'Role-mirror knob \u2014 MUST stay `initial`, with the role default at the CALL SITE * (`var(--centered-shell-landing-background, var(--background))`), so a scoped * `[data-tenant]` / `.dark` override of `--background` still reaches it (docs/TOKENS.md \xB7 * "Role-mirror knobs MUST be `initial`"). Documented default = hsl(var(--background)) \u2014 a public * page is the plain page canvas, not the app\'s `--muted` chrome.'},{name:"--app-shell-bar-height",value:"var(--band-height-3xl)",description:"Rule #24 companion (gh#291): on coarse pointers --control-height grows to 2.75rem * (44px tap floor), and the shell bar sits flush with the viewport top \u2014 a 3rem bar * leaves the control's 3px focus ring painting ABOVE y=0, off-screen, which no * overflow setting can recover. 3.5rem gives 6px of breathing per side."},{name:"--app-shell-nav-rail-width",value:"3rem",description:"Same rule #24 companion for the second navigation track: a finger gets the 44px floor back, * and the track widens with the cell so the cell is not clipped by the rail it sits in."},{name:"--app-shell-nav-rail-item-size",value:"var(--band-height-xl)",description:"Same rule #24 companion for the second navigation track: a finger gets the 44px floor back, * and the track widens with the cell so the cell is not clipped by the rail it sits in."},{name:"--mobile-shell-block-size",value:"100dvh",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-block-start",value:"env(safe-area-inset-top)",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-block-end",value:"env(safe-area-inset-bottom)",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-safe-inset-inline",value:"max(env(safe-area-inset-left), env(safe-area-inset-right))",description:'MobileShell (gh#354 \xA76) \u2014 the handheld app shell: a status band, an app bar, ONE scroll region, * a sticky action bar and a bottom tab bar. Two facts here cannot be reached by composition, which * is why they belong to the shell and not to the page: * * 1. The shell is the only scroll container. The root is exactly one viewport tall * (`--mobile-shell-block-size`), so the document itself never scrolls and the chrome bands * never leave the screen \u2014 the reason a composed `Card` + `overflow-y-auto` stack drifts on a * real phone, where the URL bar collapses under the page. * 2. Every band absorbs the device safe-area insets, so a notch never covers the app bar and the * home indicator never covers the primary verb. * * The safe-area knobs are `env()` values and are therefore ZERO on every surface with no insets * (desktop, jsdom, the docs frames) \u2014 the geometry below is unchanged there. The INLINE knob takes * `max()` of BOTH physical insets on purpose: `env(safe-area-inset-left)` is physical, so binding * it to the inline START would be wrong under `dir="rtl"`. A symmetric inset is correct in both * writing directions and costs at most a few px on the non-notch side in landscape. * * A service retunes the page gutter, the three band heights and the block padding from its theme; * nothing here is reachable only through a consumer selector.'},{name:"--mobile-shell-inset-inline",value:"var(--space-4)",description:"Page gutter shared by every band AND by the scroll region, so the app-bar title, the list rows * and the sticky action bar sit on ONE content edge \u2014 the axis gh#330 had to repair for * CenteredShell after the bar and the column drifted 8px apart."},{name:"--mobile-shell-control-height",value:"var(--control-height-comfortable)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-region-gap",value:"var(--space-2)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-status-bar-height",value:"var(--band-height-lg)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-header-bar-height",value:"var(--band-height-3xl)",description:"Touch tier for the WHOLE shell subtree, the same technique `.ui-auth-shell` uses. Rule #24's * 44px floor is already reached on a coarse pointer through --control-height, but a handheld app * is touch-first BY DEFINITION \u2014 it must not render 32px targets merely because it is being * previewed with a mouse, or because a service ships it in an Electron/desktop wrapper."},{name:"--mobile-shell-tab-bar-height",value:"calc(var(--band-height-3xl) + var(--space-2))",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--mobile-shell-main-padding-block",value:"var(--space-4)",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--mobile-shell-actions-padding-block",value:"var(--space-3)",description:"4rem. A tab bar is an icon stacked over a label, so it is one step TALLER than the app bar; * there is no 64px band step, so it derives from the 3.5rem one (tier 2a)."},{name:"--sidebar-nav-item-foreground",value:"initial",description:"Resting nav row + label (also the resting sub-row). Default = hsl(var(--muted-foreground))."},{name:"--sidebar-nav-item-hover-foreground",value:"initial",description:"Hovered nav row + label. Default = hsl(var(--foreground))."},{name:"--sidebar-nav-item-disabled-foreground",value:"initial",description:"`aria-disabled` nav row + label. Default = the resting row colour."},{name:"--sidebar-nav-icon-foreground",value:"initial",description:"Nav ICON (`.sb-icon`, incl. the collapsed rail and group triggers). Default = currentColor, * i.e. the row colour \u2014 the pre-gh#228 look. Set this alone to get canonical dark icons next to * muted labels."},{name:"--sidebar-nav-icon-hover-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--sidebar-nav-icon-active-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--sidebar-nav-icon-disabled-foreground",value:"initial",description:"Icon on a hovered / active / disabled row. Each falls back to --sidebar-nav-icon-foreground, * then to currentColor, so setting the base icon knob alone themes every state."},{name:"--table-row-height-compact",value:"var(--band-height-sm)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height-default",value:"var(--band-height-md)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height-comfortable",value:"var(--band-height-xl)",description:"Table component tokens: row height, cell padding."},{name:"--table-row-height",value:"calc(var(--table-row-height-default) * var(--scaling))",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-padding-y",value:"var(--space-2)",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-space-x",value:"var(--control-padding-x)",description:"Table component tokens: row height, cell padding."},{name:"--table-cell-indent-space-step",value:"var(--space-4)",description:"Hierarchy indent step for `<TableCell indent={depth}>` (gh#354). The cell's inset is * `--table-cell-space-x + depth \xD7 this step`, so level 0 sits exactly on the column's own text * axis and every further level is one step in. Owned here rather than as a magic expression in * JSX (the trap `--tree-select-depth-space-step` was pulled out of), so a denser service dials * the step down \u2014 or to `0` for a flat table \u2014 without touching a call site."},{name:"--table-border-color",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-pagination-padding-y",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-pagination-padding-x",value:"initial",description:"Cell-grid rule colour for `<Table bordered>` (gh#274) \u2014 the outer frame and the vertical * rules between columns. Declared `initial` so the default re-resolves to the LIVE --border * role at the call site (a :root binding to hsl(var(--border)) freezes at the :root value and * a scoped [data-tenant] override of --border would never reach it \u2014 docs/TOKENS.md). * Default = hsl(var(--border))."},{name:"--table-surface-min-inline-size",value:"640px",description:'DataTable surface \u2014 narrow-viewport legibility FLOOR (gh#253). Below the `sm` viewport step a * multi-column admin grid whose columns are `white-space: nowrap` would otherwise be crushed, so * the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. * This shipped as a hard-coded `min-w-[640px]` utility on the surface element, which left a * service that wants a narrower (or no) floor with no route but forking the component (#45). * Default = the previous literal, in px so the floor releases at EXACTLY the same width as the * px-based `sm` media query that clears it (a rem value would drift under a non-16px root and * re-introduce the scroll between the two thresholds). Set `0` to opt out entirely \u2014 which is * what `preset="action-collection"` does, because there the priority measures own the width.'},{name:"--table-head-font-size",value:"var(--font-size-xs)",description:'DataTable surface \u2014 narrow-viewport legibility FLOOR (gh#253). Below the `sm` viewport step a * multi-column admin grid whose columns are `white-space: nowrap` would otherwise be crushed, so * the bordered surface keeps a minimum inline size and `.ui-data-table-scroll` scrolls instead. * This shipped as a hard-coded `min-w-[640px]` utility on the surface element, which left a * service that wants a narrower (or no) floor with no route but forking the component (#45). * Default = the previous literal, in px so the floor releases at EXACTLY the same width as the * px-based `sm` media query that clears it (a rem value would drift under a non-16px root and * re-introduce the scroll between the two thresholds). Set `0` to opt out entirely \u2014 which is * what `preset="action-collection"` does, because there the priority measures own the width.'},{name:"--table-head-font-weight",value:"var(--font-weight-medium)",description:"Header WEIGHT (gh#410). Was the literal `var(--font-weight-medium)` in table-layout.css, which * left a service that wants a quiet header row writing `font-normal` on every `<TableHead>` \u2014 18 * of them in the app that reported this. Default is byte-identical; a quiet header is now one * declaration (`--table-head-font-weight: var(--font-weight-normal)`)."},{name:"--table-header-background",value:"initial",description:"Header band \u2014 its OWN bg + fg knobs (decoupled from --secondary). Declared `initial` so the * default re-resolves to the LIVE --muted / --muted-foreground roles at the call site: a :root * binding to a role var freezes at the :root value and a scoped [data-tenant] role override never * reaches it. A brand sets both header tokens together to keep band/text contrast. * Defaults = hsl(var(--muted)) band \xB7 hsl(var(--muted-foreground)) text."},{name:"--table-header-foreground",value:"initial",description:"Header band \u2014 its OWN bg + fg knobs (decoupled from --secondary). Declared `initial` so the * default re-resolves to the LIVE --muted / --muted-foreground roles at the call site: a :root * binding to a role var freezes at the :root value and a scoped [data-tenant] role override never * reaches it. A brand sets both header tokens together to keep band/text contrast. * Defaults = hsl(var(--muted)) band \xB7 hsl(var(--muted-foreground)) text."},{name:"--table-pin-shadow",value:"-6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:"Inline-end shadow that lifts a pinned (sticky) action column off the body it scrolls over."},{name:"--table-fixed-shadow-start",value:"6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:'The same lift for a column frozen to the inline START (antd `fixed: "start"`), pointing the * other way. `box-shadow` has no logical offset, so the writing direction needs its own value \u2014 * the RTL companion is a token rather than a literal in the stylesheet so a service that retunes * one edge cannot leave the other behind.'},{name:"--table-fixed-shadow-start-rtl",value:"-6px 0 6px -5px hsl(var(--foreground) / 0.12)",description:'The same lift for a column frozen to the inline START (antd `fixed: "start"`), pointing the * other way. `box-shadow` has no logical offset, so the writing direction needs its own value \u2014 * the RTL companion is a token rather than a literal in the stylesheet so a service that retunes * one edge cannot leave the other behind.'},{name:"--table-expand-column-width",value:"2.5rem",description:"Leading column that carries the expand affordance (antd `expandable`). Sized like the * selection column beside it so the two leading columns read as one gutter."},{name:"--table-summary-background",value:"initial",description:"Footer totals row (antd `summary`). `initial` so the --muted default re-resolves under a * scoped theme, exactly like the row-state washes above. * Default = hsl(var(--muted))."},{name:"--table-summary-border-width",value:"var(--stroke-hairline)",description:"Footer totals row (antd `summary`). `initial` so the --muted default re-resolves under a * scoped theme, exactly like the row-state washes above. * Default = hsl(var(--muted))."},{name:"--table-row-expanded-background",value:"initial",description:"Wash behind an expanded detail row, so the panel reads as belonging to the row above it. * Default = hsl(var(--muted) / 0.3), the same weight as the selected-row tint."},{name:"--table-selection-menu-gap",value:"var(--space-1)",description:"Gap between the header checkbox and the `selections` dropdown trigger beside it."},{name:"--table-row-striped-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-row-hover-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-row-selected-background",value:"initial",description:"Row-state tint washes \u2014 translucent muted over the opaque base. `initial` so the --muted * default re-resolves under a scoped theme; a service retints by reading another role (e.g. * --primary). Defaults = hsl(var(--muted) / 0.4 striped \xB7 0.5 hover \xB7 0.3 selected)."},{name:"--table-action-collection-primary-width",value:"18%",description:'Table \xB7 action-collection preset (gh#253) \u2014 the canonical dense approval / action queue. * Column PRIORITY measures replace the desktop intrinsic widths (a nowrap free-text column is * what makes a five-column queue wider than its card and forces a horizontal scroll). Nothing * here is read unless `preset="action-collection"` is set, so every existing table is untouched. * Percentages so the ratio holds at any card width; the action affordance is an absolute measure * because it must never be squeezed below its touch target.'},{name:"--table-action-collection-secondary-width",value:"22%",description:"requester / subject"},{name:"--table-action-collection-meta-width",value:"12%",description:"target / resource"},{name:"--table-action-collection-actions-width",value:"3.5rem",description:"timestamps, ids \u2014 lowest priority"},{name:"--table-action-collection-primary-width-compact",value:"24%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-secondary-width-compact",value:"22%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-meta-width-compact",value:"20%",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-actions-width-compact",value:"2.75rem",description:"Compact tier, applied below the collapse step (the 390px acceptance frame). Percentages, * like the desktop tier: while the priority ratios FIT (the canonical queues up to the * six-column budget below), they keep the table filling its container edge-to-edge with no * horizontal scroll \u2014 the gh#253 acceptance."},{name:"--table-action-collection-primary-width-floor",value:"6rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-secondary-width-floor",value:"5.5rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-meta-width-floor",value:"5rem",description:'Wide-collection FLOORS \u2014 the compact measures from SEVEN columns up (gh#262). * * Percentage measures stop working once a queue carries enough columns for the shares to sum * past 100%: `table-layout: fixed` NORMALIZES them back into the table\'s specified width, so at * ~10 columns on a 390px frame a "24%" column really renders at a tenth of the frame, every * column drops below one CJK glyph, and JA headers shred into a vertical one-character-per-line * column (the failure mode WCAG 2.2 SC 1.4.10 Reflow exists to prevent). Cell `min-inline-size` * and `max(%, length)` widths are equally inert in the fixed algorithm, and the intrinsic * (max-content) size of a fixed-layout table is degenerate \u2014 all verified in Chromium \u2014 so a * LENGTH is the only floor an engine respects: length columns are never squeezed, and when * their sum outgrows the container the table\'s used width grows past its specified 100% * (CSS 2.1 \xA717.5.2.1) into the keyboard-reachable overflow-x wrapper, which scrolls. * ONE-dimensional scrolling of a data table is explicitly permitted by SC 1.4.10; * one-character-per-line is not readable at all. * * The stylesheet switches tiers on a COLUMN BUDGET, not on width: up to six columns the * percentage ratios above still resolve to readable measures at every acceptance artboard * (320 \xB7 375 \xB7 390), so the canonical five-column approval queue keeps its documented * scroll-free 390 frame byte-for-byte; from seven columns the shares are guaranteed to * over-sum and the floors + intentional scroll take over. That budget is the preset\'s * documented column-count ceiling (gh#262 expectation 3): past six columns the preset stops * compressing and starts scrolling. * * Units are rem, not ch: `ch` tracks the "0" glyph (~half a CJK em), so a ch-denominated floor * would silently halve for the JA copy these floors exist to protect. At the compact type tier * (font-size-xs = 0.75rem, space-2 inline padding each side) the 5rem meta floor keeps a ~4rem * text measure = 5 full-width glyphs per line \u2014 a JA header wraps to two readable lines, never * a character column.'},{name:"--table-action-collection-flex-width-floor",value:"5rem",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-font-size-compact",value:"var(--font-size-xs)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-cell-space-x-compact",value:"var(--space-2)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-cell-padding-y-compact",value:"var(--space-2)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-row-height-compact",value:"var(--table-row-height-compact)",description:"Floor for a column with NO `priority` (the free-text column, `auto` up to the budget). It * cannot stay `auto` past the budget: once the marked columns over-constrain the table, the * fixed algorithm hands an auto column exactly 0px (verified in Chromium) \u2014 the same * shredding, moved to the free-text column. The actions floor is simply * `--table-action-collection-actions-width-compact`, already an absolute measure."},{name:"--table-action-collection-min-inline-size-compact",value:"0",description:'Compact-tier LEGIBILITY FLOOR \u2014 the measure below which the preset stops fitting the table * to its container and lets the scroll region it already owns take over. * * The percentage budget above is sized for ONE column per priority tier plus one free-text * column. A queue that repeats a tier \u2014 two `secondary` columns, three `meta` columns, or an * unmarked column beside them \u2014 asks for more than 100%, and under `table-layout: fixed` the * surplus is taken out of the columns rather than out of the table: measured on a seven-column * Japanese admin queue at 390, every column landed at 44\u201359px and CJK labels wrapped at ONE to * TWO characters per line (dxs-platform/platform#680). That is a WCAG 2.2 SC 1.4.10 Reflow (AA) * failure, and it is the failure mode this floor removes. * * Scrolling is the correct escape, not a concession: SC 1.4.10 exempts "parts of the content * which require two-dimensional layout for usage or meaning", and its own note names data * tables as the example. A table that scrolls horizontally inside its card conforms; a table * whose cells are one character wide does not. * * Default `0` so nothing changes for any existing consumer: a queue that fits its priority * budget keeps fitting. A consumer whose queue carries more columns than the budget sets this * to the measure at which its narrowest column is still readable (roughly 5rem per column for * Japanese at the compact type tier) and the table scrolls instead of crushing.'},{name:"--table-stacked-collection-card-padding-y",value:"var(--space-stack-sm)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-card-padding-x",value:"var(--space-inline-md)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-card-gap",value:"var(--space-stack-sm)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-cell-padding-y",value:"var(--space-stack-xs)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-stacked-collection-label-font-size",value:"var(--font-size-xs)",description:"Table \xB7 stacked-record-collection preset (gh#293 restore \u2014 SCR-215) \u2014 the canonical WIDE, * heterogeneous record collection. Below the collapse step every `<tr>` becomes a bordered * key-value card; these tokens own the card's own geometry (unlike action-collection, there is no * column-priority measure to retune \u2014 the whole row becomes one block)."},{name:"--table-select-column-width",value:"2.5rem",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-sort-icon-size",value:"var(--icon-size-xs)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-toolbar-icon-size",value:"var(--icon-size-md)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-pagination-icon-size",value:"var(--icon-size-md)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-pagination-font-size",value:"var(--font-size-sm)",description:"DATA TABLE odds and ends that were still literal on the component (#319). The table's cell * rhythm, widths and action-collection tiers were already tokenized; these are the pieces * around them \u2014 the select column, sort glyphs, sticky header layer and skeleton shapes."},{name:"--table-skeleton-check-size",value:"1rem",description:"Skeleton placeholders mimic the real content they stand in for: a checkbox square and a * text line at the row's cap height. Retune with --table-cell-padding-y to keep the loading * state the same height as the loaded one."},{name:"--table-skeleton-line-block-size",value:"1rem",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-skeleton-line-height",value:"var(--table-skeleton-line-block-size)",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-skeleton-radius",value:"var(--radius-sm)",description:"The skeleton bar's BLOCK SIZE. `--table-skeleton-line-height` was a length on the * line-height axis, whose scale is unitless ratios (gh#324) \u2014 a mis-named height, and the * only raw value on that axis, which is what kept the axis ungated. Renamed rather than * left, with the old name kept as a DEPRECATED ALIAS: it is a published token a consumer * theme may already override, and styles/table-layout.css still reads the old name, so an * override of either spelling keeps working. Prefer the new name; the alias may be removed * in a future major."},{name:"--table-font-size",value:"var(--font-size-sm)",description:"The table's own base type step (gh#319). Was a `text-sm` utility on the <table>; the theme * remaps `--text-sm` to `--font-size-sm`, so this default is byte-identical."},{name:"--table-line-height",value:"calc(1.25 / 0.875)",description:"MANDATORY companion to --table-font-size \u2014 the gh#260 trap, again. `text-sm` also set * line-height from Tailwind's `--text-sm--line-height`, and styles/base.css remaps `--text-sm` * but NOT that companion. Without this the table would silently inherit ambient page leading * the moment the font-size moved into CSS. Same unitless ratio Tailwind ships."},{name:"--table-row-border-width",value:"var(--stroke-hairline)",description:'Horizontal row rule (chrome, #44) \u2014 the divider between body rows AND under the header row. * Owned here rather than as TableRow\'s `border-b` utility so the "last row draws no rule" * rule in `@layer components` can actually zero it; a utility would outrank it by layer. * Colour is deliberately NOT set: it inherits the global `* { border-color: hsl(var(--border)) }` * so a scoped [data-tenant]/.dark override of --border still reaches every row.'},{name:"--table-flush-divider-width",value:"var(--table-row-border-width)",description:"Flush divider (chrome, #44/#45) \u2014 the ONE edge a full-bleed table keeps when it sits inside * `<CardContent flush>`: the line between a plain CardHeader and the first row. The other three * edges coincide with the card's own frame and are erased (gh#305); this one has nothing behind * it, so without it the header band floats (gh#306). Scoped by construction to the case that * needs it \u2014 a BANDED header, a CardBar or a headerless card already draw their own line there * and never reach this token \u2014 so a service tunes only the plain-header divider: `0` for a * borderless full-bleed table, heavier for a stronger band. Colour and style are NOT set here: * only the width is restored, so the surface's own border declaration still owns them and a * scoped [data-tenant]/.dark override of --border reaches it. * Default = the same hairline the table's other rules draw."},{name:"--text-link-underline-offset",value:"0.2em",description:"Distance from the text baseline to the underline. In `em` on purpose: the rule has to stay * proportional across the seven type steps, and a px value that reads right at `lg` crowds the * descenders at `2xs`."},{name:"--text-link-underline-width",value:"auto",description:"`auto` lets the face decide; a theme that wants a heavier rule names a length."},{name:"--toggle-count-min-width",value:"var(--space-4)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-space-inline",value:"var(--space-1)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-font-size",value:"var(--font-size-xs)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-radius",value:"var(--radius-pill)",description:"\u2500\u2500 Counter pill \xB7 geometry. One knob per component (rule #45, and the repo's existing shape: * --button-count-*, --tag-input-chip-font-size, --toggle-sm-font-size are all independent knobs * off the same primitive scale). The VALUES are byte-identical to Button's counter pill and read * the same primitive tokens, so the two pills render the same size and a Toggle count set beside * a Button count is indistinguishable \u2014 asserted by * src/styles/__tests__/toggle-count-token-parity.test.ts so it cannot drift silently. * * (They are concrete here rather than `initial` + a call-site `var(--toggle-\u2026, var(--button-\u2026))` * fallback because check:typography requires a bare `var(--token)` for every font-size, and a * split shape across the five geometry knobs would be worse than a consistent one.)"},{name:"--toggle-count-gap",value:"0",description:"Quiet default (#44) \u2014 the toggle's own flex gap already separates label from pill; this knob * ADDS to it for a service whose design grid wants the counter pushed further out."},{name:"--toggle-count-background",value:"initial",description:"\u2500\u2500 Counter pill \xB7 unpressed colours. Defaults = hsl(var(--muted)) fill (quiet: 1.09:1 against * the chip's own surface, so at rest the count reads as text, #44) and hsl(var(--foreground)) * text (14.25:1 on that fill). Opaque on purpose \u2014 a translucent fill would take its contrast * from whatever surface the chip currently has, and lose ~0.7 on hover."},{name:"--toggle-count-color",value:"initial",description:"\u2500\u2500 Counter pill \xB7 unpressed colours. Defaults = hsl(var(--muted)) fill (quiet: 1.09:1 against * the chip's own surface, so at rest the count reads as text, #44) and hsl(var(--foreground)) * text (14.25:1 on that fill). Opaque on purpose \u2014 a translucent fill would take its contrast * from whatever surface the chip currently has, and lose ~0.7 on hover."},{name:"--toggle-pressed-count-background",value:"initial",description:"\u2500\u2500 Counter pill \xB7 PRESSED colours. Defaults = hsl(var(--primary-foreground)) fill, * hsl(var(--primary)) text \u2014 the pressed chip's OWN pair, swapped. Not `--primary` on * `--primary`: the pressed chip is already filled with --primary, so a --primary pill would be * invisible on it. The swap also flips the pill from near-invisible to solid, which is one of * the encodings that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--toggle-pressed-count-color",value:"initial",description:"\u2500\u2500 Counter pill \xB7 PRESSED colours. Defaults = hsl(var(--primary-foreground)) fill, * hsl(var(--primary)) text \u2014 the pressed chip's OWN pair, swapped. Not `--primary` on * `--primary`: the pressed chip is already filled with --primary, so a --primary pill would be * invisible on it. The swap also flips the pill from near-invisible to solid, which is one of * the encodings that keeps the pressed state off colour alone (WCAG 1.4.1)."},{name:"--toggle-pressed-border-color",value:"initial",description:"\u2500\u2500 Pressed chrome. Default = hsl(var(--primary)), i.e. the pressed fill itself, so out of the * box this border is quiet (#44) and the pressed state is carried by the fill inversion + the * pill inversion + the forced-colors rule below. A service whose pressed fill is a PALE tint * (where those inversions get weak) opts into a visible outline by overriding this."},{name:"--toggle-count-forced-outline-width",value:"var(--stroke-hairline)",description:"Under forced-colors every fill is flattened to a system colour, so neither inversion encodes * anything any more. This outline is the state's structural fallback there \u2014 drawn on the * PRESSED pill only, and as `outline` (not `border`) so it costs no layout."},{name:"--tree-node-height",value:"initial",description:"Row box height. MIRRORS THE `--control-height` TIER \u2014 the row is a control-sized hit target, * and the tier is density-aware, so the height is never a literal and never an ad-hoc * `calc(var(--control-height) \xB1 \u2026)` (that re-derives a tier and drifts out of step with the * controls beside it). `size` picks a NAMED step (`--control-height-{xs,sm,lg}`) at the call * site; the tier is re-scoped by the auth shells, hence `initial` here. * Documented default: --tree-node-height = var(--control-height)."},{name:"--tree-indent-width",value:"var(--space-5)",description:'Indent per level. Drives `padding-inline-start` on the row \u2014 a LOGICAL property, so the * outline flips under `dir="rtl"` with no second rule.'},{name:"--tree-node-padding-inline",value:"var(--space-2)",description:"Inline padding inside a row, the gap between switcher / checkbox / icon / label, and the row's * corner. Pure geometry \u2014 no role to freeze, so these bind directly."},{name:"--tree-node-gap",value:"var(--space-2)",description:"Inline padding inside a row, the gap between switcher / checkbox / icon / label, and the row's * corner. Pure geometry \u2014 no role to freeze, so these bind directly."},{name:"--tree-node-radius",value:"var(--radius-sm)",description:"Inline padding inside a row, the gap between switcher / checkbox / icon / label, and the row's * corner. Pure geometry \u2014 no role to freeze, so these bind directly."},{name:"--tree-node-font-size",value:"var(--font-size-sm)",description:"Inline padding inside a row, the gap between switcher / checkbox / icon / label, and the row's * corner. Pure geometry \u2014 no role to freeze, so these bind directly."},{name:"--tree-switcher-size",value:"1.25rem",description:'The disclosure triangle (NameThatUI: "disclosure triangle"; an indented tree that expands is * an "Outline View"). Its box is what makes the switcher a real 24px-class target inside the * row, so it is a knob, not a hardcoded icon size.'},{name:"--tree-switcher-color",value:"initial",description:"Documented default: --tree-switcher-color = hsl(var(--muted-foreground))."},{name:"--tree-icon-size",value:"var(--icon-size-md)",description:'Node glyph (`showIcon`, and the folder/file pair of `variant="directory"`).'},{name:"--tree-line-color",value:"initial",description:"Documented default: --tree-line-color = hsl(var(--border))."},{name:"--tree-node-hover-background",value:"initial",description:"Row states. Both mirror roles, so both are `initial` with the role read at the call site. * Documented defaults: --tree-node-hover-background = hsl(var(--accent)); * --tree-node-selected-background = hsl(var(--accent)); * --tree-node-selected-foreground = hsl(var(--accent-foreground))."},{name:"--tree-node-selected-background",value:"initial",description:"Row states. Both mirror roles, so both are `initial` with the role read at the call site. * Documented defaults: --tree-node-hover-background = hsl(var(--accent)); * --tree-node-selected-background = hsl(var(--accent)); * --tree-node-selected-foreground = hsl(var(--accent-foreground))."},{name:"--tree-node-selected-foreground",value:"initial",description:"Row states. Both mirror roles, so both are `initial` with the role read at the call site. * Documented defaults: --tree-node-hover-background = hsl(var(--accent)); * --tree-node-selected-background = hsl(var(--accent)); * --tree-node-selected-foreground = hsl(var(--accent-foreground))."},{name:"--tree-loading-bar-inline-size",value:"40%",description:'Width of the indeterminate bar shown while `loadData` resolves a branch. A fraction, not a length: it has to read as "part of a row" at every row width and every density.'},{name:"--upload-dropzone-space-inset",value:"var(--space-10)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-radius",value:"var(--radius-lg)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-border-width",value:"var(--stroke-md)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-icon-size",value:"var(--icon-size-3xl)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-hint-space-block-start",value:"var(--space-3)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-hint-font-size",value:"var(--font-size-sm)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-meta-space-block-start",value:"var(--space-1)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-dropzone-meta-font-size",value:"var(--font-size-xs)",description:"DROPZONE \u2014 the large drag target. Its inset is deliberately generous; a dense service * dials it back with one override instead of forking the variant."},{name:"--upload-tile-size",value:"6rem",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-radius",value:"var(--radius-md)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-space-gap",value:"var(--space-3)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-icon-size",value:"var(--icon-size-xl)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-label-space-block-start",value:"var(--space-1)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-label-font-size",value:"var(--font-size-xs)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-tile-overlay-font-size",value:"var(--font-size-xs)",description:'TILE \u2014 the 96px square shared by picture-card thumbnails and the "add image" button. * One knob resizes the whole gallery; picture-card grids are the most common thing a service * re-grids to match its own column rhythm.'},{name:"--upload-overlay-background",value:"initial",description:"Busy scrim over a tile/frame \u2014 role-mirror knob, `initial` so --background re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme. Default = hsl(var(--background) / 0.7)."},{name:"--upload-overlay-alpha",value:"70%",description:"Busy scrim over a tile/frame \u2014 role-mirror knob, `initial` so --background re-resolves at the * CALL SITE under a scoped [data-tenant]/.dark theme. Default = hsl(var(--background) / 0.7)."},{name:"--upload-remove-space-inset",value:"var(--space-1)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-remove-offset",value:"var(--space-1)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-remove-icon-size",value:"var(--icon-size-sm)",description:"REMOVE affordance \u2014 the \u2715 / trash chip pinned to a tile or avatar."},{name:"--upload-picture-max-width",value:"20rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-radius",value:"var(--radius-md)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-preview-max-height",value:"12rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-height",value:"8rem",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-label-space-block-start",value:"var(--space-2)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-empty-label-font-size",value:"var(--font-size-sm)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-overlay-font-size",value:"var(--font-size-sm)",description:"PICTURE \u2014 the single wide preview variant."},{name:"--upload-picture-badge-radius",value:"var(--radius-md)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-offset",value:"var(--space-2)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-space-inline",value:"var(--space-2)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-space-block",value:"0.125rem",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-picture-badge-font-size",value:"var(--font-size-xs)",description:'"Pending replace" chip. The radius previously came from a bare `rounded`, which resolves to a * flat .25rem and so ignored the radius scale entirely \u2014 the exact shape of a rule #44 miss. * It now follows the tile radius like every other chip in the component.'},{name:"--upload-avatar-size",value:"6rem",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-border-width",value:"var(--stroke-md)",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-change-space-block",value:"var(--space-1)",description:"AVATAR \u2014 the round single-image variant."},{name:"--upload-avatar-change-background",value:"rgb(0 0 0 / 0.7)",description:'The "change" strip sits ON the photo, so its scrim is intentionally a fixed dark wash rather * than a surface role \u2014 it must stay legible over an arbitrary user image in either theme.'},{name:"--upload-avatar-change-foreground",value:"#fff",description:'The "change" strip sits ON the photo, so its scrim is intentionally a fixed dark wash rather * than a surface role \u2014 it must stay legible over an arbitrary user image in either theme.'},{name:"--upload-avatar-pending-delete-alpha",value:"0.4",description:"Alpha of an image the user has marked for deletion but not yet committed."},{name:"--upload-draft-space-inline",value:"var(--space-3)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-space-block",value:"var(--space-2)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-space-gap",value:"var(--space-2)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-radius",value:"var(--radius-md)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-font-size",value:"var(--font-size-sm)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-draft-icon-size",value:"var(--icon-size-sm)",description:"DRAFT BAR \u2014 the undo strip shown after a pending remove/replace."},{name:"--upload-row-space-inline",value:"var(--space-3)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-space-block",value:"var(--space-2)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-space-gap",value:"var(--space-3)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-radius",value:"var(--radius-md)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-font-size",value:"var(--font-size-sm)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-row-icon-size",value:"var(--icon-size-md)",description:"FILE ROW \u2014 the list rendered under the dropzone/button variants."},{name:"--upload-crop-dialog-max-width",value:"24rem",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-preview-size",value:"12rem",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-preview-radius",value:"var(--radius-pill)",description:"CROP DIALOG \u2014 the 1:1 avatar cropper (`UploadCropDialog`). The 66-literal upload pass above * never reached this file, so the whole cropper was still baked on the component: the dialog was * pinned to `max-w-sm`, the round preview to `size-48`, the zoom row to `px-2`. An avatar is one * of the most service-specific sizes there is (a 96px tile service wants a smaller crop stage * than a 200px one), and the crop stage must stay in proportion with --upload-avatar-size \u2014 * which is exactly the pair rule #45 exists to keep tunable together. * * The dialog width intentionally stays a knob of its own rather than reading * --dialog-width-default: the cropper is deliberately NARROWER than a normal dialog so the round * stage reads as the subject, not as a small element in a wide box."},{name:"--upload-crop-zoom-space-inline",value:"var(--space-2)",description:"Zoom row inset \u2014 the slider is inset from the dialog edge so its thumb's focus ring is never * flush against the dialog padding."}];var h={issue:"https://github.com/godx-jp/godxjp-ui/issues/163",standard:"docs/FRAME-COVERAGE-STANDARD.md",ledger:"preview/frame-coverage.ledger.json",recordedAt:"2026-07-30",warning:"UNTESTED means no executed case demonstrates this dimension. It is NOT a pass. Do not infer support from a happy-path example, a similarly-named frame, or a rendered screenshot.",verdicts:{covered:"An executed case proves this dimension.",untested:"No executed case. NOT a pass \u2014 report it as UNTESTED to the user.","not-applicable":"The dimension cannot exist for this export; the ledger carries the written reason."},requiredViewports:[320,375,390,768,1024,1280,1440,1920],containerWidths:[240,320,480,640,960],totals:{exports:301,dimensionCells:4214,covered:79,untested:2357,notApplicable:1778,exportsWithoutFrame:0},dimensions:[{id:"variants",title:"Variants",axis:"visual"},{id:"tones",title:"Tones",axis:"visual"},{id:"sizes",title:"Sizes",axis:"visual"},{id:"shapes",title:"Shapes",axis:"visual"},{id:"density",title:"Spacing / density",axis:"visual"},{id:"ownership",title:"Controlled / uncontrolled / reset",axis:"ownership"},{id:"states",title:"Disabled / read-only / loading / empty / error / success",axis:"state"},{id:"async",title:"Async: loading / reject / retry / cancel / offline",axis:"async"},{id:"responsive",title:"Responsive viewport matrix",axis:"responsive"},{id:"rtl",title:"RTL / direction",axis:"international"},{id:"contentStress",title:"Long / localized content stress",axis:"contentStress"},{id:"keyboard",title:"Keyboard / focus order / focus return",axis:"accessibility"},{id:"accessibleName",title:"Accessible name / description / error association",axis:"accessibility"},{id:"reducedMotion",title:"Preferences: reduced motion / forced colors / 200% zoom / coarse touch",axis:"preferences"}],knownGaps:[{id:"button-contract-gaps",targets:["Button"],dimensions:["states","contentStress","rtl","keyboard","reducedMotion"],cases:["implicit form `type` inside a form","loading combined with asChild","count / overflowCount / showZero overflow","long Japanese and Vietnamese labels","RTL","coarse touch target"]},{id:"card-contract-gaps",targets:["Card"],dimensions:["variants","density","rtl","accessibleName"],cases:["`variant` \xD7 `accent` \xD7 `size` matrix",'`density="tight"` spacing mode',"nested heading levels","RTL accent rail"]},{id:"card-subcomponent-contract-gaps",targets:["CardBar","CardContent","CardFooter","CardHeader"],dimensions:["rtl","accessibleName","contentStress"],cases:["CardBar `extra` slot","CardContent `tight` / `flush` / `solo`","CardFooter `flush` / `separated`","CardHeader `banded`","RTL"]},{id:"empty-state-contract-gaps",targets:["EmptyState"],dimensions:["variants","contentStress","accessibleName"],cases:["`section` variant","`compact` variant","without icon / description / action","heading level (`titleAs` / `titleLevel`) and live-region semantics"]},{id:"progress-contract-gaps",targets:["Progress"],dimensions:["tones","contentStress"],cases:["destructive tone","`over={true}` (value beyond 100%)"]},{id:"carousel-contract-gaps",targets:["Carousel"],dimensions:["ownership","contentStress","keyboard","reducedMotion","rtl"],cases:["single slide","plugins / setApi","autoplay pause","arrow-key traversal alongside tabs","touch / swipe","RTL"]},{id:"data-table-contract-gaps",targets:["DataTable"],dimensions:["states","async","keyboard","accessibleName","density"],cases:["error / prerequisite / background refresh","server and manual modes (manualPagination / manualSorting / manualFiltering)","zero-page and single-page pagination","accessible table and action-column labels","invalid row ids (getRowId)","keyboard behaviour","virtualization"]},{id:"charts-contract-gaps",targets:["LineChart","BarChart","AreaChart","PieChart"],dimensions:["async","reducedMotion","keyboard","contentStress","responsive","rtl"],cases:["loading / error","reduced motion","keyboard datum navigation","invalid / null / NaN data","mobile axis collision","RTL"]},{id:"locale-stress-gaps",targets:["Timeline","PasswordStrength"],dimensions:["contentStress","accessibleName"],cases:["long localized Japanese / Vietnamese content","hard-coded screen-reader strings that never reach `t()`"]}]},z=[{name:"Accordion",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccordionContent",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"AccordionItem",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccordionTrigger",group:"data-display",frame:"docs/data-display/accordion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AccountChip",group:"layout",frame:"docs/layout/account-chip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Activity",group:"general",frame:"docs/general/activity.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes","tones","variants"],notApplicable:["density","ownership","shapes","states"]},{name:"Alert",group:"feedback",frame:"docs/feedback/alert.tsx",covered:["tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states"]},{name:"AlertActions",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertContent",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDescription",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialog",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"AlertDialogAction",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertDialogCancel",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertDialogContent",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogDescription",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogFooter",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogHeader",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"AlertDialogOverlay",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogPortal",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogRoot",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"AlertDialogTitle",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AlertDialogTrigger",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AlertMutationFeedback",group:"query",frame:"docs/query/mutation-feedback.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AlertQueryError",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AlertTitle",group:"feedback",frame:"docs/feedback/alert.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AppLauncher",group:"layout",frame:"docs/layout/app-launcher.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppSettingPicker",group:"navigation",frame:"docs/navigation/app-setting-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppSettingToggle",group:"navigation",frame:"docs/navigation/app-setting-toggle.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"AppShell",group:"layout",frame:"docs/layout/app-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AreaChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"AspectRatio",group:"layout",frame:"docs/layout/aspect-ratio.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthAccountSummary",group:"layout",frame:"docs/layout/auth-account-summary.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"AuthDivider",group:"layout",frame:"docs/layout/auth-divider.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthFooter",group:"layout",frame:"docs/layout/auth-footer.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthIdentity",group:"layout",frame:"docs/layout/auth-identity.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AuthShell",group:"layout",frame:"docs/layout/auth-shell.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"AuthStack",group:"layout",frame:"docs/layout/auth-stack.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Avatar",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:["shapes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states","tones","variants"]},{name:"AvatarFallback",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"AvatarImage",group:"data-display",frame:"docs/data-display/avatar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Badge",group:"data-display",frame:"docs/data-display/badge.tsx",covered:["shapes","tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states"]},{name:"Banner",group:"feedback",frame:"docs/feedback/banner.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"BarChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"BranchScopePicker",group:"data-entry",frame:"docs/data-entry/branch-scope-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Breadcrumb",group:"layout",frame:"docs/navigation/breadcrumb.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Button",group:"general",frame:"docs/general/button/index.tsx",covered:["shapes","sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","tones"]},{name:"ButtonRefetch",group:"query",frame:"docs/query/button-refetch.tsx",covered:["shapes","sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","tones"]},{name:"Calendar",group:"data-entry",frame:"docs/data-entry/calendar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Card",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"CardAction",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardBar",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardContent",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardCover",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardDescription",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardFooter",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardHeader",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CardTitle",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Carousel",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CarouselContent",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselDots",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselItem",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CarouselNext",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CarouselPrevious",group:"data-display",frame:"docs/data-display/carousel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Cascader",group:"data-entry",frame:"docs/data-entry/cascader.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"CenteredShell",group:"layout",frame:"docs/layout/centered-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ChatBubble",group:"data-display",frame:"docs/data-display/chat-bubble.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes","states","tones","variants"],notApplicable:["density","ownership","shapes"]},{name:"ChatBubbleList",group:"data-display",frame:"docs/data-display/chat-bubble.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ChatComposer",group:"data-entry",frame:"docs/data-entry/chat-composer.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states"],notApplicable:["density","shapes","tones","variants"]},{name:"ChatSuggestion",group:"data-entry",frame:"docs/data-entry/chat-suggestion.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Checkbox",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CheckboxGroup",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CodeBlock",group:"data-display",frame:"docs/data-display/code-block.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"Collapsible",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CollapsibleContent",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CollapsibleTrigger",group:"data-display",frame:"docs/data-display/collapsible.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ColorPicker",group:"data-entry",frame:"docs/data-entry/color-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Command",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandEmpty",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CommandGroup",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandInput",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"CommandItem",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CommandList",group:"data-entry",frame:"docs/data-entry/command.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"CommandPalette",group:"data-entry",frame:"docs/data-entry/command-palette.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"CompactBarTrend",group:"charts",frame:"docs/charts/compact-bar-trend.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"ContextMenu",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuCheckboxItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ContextMenuContent",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"ContextMenuLabel",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuPortal",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuRadioGroup",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuRadioItem",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ContextMenuSeparator",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuShortcut",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSub",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSubContent",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ContextMenuSubTrigger",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ContextMenuTrigger",group:"navigation",frame:"docs/navigation/context-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"CredentialReveal",group:"data-display",frame:"docs/data-display/credential-reveal.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"DataState",group:"query",frame:"docs/query/data-state.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"DataTable",group:"data-display",frame:"docs/data-display/data-table/index.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["shapes","sizes","tones","variants"]},{name:"DatePicker",group:"data-entry",frame:"docs/data-entry/date-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"DateRangePicker",group:"data-entry",frame:"docs/data-entry/date-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"Descriptions",group:"data-display",frame:"docs/data-display/descriptions.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Dialog",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DialogAction",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogBody",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogCancel",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogClose",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DialogContent",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogDescription",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogFooter",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogHeader",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"DialogOverlay",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogPortal",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogTitle",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DialogTrigger",group:"feedback",frame:"docs/feedback/dialog.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenu",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuCheckboxItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenuContent",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuGroup",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"DropdownMenuLabel",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuPortal",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuRadioGroup",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuRadioItem",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"DropdownMenuSeparator",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuShortcut",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSub",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSubContent",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"DropdownMenuSubTrigger",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"DropdownMenuTrigger",group:"navigation",frame:"docs/navigation/dropdown-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"EmptyState",group:"data-display",frame:"docs/data-display/empty-state.tsx",covered:["tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states"]},{name:"ErrorSurface",group:"layout",frame:"docs/layout/error-surface/index.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"Field",group:"data-entry",frame:"docs/data-entry/checkbox.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FilterBar",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"FilterBarGroup",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Flex",group:"layout",frame:"docs/layout/flex.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Form",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["ownership","shapes","sizes","tones","variants"]},{name:"FormErrors",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FormErrorsProvider",group:"data-entry",frame:"docs/data-entry/form.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"FormField",group:"data-entry",frame:"docs/data-entry/form-field/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Heading",group:"general",frame:"docs/general/typography.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"HoverCard",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"HoverCardContent",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"HoverCardTrigger",group:"data-display",frame:"docs/data-display/hover-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"InfiniteQueryState",group:"query",frame:"docs/query/infinite-query-state.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"Input",group:"data-entry",frame:"docs/data-entry/input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"InputOTP",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"InputOTPGroup",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"InputOTPSeparator",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"InputOTPSlot",group:"data-entry",frame:"docs/data-entry/input-otp.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Label",group:"data-entry",frame:"docs/data-entry/label.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"LegalDocumentShell",group:"layout",frame:"docs/layout/legal-document-shell/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Legend",group:"data-display",frame:"docs/data-display/legend.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"LineChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"ListRow",group:"data-display",frame:"docs/data-display/list-row.tsx",covered:["density"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones","variants"]},{name:"Logo",group:"general",frame:"docs/general/logo.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"MasterDetail",group:"layout",frame:"docs/layout/master-detail.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Menubar",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarCheckboxItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"MenubarContent",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones"]},{name:"MenubarLabel",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarMenu",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarRadioGroup",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarRadioItem",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"MenubarSeparator",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarShortcut",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarSub",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"MenubarSubContent",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MenubarSubTrigger",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"MenubarTrigger",group:"navigation",frame:"docs/navigation/menubar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MobileShell",group:"layout",frame:"docs/layout/mobile-shell.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"MonthPicker",group:"data-entry",frame:"docs/data-entry/month-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"MonthRangePicker",group:"data-entry",frame:"docs/data-entry/month-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"NavigationMenu",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuContent",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuIndicator",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuItem",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuLink",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuList",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuTrigger",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavigationMenuViewport",group:"navigation",frame:"docs/navigation/navigation-menu.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NavList",group:"layout",frame:"docs/layout/nav-list.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"NumberInput",group:"data-entry",frame:"docs/data-entry/number-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"OrgSwitcher",group:"layout",frame:"docs/layout/org-switcher.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PageContainer",group:"layout",frame:"docs/layout/page-container.tsx",covered:["density","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["ownership","shapes","sizes","states","tones"]},{name:"Pagination",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states"],notApplicable:["density","shapes","tones","variants"]},{name:"PaginationContent",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PaginationEllipsis",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PaginationItem",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PaginationLink",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PaginationNext",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PaginationPrevious",group:"navigation",frame:"docs/navigation/pagination.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PasswordInput",group:"data-entry",frame:"docs/data-entry/password-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"PasswordStrength",group:"data-entry",frame:"docs/data-entry/password-strength.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PermissionMatrix",group:"data-display",frame:"docs/data-display/permission-matrix.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"PieChart",group:"charts",frame:"docs/data-display/charts.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"Popover",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"PopoverAnchor",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverContent",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverDescription",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverHeader",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverTitle",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"PopoverTrigger",group:"data-display",frame:"docs/data-display/popover.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"PrefetchLink",group:"query",frame:"docs/query/prefetch-link.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Progress",group:"data-display",frame:"docs/data-display/progress.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","variants"]},{name:"Prose",group:"data-display",frame:"docs/data-display/prose.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","sizes"],notApplicable:["density","ownership","shapes","states","tones","variants"]},{name:"QrCode",group:"data-display",frame:"docs/data-display/qr-code.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones","variants"]},{name:"Radio",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioGroup",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioGroupRoot",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RadioItem",group:"data-entry",frame:"docs/data-entry/radio-group.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"RangeTimeline",group:"data-display",frame:"docs/data-display/timeline.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Rating",group:"data-entry",frame:"docs/data-entry/rating.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"ResizableHandle",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResizablePanel",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResizablePanelGroup",group:"layout",frame:"docs/layout/resizable-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ResponsiveGrid",group:"layout",frame:"docs/layout/responsive-grid.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Reveal",group:"general",frame:"docs/general/reveal.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ScrollArea",group:"data-display",frame:"docs/data-display/scroll-area.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ScrollBar",group:"data-display",frame:"docs/data-display/scroll-area.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SearchInput",group:"data-entry",frame:"docs/data-entry/search-input.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"Segmented",group:"data-entry",frame:"docs/data-entry/segmented.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones","variants"]},{name:"Select",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SelectContent",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectGroup",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectItem",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SelectLabel",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectScrollDownButton",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectScrollUpButton",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectSeparator",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SelectTrigger",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states","variants"],notApplicable:["density","shapes","tones"]},{name:"SelectValue",group:"data-entry",frame:"docs/data-entry/select.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Separator",group:"layout",frame:"docs/layout/separator.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","tones"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"ServiceCatalogCta",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceLauncherCard",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceLauncherCardSkeleton",group:"data-display",frame:"docs/data-display/service-launcher-card.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"ServiceRolePanel",group:"layout",frame:"docs/layout/service-role-panel.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Sheet",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"SheetBody",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetClose",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SheetContent",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetDescription",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetFooter",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetHeader",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:["tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","variants"]},{name:"SheetOverlay",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetPortal",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetTitle",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SheetTrigger",group:"feedback",frame:"docs/feedback/sheet.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Sidebar",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SidebarHeader",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SidebarItem",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SidebarSection",group:"layout",frame:"docs/layout/sidebar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Skeleton",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonDetail",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonRows",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonStat",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"SkeletonTable",group:"feedback",frame:"docs/feedback/skeleton.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Slider",group:"data-entry",frame:"docs/data-entry/slider.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"SplitPane",group:"layout",frame:"docs/layout/split-pane.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"StatCard",group:"data-display",frame:"docs/data-display/card/index.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"StatusBadge",group:"data-display",frame:"docs/data-display/badge.tsx",covered:["shapes","tones","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","sizes","states"]},{name:"Steps",group:"navigation",frame:"docs/navigation/steps.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones","variants"]},{name:"Switch",group:"data-entry",frame:"docs/data-entry/switch.tsx",covered:["sizes"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones","variants"]},{name:"Table",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableBody",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableCell",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableHead",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableHeader",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TableRow",group:"data-display",frame:"docs/data-display/table.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Tabs",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","states","tones"]},{name:"TabsContent",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"TabsList",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones"]},{name:"TabsTrigger",group:"navigation",frame:"docs/navigation/tabs.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"TagInput",group:"data-entry",frame:"docs/data-entry/tag-input.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Text",group:"general",frame:"docs/general/typography.tsx",covered:["sizes","tones"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","states","variants"]},{name:"Textarea",group:"data-entry",frame:"docs/data-entry/textarea.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Timeline",group:"data-display",frame:"docs/data-display/timeline.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones"]},{name:"TimelineGrid",group:"data-display",frame:"docs/data-display/timeline-grid.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TimePicker",group:"data-entry",frame:"docs/data-entry/time-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"TimeRangePicker",group:"data-entry",frame:"docs/data-entry/time-range-picker.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"Toaster",group:"feedback",frame:"docs/feedback/toast.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Toggle",group:"data-entry",frame:"docs/data-entry/toggle.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","tones"]},{name:"ToggleGroup",group:"data-entry",frame:"docs/data-entry/toggle-group.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"ToggleGroupItem",group:"data-entry",frame:"docs/data-entry/toggle-group.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"Toolbar",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl","states"],notApplicable:["density","ownership","shapes","sizes","tones","variants"]},{name:"ToolbarGroup",group:"navigation",frame:"docs/navigation/toolbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Tooltip",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"TooltipContent",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TooltipProvider",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TooltipTrigger",group:"feedback",frame:"docs/feedback/tooltip.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl"],notApplicable:["density","shapes","sizes","states","tones","variants"]},{name:"Topbar",group:"layout",frame:"docs/layout/topbar.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"TopbarItem",group:"layout",frame:"docs/layout/topbar-item.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]},{name:"Transfer",group:"data-entry",frame:"docs/data-entry/transfer.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Tree",group:"data-display",frame:"docs/data-display/tree.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","sizes","states","variants"],notApplicable:["density","shapes","tones"]},{name:"TreeSelect",group:"data-entry",frame:"docs/data-entry/tree-select.tsx",covered:["sizes","variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","tones"]},{name:"TwoFactorSetup",group:"feedback",frame:"docs/feedback/two-factor-setup.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones","variants"]},{name:"Upload",group:"data-entry",frame:"docs/data-entry/upload.tsx",covered:["variants"],untested:["accessibleName","async","contentStress","keyboard","ownership","reducedMotion","responsive","rtl","states"],notApplicable:["density","shapes","sizes","tones"]},{name:"VisuallyHidden",group:"general",frame:"docs/general/typography.tsx",covered:[],untested:["accessibleName","async","contentStress","keyboard","reducedMotion","responsive","rtl"],notApplicable:["density","ownership","shapes","sizes","states","tones","variants"]}],de=new Map(z.map(t=>[t.name.toLowerCase(),t]));function L(t){return de.get(String(t??"").trim().toLowerCase())}var u=[{number:1,title:"Storybook is mandatory",body:"Every primitive / shell / composite has a paired story under `src/stories/<group>/<Name>.stories.tsx` covering every variant + state on light + dark."},{number:2,title:"Tokens, not utilities",body:"Visual values come from CSS custom properties in `src/tokens/` + `src/styles/theme.css`. Token-named Tailwind utilities (`bg-background`) are fine; raw value utilities (`bg-blue-500`) are forbidden."},{number:3,title:"Radix for interactive primitives",body:"Anything with keyboard / ARIA / portal wraps the relevant Radix primitive."},{number:4,title:"shadcn-style ownership",body:"Primitives are thin wrappers; consumers can fork the source in place."},{number:5,title:"One i18next singleton",body:"`initI18n()` in `src/i18n/index.ts` is THE instance; consumers extend via `addResourceBundle`."},{number:6,title:"WCAG 2.1 AA baseline",body:"Every interactive primitive passes axe-core (keyboard nav, ARIA, focus-visible, 4.5:1 contrast, `prefers-reduced-motion`). Stories double as a11y test surfaces."},{number:7,title:"SemVer 2.0 + Keep a Changelog 1.1",body:"Every release-worthy change updates `CHANGELOG.md` under `## Unreleased` in the same PR."},{number:8,title:"Inclusive naming",body:"`allowlist` / `denylist`, `main` / `primary` / `replica` / `secondary`, `they/them`. Never `whitelist` / `blacklist` / `master` / `slave`. Lint-enforced."},{number:9,title:"No marketing speak",body:'Banned: "powerful", "robust", "blazing fast", "best-in-class", "seamless", "enterprise-grade". State what it does.'},{number:10,title:"English is canonical for docs",body:"Localised docs at `docs/i18n/<bcp47>/`; front-matter tracks staleness."},{number:11,title:"Submodule discipline",body:"Never push a pin to a SHA not on the submodule remote."},{number:12,title:"Branch + PR workflow",body:"`feat/<scope>` / `fix/<scope>` \u2192 submodule `main`. CI green + squash-merge. No direct push to `main`. `--no-verify` forbidden."},{number:13,title:"TypeScript strict",body:"Explicit types on every export. `forwardRef` for components; `ComponentPropsWithoutRef` for extension. No `any`. No `@ts-ignore` without comment + issue link."},{number:14,title:"Every third-party library is shadcn / Radix-recommended",body:"Locked stack: Radix UI, cmdk, sonner, lucide-react, react-aria-components + `@internationalized/date`, i18next + react-i18next, class-variance-authority + clsx + tailwind-merge. New peer \u2192 ADR documenting why it's the canonical choice."},{number:15,title:"No `@apply` re-encoding tokens",body:"Inside a primitive `.tsx`, don't `@apply` a Tailwind utility that re-encodes a token \u2014 reference the canonical CSS class from `tokens.css` instead. Composite token-named utilities remain fine."},{number:16,title:"CSS source-of-truth is `src/tokens/` + `src/styles/theme.css`",body:"A primitive that needs a new color / spacing / radius adds it there FIRST, then references it."},{number:17,title:"`src/stories/` \u2194 `src/components/` parity",body:"Story set matches primitive set under each group. CI-checked via `scripts/check-stories-parity.mjs`."},{number:18,title:"`docs/reference/<group>/` \u2194 `src/components/<group>/` parity",body:"Every primitive has a reference page; every page maps to a primitive. CI-checked via `scripts/check-docs-parity.mjs`."},{number:19,title:"No service-specific anything",body:'`me-service`, `forge-service`, `admin-service` never appear in source / comments / prop names. Per-deployment brand color lives at `[data-accent="<palette>"]`.'},{number:20,title:'No "platform-only" exports',body:"Every primitive ships via `package.json::exports`. Internal-only helpers stay un-exported."},{number:21,title:"Every component honours every theme axis",body:"`data-theme` (light / dark), `data-accent` (6 palettes), `data-density` (compact / default / comfortable), `data-font-size` (sm / base / lg / xl). Read from tokens, never hardcode values."},{number:22,title:"100% match to the design canon",body:'Every visual literal comes from `design-handoff/ui-system/<latest-bundle>/`. Token-pin canon literals; never substitute "close enough". If the bundle doesn\'t cover a case \u2014 STOP, ask the user to mock it.'},{number:23,title:"Concept-first prop API",body:"One concept per prop. Reuse shared vocabulary (`size`, `variant`, `color`, `tone`, `accent`, `padding`, `density`, `orientation`, `placement`, `current`, `value` / `defaultValue` / `onValueChange`, `open` / `defaultOpen` / `onOpenChange`, `justify`, `sticky`, `offset`). Before adding a new prop or token: grep for an existing one."},{number:24,title:"Mobile-first",body:"Defaults target `xs` (\u22650px); progressive enhancement via `sm:` / `md:` / `lg:` / `xl:` / `2xl:`. Touch targets \u2265 44 \xD7 44 px (`--touch-target-min`, does NOT scale with density). Runtime viewport via `useBreakpoint`, never `window.innerWidth`. Stories render at narrow viewport first."},{number:25,title:"Stories are docs; UI is the primitive",body:"When a story looks wrong, fix the primitive / CSS / token. Never paper over with a story tweak. Story-only diff without a paired primitive / CSS / token diff is rejected."},{number:26,title:"Library isolation",body:"`dist/` ships only the consumer surface. Storybook, tests, scripts, design-handoff, `dev-probe/` stay out of npm. Every `dependencies` entry is `external` in `tsup`. Verification via `pnpm pack` + grep of `dist/`."},{number:27,title:"Per-group folder structure",body:"Primitives at `src/components/<group>/<Name>.tsx`; six canonical groups (general, layout, data-display, data-entry, feedback, navigation). Barrel = `src/components/primitives.ts` (single file). Stories + reference docs mirror the same group hierarchy."},{number:28,title:"`src/` folder taxonomy",body:"Three classes: consumer surface (matched by `tsup` entry + `package.json::exports`), Storybook-only (`src/stories/`), build-input-only (`cn.ts`, per-group sources consumed via the barrel). No `src/lib/`, `src/utils/`, `src/internal/`, `src/clients/`, `src/screens/`. Service clients live with the composite that uses them."},{number:29,title:"Stories consume framework primitives only",body:"No raw `<button>` / `<input>` / hand-rolled chips when a primitive exists. HTML semantics (`<section>`, `<article>`, \u2026) for structure are fine. Inline `style={{}}` limited to layout / positioning; no colour / radius / typography overrides."},{number:30,title:"Story `render` returns JSX directly",body:"No opaque `<XyzDemo />` wrapper components, no zero-arg `Demo` helpers. Use `render: function StoryName() { \u2026 }` so Storybook's source panel shows runnable JSX, not `<XyzDemo />`."},{number:31,title:"No nested wrapper / convenience primitives",body:"One Radix base = one framework primitive. `<SimpleX>` over `<X>` is forbidden; add a prop to `<X>` instead. Composites under `src/components/composites/` that combine multiple primitives are NOT wrappers."},{number:32,title:"No redundant props",body:"Before adding a prop / item field / variant, grep the existing surface; if a field already covers the concept, use it. Top-level prop that re-expresses an item field (Timeline `pending` \u2194 `items[i].animate`) is rejected."},{number:33,title:"Stories / source / docs name-synchronized",body:"No two names for the same export across the framework surface; no legacy aliases in stories / docs (source may keep an alias for a deprecation cycle, but the marketing surfaces use the canonical name only)."},{number:34,title:"Storybook source panel = real, copy-paste-ready code",body:'Storybook\'s react-docgen serializer strips every function value (`cell: ({row}) => <JSX/>`, `render: ({field}) => <Input/>`, `rowClassName`, `renderItem`, \u2026) to `() => {}`. Any story whose `render` passes a function-valued prop, references a module-level helper (`Badge`, `EMPLOYEE_COLUMNS`, etc.), or uses a render-prop pattern MUST override `parameters.docs.source.code` with the literal copy-paste-ready snippet \u2014 type aliases, helper functions spelled out, column definitions with cell JSX visible, inline data array. The `render()` callback stays as-is (module-level constants are fine for runtime performance); `source.code` is the marketing surface. Skip ONLY for stories whose JSX is purely static primitives Storybook can serialize verbatim (`<Button variant="primary">Click</Button>`).'},{number:35,title:"Status chips never wrap",body:"A `Badge` / `Badge` reads as one atomic unit. Its label must never break across lines \u2014 pin `white-space: nowrap` on the chip (done in `badge-layout.css`), especially inside narrow `DataTable` cells (\u30B9\u30B3\u30FC\u30D7 / \u30B9\u30C6\u30FC\u30BF\u30B9 columns). If a cell is too tight, widen the column or shorten the label; never let the chip wrap."},{number:36,title:"Badge tone/icon are the colour escape hatch",body:"For ANY other value \u2014 localized labels (\u516C\u958B\u4E2D, \u30A2\u30AF\u30C6\u30A3\u30D6) or categorical tiers (\u4F1A\u54E1\u30E9\u30F3\u30AF, \u5951\u7D04\u30D7\u30E9\u30F3) \u2014 pass `tone` explicitly (success | warning | destructive | info | neutral) and, for non-lifecycle tiers, `icon={null}` to drop the misleading glyph. Don't let domain labels fall back to neutral grey + \u25CB. Map domain\u2192tone in the CONSUMER layer; the framework only provides the props."},{number:37,title:"DataTable is full-width \u2014 never inside a narrow grid column",body:"A multi-column `DataTable` occupies its OWN row at the page's full width: `<Card><CardContent flush><DataTable \u2026/></CardContent></Card>`. Never nest it in a `lg:col-span-2` of a `ResponsiveGrid columns={3}` beside a chart \u2014 the columns get squeezed until CJK text collapses to one character per line. Charts / KPI cards go in their own row ABOVE the table. (See the `inertia-list-page` pattern.)"},{number:38,title:"FilterBar stays OUT of CardContent flush",body:"`CardContent flush` strips horizontal padding for edge-to-edge tables. A `FilterBar` placed inside it loses all padding and sticks to the card edge. Render `FilterBar` as a STANDALONE block above the table card; wrap ONLY the `DataTable` / `EmptyState` in the `Card` + `CardContent flush`. Order on a list page: KPIs \u2192 FilterBar \u2192 table card."},{number:39,title:"Long text columns get an explicit width",body:"For columns whose value can be long (name / title / segment / address), set `col.width` to a Tailwind width class (e.g. `w-64`, `w-48`) so the column reserves space instead of shrinking and wrapping to many lines; leave numeric / status columns auto. Table cells default to `white-space: nowrap`, so an over-tight table scrolls horizontally rather than crushing \u2014 give the important columns real widths so the default layout reads well before any scroll."},{number:40,title:"Pages are mobile-first",body:'Author and verify every page at 320\u2013390px FIRST. Page sections are spaced by `PageContainer` itself (`--page-body-gap` between its direct children). Inside a section spacing comes only from `Flex` `gap` (vertical rhythm = `Flex direction="col"`, control rows = the default `direction="row"`) + `ResponsiveGrid columns={2|3|4}` (which collapse to a single column on narrow screens) \u2014 never raw `p-*` / `gap-*` / `space-*` utilities for page layout (the static audit rejects them). Styles are loaded whole: `@godxjp/ui/styles` or `styles/core`, never a hand-picked set of layers.'},{number:41,title:"Drawer & dialog footer layout",body:'Sheet/Dialog/AlertDialog footers are a pinned action bar (the Drawer footer convention): the footer sticks to the bottom, SheetFooter draws a full-bleed top border, and actions are RIGHT-aligned with the PRIMARY button rightmost (Cancel/secondary to its left). A destructive / clear / reset action goes far-LEFT \u2014 give that button `className="mr-auto"`. NEVER stack footer buttons full-width or center them.'},{number:42,title:"Props & Tokens Before Customization",body:"Before reaching for a Tailwind class, inline `style`, or extra CSS, you MUST first check whether the component already supports the need via a PROP, a design TOKEN, or a layout/typography PRIMITIVE. godx-ui is meant to be enough on its own: `className` is for genuine one-offs only \u2014 never to redo what an API already does. Specifically: (1) NEVER hand-roll typography \u2014 no `text-[13px]`/`text-[11px]` arbitrary px (bypasses the golden type scale), no `font-medium`/`font-semibold`/`text-muted-foreground` on a raw `<span>`; use `<Text size tone weight tabular mono>` / `<Heading level>`. (2) NEVER hand-roll a trivial flex/grid wrapper; use `<Flex>` / `<ResponsiveGrid>` / `<PageContainer>`. (3) NEVER set a control's radius/height/colour with a utility when a `shape`/`size`/`tone`/token exists."},{number:43,title:"Every form control goes through FormField",body:"Consumers MUST wrap every labelled form control (Input, Select, DatePicker, DateRangePicker, NumberInput, Radio.Group, Checkbox groups, range pairs, ...) in FormField \u2014 it owns the label (aria-labelledby, never a dangling <label for>), auto-generates/injects the control id, and wires aria-describedby/aria-errormessage/aria-invalid. Bare controls are the rare exception (e.g. a toolbar quick-filter with its own aria-label) and must carry id/name + aria-label themselves. Never hand-roll a label+control stack with Text/Label."},{number:44,title:"Chrome is a token, default quiet",body:"Any decorative chrome a component draws \u2014 dividers, separator borders, and the padding that exists only to space that chrome \u2014 MUST read a token; never hard-code it in `src/styles/*.css` (a hard-coded `border-bottom: 1px solid hsl(var(--border))` leaves consumers no off-switch short of a variant fork). The DEFAULT is the quietest state (`none` / balanced rhythm); a service theme opts IN, e.g. `--page-header-divider: 1px solid hsl(var(--border))`."},{number:45,title:"Every service-tunable constant gets a knob",body:'When component CSS encodes a geometry choice that a service plausibly re-tunes to match its design handoff \u2014 form label column width, label\u2194control gap, header insets \u2014 it MUST be a documented component token (current value as the default). The theme sets it ONCE globally; props (`labelWidth`) override per instance; Form\u2192FormField priority stays intact. The test: "would a service theme.css want to change this to match its design grid?" If yes and the only route is forking CSS, that is a library gap \u2014 fix the library, don\'t patch the app.'},{number:46,title:"Typography is tokens, default is base",body:"The DEFAULT body size is `--font-size-base`; components render body/UI text at `base`, not at the `sm` alias. Smaller-by-design text (badge, section label, caption) is a component token defaulting to a small step (`--badge-font-size: var(--font-size-xs)`), so a service re-tunes that part without moving the global scale. The `sm`/`xs` tokens stay for the explicit `<Text size>` API. Every component token is surfaced in the MCP `get_component` output (check:mcp-token-sync)."},{number:47,title:"The layer contract \u2014 cascade layers, not specificity",body:'Every rule this package ships is inside a cascade layer, and layer order beats specificity outright. Two consequences. (1) INSIDE the package: `@layer components` is EARLIER than Tailwind\'s `utilities`, so a utility a component emits on its own element (`<table class="text-sm">`) silently outranks the component rule meant to own that property \u2014 no selector can win. A responsive re-point that must beat such a utility goes in `@layer godxjp-ui-responsive`, declared after Tailwind in `styles/base.css` and therefore LAST; it is reserved for `@container`/`@media` re-points, never static rules.'}];function C(t){return u.find(a=>a.number===t)}var b=[{name:"common-fixes",tagline:"Fix the most common @godxjp/ui consumer mistakes & visual bugs (StatCard double-border, grey Badge, crushed/empty table headers, washed-out sidebar footer, Inertia layout crash, SSR hydration). Before \u2192 after.",tags:["fixes","migration","bug","cardstat","statusbadge","datatable","sidebar","gotcha","review"],code:`// \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
2239
2301
|
// 0) \u2605 MOST COMMON: <Card> body has NO padding (content is flush against the edges)
|
|
2240
2302
|
// Cause: the bare <Card> has ZERO inner padding \u2014 it MUST contain <CardContent>.
|
|
2241
2303
|
// Don't hand-roll padding with className="p-4" on the Card either.
|
|
@@ -3446,7 +3508,7 @@ export function AccountChip({ user, onSignOut }: { user: { name: string; email:
|
|
|
3446
3508
|
|
|
3447
3509
|
// In the page header, a language Select takes width="auto" so it does not swallow the row:
|
|
3448
3510
|
// <PageContainer title="\u2026" extra={<><Select \u2026><SelectTrigger width="auto">\u2026</SelectTrigger>\u2026</Select><AccountChip \u2026 /><Button>Send</Button></>}>
|
|
3449
|
-
`}];function
|
|
3511
|
+
`}];function E(t){let a=t.trim().toLowerCase();return b.find(e=>e.name===a||e.aliases?.includes(a))}function H(t){let a=t.trim().toLowerCase();return a===""?b:b.filter(e=>e.name.includes(a)||e.aliases?.some(o=>o.includes(a))||e.tagline.toLowerCase().includes(a)||e.tags.some(o=>o.includes(a)))}function M(t){return t.audience!=="core"}var x=[{id:"contract",audience:"consumer",name:"H\u1EE3p \u0111\u1ED3ng c\u1EE9ng \u2014 lu\u1EADt + v\xED d\u1EE5 ch\u1EA1y \u0111\u01B0\u1EE3c",whenToUse:"\u0110\u1ECCC TR\u01AF\u1EDAC TI\xCAN khi vi\u1EBFt b\u1EA5t k\u1EF3 giao di\u1EC7n n\xE0o b\u1EB1ng @godxjp/ui. Lu\u1EADt c\u1EE9ng, m\u1ED7i lu\u1EADt k\xE8m c\u1ED5ng CI s\u1EBD \u0111\u1ECF n\u1EBFu vi ph\u1EA1m, m\xE3 SAI v\xE0 m\xE3 \u0110\xDANG. D\xF9ng cho: d\u1EF1ng trang, d\u1EF1ng form, kho\u1EA3ng c\xE1ch, b\u1ED1 c\u1EE5c, m\xE0u, ch\u1EEF, khi thang token kh\xF4ng c\xF3 gi\xE1 tr\u1ECB c\u1EA7n.",source:"docs/CONSUMER-RULES.md + ui-audit.mjs + component-api-manifest.json",sections:[{id:"loop",title:"V\xF2ng l\xE0m vi\u1EC7c",tagline:"Ba b\u01B0\u1EDBc. B\u1ECF b\u01B0\u1EDBc 2 l\xE0 ngu\u1ED3n g\u1ED1c c\u1EE7a m\u1ECDi l\u1EC7ch design.",body:`1. H\u1ECFi API TR\u01AF\u1EDAC khi vi\u1EBFt \u2014 \u0111\u1EEBng \u0111o\xE1n t\xEAn prop:
|
|
3450
3512
|
get_component({ name: "Flex" }) \u2192 prop + gi\xE1 tr\u1ECB h\u1EE3p l\u1EC7
|
|
3451
3513
|
search_components({ query: "..." }) \u2192 t\xECm component \u0111\xFAng vi\u1EC7c
|
|
3452
3514
|
|
|
@@ -4212,7 +4274,7 @@ shell with a centered spinner. Layout shifts when content
|
|
|
4212
4274
|
arrives.`,fix:`Use Skeleton placeholders matching the eventual content shape.
|
|
4213
4275
|
Render \`<Skeleton className="h-9 w-full rounded-md" />\` in place of
|
|
4214
4276
|
each control \u2014 inside the FormField that will hold it, so the labels
|
|
4215
|
-
and grid stay put. Layout stays stable, perceived speed improves.`}];function G(t){return D.filter(a=>a.category===t)}var E=[{category:"typography",symptom:"Inter / Roboto / Open Sans everywhere \u2014 the AI default.",fix:"Pick a font with character: Geist, Outfit, Cabinet Grotesk, Satoshi for sans. For editorial / creative \u2014 pair a serif heading (Newsreader, Lyon, Playfair) with a sans body.",uiNote:"Override --font-sans + --font-serif at the consumer's root CSS. Framework reads from these tokens."},{category:"typography",symptom:"Headlines lack presence \u2014 small + thin + default tracking.",fix:"Increase display size, tighten letter-spacing (-0.02em to -0.04em), reduce line-height (1.1). Headlines should feel HEAVY and INTENTIONAL.",uiNote:"Typography.Title size={1} for hero; override fontFamily + letterSpacing inline."},{category:"typography",symptom:"Body paragraphs full-width \u2014 hard to read.",fix:"Limit paragraph max-width to ~65ch. Increase line-height to 1.6+.",uiNote:"Wrap Typography.Paragraph in `<div style={{ maxWidth: '65ch' }}>`."},{category:"typography",symptom:"Only Regular (400) + Bold (700) weights \u2014 flat hierarchy.",fix:"Introduce Medium (500) + SemiBold (600) for subtle weight contrasts."},{category:"typography",symptom:"Numbers in proportional font \u2014 columns jitter in tables.",fix:"`font-variant-numeric: tabular-nums` for data, or a monospace font like Geist Mono.",uiNote:"Table primitive already uses `tabular-nums` on `.num` cells. For ad-hoc numeric labels, add the CSS prop manually."},{category:"typography",symptom:"Orphaned words \u2014 single word on the last line of a heading.",fix:"`text-wrap: balance` (h1/h2/h3) or `text-wrap: pretty` (body)."},{category:"typography",symptom:"Title Case On Every Header.",fix:"Use sentence case instead. More modern, easier to read."},{category:"color-surface",symptom:"Pure #000000 background.",fix:"Replace with off-black / dark charcoal / tinted dark (deep navy).",uiNote:"Framework dark theme already uses tinted dark values \u2014 verify the consumer's override didn't force pure black."},{category:"color-surface",symptom:"Oversaturated accent colors.",fix:"Keep saturation below 80%. Desaturate so accents BLEND with neutrals rather than scream."},{category:"color-surface",symptom:"More than one accent color competing.",fix:"Pick ONE. Remove the rest. Consistency beats variety in palette.",uiNote:"Set ONE `data-accent` at `<html>` root. Use semantic colors (success / warning / destructive) only for genuinely semantic content."},{category:"color-surface",symptom:"Purple/blue 'AI gradient' aesthetic \u2014 most common AI fingerprint.",fix:"Replace with neutral base + ONE considered accent. Drop the gradient entirely if it has no narrative purpose."},{category:"color-surface",symptom:"Generic black `box-shadow` everywhere.",fix:"Tint shadow to match background hue (e.g. cool gray bg \u2192 cool gray shadow). Colored shadows over pure black."},{category:"color-surface",symptom:"Random dark section breaking an otherwise light page.",fix:"Either commit to full dark mode OR keep light consistently. If contrast needed, use a SLIGHTLY darker shade of the same palette \u2014 not a sudden jump to #111."},{category:"color-surface",symptom:"Empty flat sections with no visual depth.",fix:"Add depth with an ambient gradient at 0.02-0.05 opacity, or background imagery you COMMIT to the repo. Never a hotlinked placeholder service: a third-party image that never settles blocks `networkidle`, which times out a page load outright \u2014 it cost this repo two docs pages failing every browser gate. Empty flat = unfinished."},{category:"layout",symptom:"Everything centered + symmetric.",fix:"Break symmetry: offset margins, mixed aspect ratios, left-aligned header over centered body."},{category:"layout",symptom:"Three equal card columns as feature row \u2014 the most generic AI layout.",fix:"Replace with 2-column zig-zag, asymmetric grid, horizontal scroll, or masonry. The 3-equal-cols pattern is RED FLAG #1.",uiNote:"Use Bento Grid (custom CSS grid with `gridColumn: 'span N'`) instead of `<Grid cols={3}>` for hero sections."},{category:"layout",symptom:"`height: 100vh` causing iOS Safari jump.",fix:"Use `min-height: 100dvh` (dynamic viewport) instead."},{category:"layout",symptom:"No max-width container \u2014 content stretches edge-to-edge.",fix:"Add a container constraint (1200-1440px) with `margin: auto`. Or use `max-w-4xl / max-w-5xl` for content-heavy pages.",uiNote:"Framework's PageContent constrains via `var(--container-max-width)`. Consumer may override."},{category:"layout",symptom:"Cards forced to same height by flexbox.",fix:"Allow variable heights or use masonry when content varies.",uiNote:"Use Masonry primitive \u2014 handles variable heights without flexbox stretch."},{category:"layout",symptom:"Buttons at random vertical positions in card rows.",fix:"Pin CTAs to card bottom \u2014 same Y-position across the row regardless of content above.",uiNote:"Card's `actions` footer slot bottom-aligns automatically."},{category:"layout",symptom:"Feature lists starting at different vertical positions in pricing tables.",fix:"Fixed-height title/price block + consistent spacing above the feature list. Cards align across columns."},{category:"layout",symptom:"Dashboard ALWAYS has a left sidebar.",fix:"Consider top navigation, floating command menu, or collapsible panel. Sidebar isn't the only chrome.",uiNote:"Framework supports both \u2014 AppShell with sidebar slot is optional; can use Topbar-only for some flows."},{category:"interactivity",symptom:"No hover states on buttons.",fix:"Background shift, scale, or translate on hover \u2014 150-200ms ease.",uiNote:"Framework Button has built-in hover. If overridden \u2014 restore."},{category:"interactivity",symptom:"No active/pressed feedback.",fix:"`scale(0.98)` or `translateY(1px)` on `:active`. Simulates a physical click."},{category:"interactivity",symptom:"No focus ring (`outline: none`).",fix:"Restore visible `:focus-visible` ring. Accessibility requirement, not optional."},{category:"interactivity",symptom:"Generic circular spinner for page-level loading.",fix:"Replace with Skeleton placeholders matching the eventual content shape.",uiNote:"Framework Skeleton + Form `loading={{ kind: 'skeleton' }}` handles cascading initial-fetch state."},{category:"interactivity",symptom:"No empty states \u2014 empty dashboard shows nothing.",fix:"Design a composed 'getting started' view: Empty primitive with title + description + next-action button."},{category:"interactivity",symptom:"`window.alert()` for errors.",fix:"Inline error in the relevant Field, OR toast for non-form errors, OR Dialog for blocking errors."},{category:"interactivity",symptom:"Dead links (`href='#'`).",fix:"Either link to real destinations or visually disable the button."},{category:"interactivity",symptom:"No indication of current page in navigation.",fix:"Style the active nav link distinctly.",uiNote:"Sidebar handles via `activeId` \u2014 pass it."},{category:"content",symptom:"Generic names \u2014 'John Doe', 'Jane Smith'.",fix:"Diverse, realistic names. For Japanese apps: \u7530\u4E2D \u592A\u90CE, \u4F50\u85E4 \u7F8E\u54B2, Nguy\u1EC5n Lan, Maria Cruz."},{category:"content",symptom:"Fake round numbers \u2014 '99.99%', '50%', '$100.00'.",fix:"Organic data: '47.2%', '$99.00', '+1 (312) 847-1928'."},{category:"content",symptom:"Placeholder brand names \u2014 Acme, Nexus, SmartFlow.",fix:"Invent contextual believable brands or use the consumer's real brand."},{category:"content",symptom:"AI copy clich\xE9s \u2014 'elevate', 'seamless', 'unleash', 'next-gen', 'game-changer', 'delve', 'tapestry', 'in the world of'.",fix:"Plain specific language. Numbers, nouns, verbs.",uiNote:"Framework's cardinal rule 9 bans this in framework docs; same discipline applies to consumer copy."},{category:"content",symptom:"Exclamation marks in success messages.",fix:"Remove. Be confident, not loud."},{category:"content",symptom:"'Oops!' or apologetic error messages.",fix:"Direct + specific: 'Connection failed. Please try again.' / '\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093'."},{category:"content",symptom:"Lorem Ipsum.",fix:"Real draft copy. Even rough placeholder beats Latin."},{category:"components",symptom:"Generic card look (border + shadow + white).",fix:"Remove border OR shadow OR background \u2014 keep ONE. Cards exist only when elevation communicates hierarchy."},{category:"components",symptom:"Always one filled + one ghost button.",fix:"Add text links / tertiary styles for variety.",uiNote:"Button has `variant='link'` for tertiary actions."},{category:"components",symptom:"3-card carousel testimonials with dots.",fix:"Replace with masonry wall of quotes, embedded social posts, or single rotating quote."},{category:"components",symptom:"Pricing table with 3 equal towers.",fix:"Highlight recommended tier with COLOR and emphasis, not just extra height."},{category:"components",symptom:"Modals for everything.",fix:"Use inline editing, Sheet (slide-over), or expandable Collapse for simple actions. Reserve Dialog for true blocking decisions."},{category:"components",symptom:"Footer link farm with 4 columns.",fix:"Simplify. Main nav paths + legally required links. No marketing kitchen sink."},{category:"iconography",symptom:"Lucide or Feather icons exclusively.",fix:"Use Phosphor (Bold / Fill), Heroicons, or a custom set. AI default tell.",uiNote:"Framework ships with lucide as locked dependency (rule 14). For editorial differentiation, layer Phosphor on top."},{category:"iconography",symptom:"Cliche icon metaphors \u2014 rocketship 'launch', shield 'security'.",fix:"Less obvious: bolt, fingerprint, spark, vault, gem."},{category:"iconography",symptom:"Stock 'diverse team in office' photo.",fix:"Real team photos, candid shots, or a consistent illustration style. Avatar initials fallback > generic stock person."},{category:"code-quality",symptom:"Div soup \u2014 no semantic HTML.",fix:"`<nav>`, `<main>`, `<article>`, `<aside>`, `<section>` for landmarks.",uiNote:"AppShell renders the canonical landmark structure automatically."},{category:"code-quality",symptom:"Inline styles mixed with CSS classes haphazardly.",fix:"Move styling into the project's system. Inline `style={{}}` only for layout / positioning (rule 29)."},{category:"code-quality",symptom:"Missing alt text on images.",fix:"Describe content for SR. Never leave `alt=''` or `alt='image'` on meaningful images."},{category:"code-quality",symptom:"Arbitrary z-index values like `9999`.",fix:"Establish a clean z-index scale in CSS variables."},{category:"omissions",symptom:"No legal links in footer.",fix:"Add Privacy Policy + Terms of Service."},{category:"omissions",symptom:"Dead ends in user flows \u2014 no 'back'.",fix:"Every page has a way back. Breadcrumb, back button, OR clear nav state."},{category:"omissions",symptom:"No custom 404 page.",fix:"Design a helpful branded 404 with a way home and search."},{category:"omissions",symptom:"No form validation.",fix:"Client-side validation via zod schema. Framework's Form + FormField handle field-level errors automatically."},{category:"omissions",symptom:"No 'skip to content' link.",fix:"Hidden skip-link, first focusable element. Essential for keyboard users.",uiNote:"AppShell renders one automatically."}],j=["1. Font swap \u2014 biggest instant improvement, lowest risk","2. Color palette cleanup \u2014 remove clashing / oversaturated colors","3. Hover + active states \u2014 makes the interface feel alive","4. Layout + spacing \u2014 proper grid, max-width, consistent padding","5. Replace generic components \u2014 swap cliche patterns for modern alternatives","6. Add loading, empty, error states \u2014 makes it feel finished","7. Polish typography scale + spacing \u2014 the premium final touch"],W=["Work with the existing tech stack. Do NOT migrate frameworks or styling libraries.","Do NOT break existing functionality. Test after every change.","Before importing any new library, check `package.json` first.","Keep changes reviewable + focused. Small targeted improvements over big rewrites.","Run the audit before fixing \u2014 listing issues first prevents accidental scope creep."];function _(t){return E.filter(a=>a.category===t)}var Y="node node_modules/@godxjp/ui/scripts/ui-audit.mjs (add --format json for machine output, --rules to print this catalog)",$=`// ui-audit-disable-line <rule-id> \u2014 this line
|
|
4277
|
+
and grid stay put. Layout stays stable, perceived speed improves.`}];function G(t){return D.filter(a=>a.category===t)}var I=[{category:"typography",symptom:"Inter / Roboto / Open Sans everywhere \u2014 the AI default.",fix:"Pick a font with character: Geist, Outfit, Cabinet Grotesk, Satoshi for sans. For editorial / creative \u2014 pair a serif heading (Newsreader, Lyon, Playfair) with a sans body.",uiNote:"Override --font-sans + --font-serif at the consumer's root CSS. Framework reads from these tokens."},{category:"typography",symptom:"Headlines lack presence \u2014 small + thin + default tracking.",fix:"Increase display size, tighten letter-spacing (-0.02em to -0.04em), reduce line-height (1.1). Headlines should feel HEAVY and INTENTIONAL.",uiNote:"Typography.Title size={1} for hero; override fontFamily + letterSpacing inline."},{category:"typography",symptom:"Body paragraphs full-width \u2014 hard to read.",fix:"Limit paragraph max-width to ~65ch. Increase line-height to 1.6+.",uiNote:"Wrap Typography.Paragraph in `<div style={{ maxWidth: '65ch' }}>`."},{category:"typography",symptom:"Only Regular (400) + Bold (700) weights \u2014 flat hierarchy.",fix:"Introduce Medium (500) + SemiBold (600) for subtle weight contrasts."},{category:"typography",symptom:"Numbers in proportional font \u2014 columns jitter in tables.",fix:"`font-variant-numeric: tabular-nums` for data, or a monospace font like Geist Mono.",uiNote:"Table primitive already uses `tabular-nums` on `.num` cells. For ad-hoc numeric labels, add the CSS prop manually."},{category:"typography",symptom:"Orphaned words \u2014 single word on the last line of a heading.",fix:"`text-wrap: balance` (h1/h2/h3) or `text-wrap: pretty` (body)."},{category:"typography",symptom:"Title Case On Every Header.",fix:"Use sentence case instead. More modern, easier to read."},{category:"color-surface",symptom:"Pure #000000 background.",fix:"Replace with off-black / dark charcoal / tinted dark (deep navy).",uiNote:"Framework dark theme already uses tinted dark values \u2014 verify the consumer's override didn't force pure black."},{category:"color-surface",symptom:"Oversaturated accent colors.",fix:"Keep saturation below 80%. Desaturate so accents BLEND with neutrals rather than scream."},{category:"color-surface",symptom:"More than one accent color competing.",fix:"Pick ONE. Remove the rest. Consistency beats variety in palette.",uiNote:"Set ONE `data-accent` at `<html>` root. Use semantic colors (success / warning / destructive) only for genuinely semantic content."},{category:"color-surface",symptom:"Purple/blue 'AI gradient' aesthetic \u2014 most common AI fingerprint.",fix:"Replace with neutral base + ONE considered accent. Drop the gradient entirely if it has no narrative purpose."},{category:"color-surface",symptom:"Generic black `box-shadow` everywhere.",fix:"Tint shadow to match background hue (e.g. cool gray bg \u2192 cool gray shadow). Colored shadows over pure black."},{category:"color-surface",symptom:"Random dark section breaking an otherwise light page.",fix:"Either commit to full dark mode OR keep light consistently. If contrast needed, use a SLIGHTLY darker shade of the same palette \u2014 not a sudden jump to #111."},{category:"color-surface",symptom:"Empty flat sections with no visual depth.",fix:"Add depth with an ambient gradient at 0.02-0.05 opacity, or background imagery you COMMIT to the repo. Never a hotlinked placeholder service: a third-party image that never settles blocks `networkidle`, which times out a page load outright \u2014 it cost this repo two docs pages failing every browser gate. Empty flat = unfinished."},{category:"layout",symptom:"Everything centered + symmetric.",fix:"Break symmetry: offset margins, mixed aspect ratios, left-aligned header over centered body."},{category:"layout",symptom:"Three equal card columns as feature row \u2014 the most generic AI layout.",fix:"Replace with 2-column zig-zag, asymmetric grid, horizontal scroll, or masonry. The 3-equal-cols pattern is RED FLAG #1.",uiNote:"Use Bento Grid (custom CSS grid with `gridColumn: 'span N'`) instead of `<Grid cols={3}>` for hero sections."},{category:"layout",symptom:"`height: 100vh` causing iOS Safari jump.",fix:"Use `min-height: 100dvh` (dynamic viewport) instead."},{category:"layout",symptom:"No max-width container \u2014 content stretches edge-to-edge.",fix:"Add a container constraint (1200-1440px) with `margin: auto`. Or use `max-w-4xl / max-w-5xl` for content-heavy pages.",uiNote:"Framework's PageContent constrains via `var(--container-max-width)`. Consumer may override."},{category:"layout",symptom:"Cards forced to same height by flexbox.",fix:"Allow variable heights or use masonry when content varies.",uiNote:"Use Masonry primitive \u2014 handles variable heights without flexbox stretch."},{category:"layout",symptom:"Buttons at random vertical positions in card rows.",fix:"Pin CTAs to card bottom \u2014 same Y-position across the row regardless of content above.",uiNote:"Card's `actions` footer slot bottom-aligns automatically."},{category:"layout",symptom:"Feature lists starting at different vertical positions in pricing tables.",fix:"Fixed-height title/price block + consistent spacing above the feature list. Cards align across columns."},{category:"layout",symptom:"Dashboard ALWAYS has a left sidebar.",fix:"Consider top navigation, floating command menu, or collapsible panel. Sidebar isn't the only chrome.",uiNote:"Framework supports both \u2014 AppShell with sidebar slot is optional; can use Topbar-only for some flows."},{category:"interactivity",symptom:"No hover states on buttons.",fix:"Background shift, scale, or translate on hover \u2014 150-200ms ease.",uiNote:"Framework Button has built-in hover. If overridden \u2014 restore."},{category:"interactivity",symptom:"No active/pressed feedback.",fix:"`scale(0.98)` or `translateY(1px)` on `:active`. Simulates a physical click."},{category:"interactivity",symptom:"No focus ring (`outline: none`).",fix:"Restore visible `:focus-visible` ring. Accessibility requirement, not optional."},{category:"interactivity",symptom:"Generic circular spinner for page-level loading.",fix:"Replace with Skeleton placeholders matching the eventual content shape.",uiNote:"Framework Skeleton + Form `loading={{ kind: 'skeleton' }}` handles cascading initial-fetch state."},{category:"interactivity",symptom:"No empty states \u2014 empty dashboard shows nothing.",fix:"Design a composed 'getting started' view: Empty primitive with title + description + next-action button."},{category:"interactivity",symptom:"`window.alert()` for errors.",fix:"Inline error in the relevant Field, OR toast for non-form errors, OR Dialog for blocking errors."},{category:"interactivity",symptom:"Dead links (`href='#'`).",fix:"Either link to real destinations or visually disable the button."},{category:"interactivity",symptom:"No indication of current page in navigation.",fix:"Style the active nav link distinctly.",uiNote:"Sidebar handles via `activeId` \u2014 pass it."},{category:"content",symptom:"Generic names \u2014 'John Doe', 'Jane Smith'.",fix:"Diverse, realistic names. For Japanese apps: \u7530\u4E2D \u592A\u90CE, \u4F50\u85E4 \u7F8E\u54B2, Nguy\u1EC5n Lan, Maria Cruz."},{category:"content",symptom:"Fake round numbers \u2014 '99.99%', '50%', '$100.00'.",fix:"Organic data: '47.2%', '$99.00', '+1 (312) 847-1928'."},{category:"content",symptom:"Placeholder brand names \u2014 Acme, Nexus, SmartFlow.",fix:"Invent contextual believable brands or use the consumer's real brand."},{category:"content",symptom:"AI copy clich\xE9s \u2014 'elevate', 'seamless', 'unleash', 'next-gen', 'game-changer', 'delve', 'tapestry', 'in the world of'.",fix:"Plain specific language. Numbers, nouns, verbs.",uiNote:"Framework's cardinal rule 9 bans this in framework docs; same discipline applies to consumer copy."},{category:"content",symptom:"Exclamation marks in success messages.",fix:"Remove. Be confident, not loud."},{category:"content",symptom:"'Oops!' or apologetic error messages.",fix:"Direct + specific: 'Connection failed. Please try again.' / '\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093'."},{category:"content",symptom:"Lorem Ipsum.",fix:"Real draft copy. Even rough placeholder beats Latin."},{category:"components",symptom:"Generic card look (border + shadow + white).",fix:"Remove border OR shadow OR background \u2014 keep ONE. Cards exist only when elevation communicates hierarchy."},{category:"components",symptom:"Always one filled + one ghost button.",fix:"Add text links / tertiary styles for variety.",uiNote:"Button has `variant='link'` for tertiary actions."},{category:"components",symptom:"3-card carousel testimonials with dots.",fix:"Replace with masonry wall of quotes, embedded social posts, or single rotating quote."},{category:"components",symptom:"Pricing table with 3 equal towers.",fix:"Highlight recommended tier with COLOR and emphasis, not just extra height."},{category:"components",symptom:"Modals for everything.",fix:"Use inline editing, Sheet (slide-over), or expandable Collapse for simple actions. Reserve Dialog for true blocking decisions."},{category:"components",symptom:"Footer link farm with 4 columns.",fix:"Simplify. Main nav paths + legally required links. No marketing kitchen sink."},{category:"iconography",symptom:"Lucide or Feather icons exclusively.",fix:"Use Phosphor (Bold / Fill), Heroicons, or a custom set. AI default tell.",uiNote:"Framework ships with lucide as locked dependency (rule 14). For editorial differentiation, layer Phosphor on top."},{category:"iconography",symptom:"Cliche icon metaphors \u2014 rocketship 'launch', shield 'security'.",fix:"Less obvious: bolt, fingerprint, spark, vault, gem."},{category:"iconography",symptom:"Stock 'diverse team in office' photo.",fix:"Real team photos, candid shots, or a consistent illustration style. Avatar initials fallback > generic stock person."},{category:"code-quality",symptom:"Div soup \u2014 no semantic HTML.",fix:"`<nav>`, `<main>`, `<article>`, `<aside>`, `<section>` for landmarks.",uiNote:"AppShell renders the canonical landmark structure automatically."},{category:"code-quality",symptom:"Inline styles mixed with CSS classes haphazardly.",fix:"Move styling into the project's system. Inline `style={{}}` only for layout / positioning (rule 29)."},{category:"code-quality",symptom:"Missing alt text on images.",fix:"Describe content for SR. Never leave `alt=''` or `alt='image'` on meaningful images."},{category:"code-quality",symptom:"Arbitrary z-index values like `9999`.",fix:"Establish a clean z-index scale in CSS variables."},{category:"omissions",symptom:"No legal links in footer.",fix:"Add Privacy Policy + Terms of Service."},{category:"omissions",symptom:"Dead ends in user flows \u2014 no 'back'.",fix:"Every page has a way back. Breadcrumb, back button, OR clear nav state."},{category:"omissions",symptom:"No custom 404 page.",fix:"Design a helpful branded 404 with a way home and search."},{category:"omissions",symptom:"No form validation.",fix:"Client-side validation via zod schema. Framework's Form + FormField handle field-level errors automatically."},{category:"omissions",symptom:"No 'skip to content' link.",fix:"Hidden skip-link, first focusable element. Essential for keyboard users.",uiNote:"AppShell renders one automatically."}],j=["1. Font swap \u2014 biggest instant improvement, lowest risk","2. Color palette cleanup \u2014 remove clashing / oversaturated colors","3. Hover + active states \u2014 makes the interface feel alive","4. Layout + spacing \u2014 proper grid, max-width, consistent padding","5. Replace generic components \u2014 swap cliche patterns for modern alternatives","6. Add loading, empty, error states \u2014 makes it feel finished","7. Polish typography scale + spacing \u2014 the premium final touch"],W=["Work with the existing tech stack. Do NOT migrate frameworks or styling libraries.","Do NOT break existing functionality. Test after every change.","Before importing any new library, check `package.json` first.","Keep changes reviewable + focused. Small targeted improvements over big rewrites.","Run the audit before fixing \u2014 listing issues first prevents accidental scope creep."];function _(t){return I.filter(a=>a.category===t)}var Y="node node_modules/@godxjp/ui/scripts/ui-audit.mjs (add --format json for machine output, --rules to print this catalog)",$=`// ui-audit-disable-line <rule-id> \u2014 this line
|
|
4216
4278
|
// ui-audit-disable-next-line <rule-id> \u2014 the line below
|
|
4217
4279
|
// ui-audit-disable-begin <rule-id> \u2014 <reason, 12+ chars>
|
|
4218
4280
|
// \u2026 the whole region (one marker, however prettier wraps it) \u2026
|
|
@@ -4222,7 +4284,7 @@ A block with no reason is IGNORED and the finding stands. An unclosed block runs
|
|
|
4222
4284
|
The class-shaped rules (gap-*/p-*/m-*, bg-<palette>-*, w-[\u2026], pr-*, dark:*) only read class
|
|
4223
4285
|
expressions \u2014 a className/class attribute, a class-named binding (\`baseClass\`, \`statusStyles\`,
|
|
4224
4286
|
\`badgeVariants\`) or a cn()/clsx()/cva() call \u2014 so prose that merely spells a utility is not a
|
|
4225
|
-
finding and needs no suppression.`,K=[{id:"no-utility-spacing",severity:"error",category:"composition",standard:null,fix:"Remove gap-*/p-*/m-* from your own markup; space siblings with <Flex gap> / <ResponsiveGrid>. Page sections are spaced by <PageContainer> (docs/CONSUMER-RULES.md \xA73)."},{id:"no-utility-layout",severity:"error",category:"composition",standard:null,fix:'Replace className="flex \u2026" / "grid \u2026" with <Flex> (row), <Flex direction="col"> (stack) or <ResponsiveGrid columns>.'},{id:"no-hand-rolled-surface",severity:"warn",category:"composition",standard:null,fix:"A rounded+border/bg div is a fake surface \u2014 use Card, Badge, Avatar, ListRow, Descriptions or EmptyState so height, padding and radius come from tokens."},{id:"sibling-cards-need-flex",severity:"warn",category:"composition",standard:null,fix:'Wrap adjacent <Card>s in <Flex direction="col" gap="lg"> or <ResponsiveGrid>; direct children of PageContainer are spaced by the page already.'},{id:"no-raw-palette-color",severity:"error",category:"tokens",standard:null,fix:"Use semantic tokens (bg-primary, text-muted-foreground), never raw palette (bg-blue-500)."},{id:"no-arbitrary-hex",severity:"error",category:"tokens",standard:null,fix:"No hardcoded hex in className; read design-system color tokens."},{id:"no-arbitrary-spacing",severity:"error",category:"tokens",standard:null,fix:"No p-[13px]/gap-[7px]; use the token scale / <Flex gap> / <PageContainer>."},{id:"no-arbitrary-size",severity:"error",category:"tokens",standard:null,fix:"No w-[37px]/h-[260px]; use token sizes or a sizing prop (min-w-[\u2026] allowed)."},{id:"no-arbitrary-typography",severity:"error",category:"tokens",standard:null,fix:"No text-[20px]/leading-[1.7]; use the golden-ratio type-scale tokens."},{id:"no-arbitrary-radius",severity:"error",category:"tokens",standard:null,fix:"No rounded-[6px]; use rounded-sm/md/lg radius tokens."},{id:"no-off-scale-token-value",severity:"warn",category:"tokens",standard:null,fix:"A design-system knob you override takes a step (style={{ '--card-space-inset': 'var(--space-4)' }}) or a calc() from one (calc(var(--space-4) + 2px)), not a raw 13px. Only axes that HAVE a scale count: space/padding/gap/margin, font-size, radius, icon-size (width/height/size/offset have none yet, so a number there is fine). A value that is genuinely off the grid keeps its literal and says why in place, with a /* scale-exempt: 6px status dot, below --space-1 */ comment on that line or the one above."},{id:"no-dark-color-override",severity:"warn",category:"tokens",standard:null,fix:"Drop dark: color overrides \u2014 semantic tokens already adapt."},{id:"raw-white-black",severity:"warn",category:"tokens",standard:null,fix:"Prefer semantic tokens (text-primary-foreground, bg-background) over raw white/black."},{id:"no-domain-tracking-token",severity:"error",category:"tokens",standard:null,fix:"No package-tracking/domain tokens; use semantic tokens or app theme overrides."},{id:"no-space-xy",severity:"error",category:"tokens",standard:null,fix:"Use <Flex gap> instead of space-x/y-*."},{id:"no-raw-select",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Select> from @godxjp/ui, not a raw <select>."},{id:"no-raw-table",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use the <Table>/<DataTable> family, not a raw <table>."},{id:"no-raw-input",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Input> from @godxjp/ui, not a raw <input>."},{id:"no-raw-textarea",severity:"warn",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Textarea> from @godxjp/ui, not a raw <textarea>."},{id:"no-raw-button",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Button> from @godxjp/ui, not a raw <button>."},{id:"card-manual-padding",severity:"error",category:"composition",standard:null,fix:"Wrap the body in <CardContent>; don't hand-roll padding on <Card>."},{id:"card-needs-content",severity:"error",category:"composition",standard:null,fix:"<Card> body must be in <CardContent> (no padding otherwise); flush only for a full-bleed table."},{id:"bare-control-needs-formfield",severity:"warn",category:"composition",standard:"WCAG 2.2 SC 1.3.1 \xB7 3.3.2 \xB7 @godxjp/ui FormField (cardinal rule 227)",fix:"Wrap a labelled control in <FormField label=\u2026> \u2014 it owns label\u2194control id wiring, aria/error, AND the field rhythm; never pair a bare <Label> with an <Input>."},{id:"manual-field-error",severity:"warn",category:"composition",standard:"WCAG 2.2 SC 3.3.1",fix:"Use <FormField error=\u2026>, not a hand-rolled <p class='text-destructive'>."},{id:"manual-field-helper",severity:"warn",category:"composition",standard:null,fix:"Use <FormField helper=\u2026>, not a hand-rolled helper <p>."},{id:"status-tone-not-variant",severity:"error",category:"api",standard:null,fix:"Badge/Tag/StatCard status uses tone, not variant (variant is structural)."},{id:"value-callback-on-value-change",severity:"error",category:"api",standard:null,fix:"Abstract value components use onValueChange, not onChange."},{id:"icon-button-needs-name",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 4.1.2 \xB7 1.1.1 \xB7 WAI-ARIA 1.2",fix:"Add aria-label={t('\u2026')} to <Button size='icon'>; the glyph is aria-hidden."},{id:"img-needs-alt",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 1.1.1 \xB7 HTML Living Standard",fix:"Add alt to every <img> (alt='' if decorative); prefer <Avatar>/<AspectRatio>."},{id:"no-positive-tabindex",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 2.4.3 \xB7 WAI-ARIA APG",fix:"Use tabIndex 0 or -1 only; never positive \u2014 it breaks focus order."},{id:"hand-rolled-close-glyph",severity:"warn",category:"a11y",standard:"WAI-ARIA 1.2 (dialog) \xB7 WCAG 2.2 SC 4.1.2",fix:"Pass onDismiss to <Alert>, or use <Dialog>/<Sheet>'s built-in labelled close \u2014 not a bare \u2715."},{id:"no-emoji-in-ui",severity:"warn",category:"i18n",standard:"Unicode UTS #51 \xB7 WCAG 2.2 SC 1.1.1",fix:"No emoji in product UI; quiet i18n copy + Lucide icon + Badge tone."},{id:"no-emoji-flag",severity:"warn",category:"i18n",standard:"ISO 3166-1 \xB7 ECMA-402 Intl.DisplayNames \xB7 Unicode UTS #51",fix:"Derive country names from Intl.DisplayNames; no emoji flags."},{id:"hardcoded-currency",severity:"warn",category:"i18n",standard:"ISO 4217 \xB7 ECMA-402 Intl.NumberFormat",fix:"Format money with Intl.NumberFormat({ style: 'currency', currency }), not \xA5{amount}."},{id:"raw-intl-date",severity:"warn",category:"i18n",standard:"ISO 8601 \xB7 IANA tz \xB7 ECMA-402 Intl.DateTimeFormat",fix:"Use formatDate from @godxjp/ui/datetime, not hand-built or locale-default dates."},{id:"no-physical-direction",severity:"warn",category:"rtl",standard:"W3C CSS Logical Properties L1 \xB7 WCAG 2.2 (1.3.2)",fix:"Use logical utilities (ms-/me-/ps-/pe-, start-/end-, text-start/end, border-s/e, rounded-s/e)."},{id:"no-em-dash-in-copy",severity:"warn",category:"copy",standard:"@godxjp/ui reference-design typography",fix:"No em-dash (\u2014) in copy; use a middot \xB7 or two calm sentences."}];function X(t){return t?K.filter(a=>a.category===t):K}var Q="node node_modules/@godxjp/ui/scripts/visual-audit.mjs <baseUrl> [route \u2026] (optional peers, TESTED range: playwright >=1.55 <2 [1.61.1] + @axe-core/playwright >=4.10 <5 [4.12.1] + axe-core >=4.10 <5 [4.12.1] + a chromium via `playwright install chromium`; --strict for a CI gate, --format json ALWAYS emits valid JSON with a status of ok|partial|error separating infra errors[] from product findings[], --rules to print this catalog)",J=[{id:"css-layers-missing",severity:"error",category:"layout",standard:"@godxjp/ui styles contract (styles / styles/core are the only entries)",fix:"Import `@godxjp/ui/styles` (or `styles/core` without fonts); never cherry-pick *-layout.css \u2014 a missing layer renders naked menus and unsized Select rows."},{id:"control-height-mismatch",severity:"error",category:"layout",standard:"@godxjp/ui control tier (--control-height) \xB7 Nielsen consistency heuristic",fix:"Every control in one row must share --control-height; replace hand-rolled pills with Avatar/Button/Badge, never restyle a control's height."},{id:"sibling-card-gap",severity:"error",category:"layout",standard:"@godxjp/ui spacing scale (docs/SPACING.md)",fix:'Adjacent Cards need one space step between them \u2014 <Flex direction="col" gap>, <ResponsiveGrid>, or direct children of PageContainer.'},{id:"row-content-starved",severity:"warn",category:"layout",standard:"WCAG 2.2 SC 1.4.10 reflow",fix:`A sibling (a w-full SelectTrigger) takes the row's width and truncates its neighbours \u2014 give the Select width="auto" or move it out of the row.`},{id:"axe-violations",severity:"warn",category:"a11y",standard:"WCAG 2.2 A/AA \xB7 WAI-ARIA 1.2 (axe-core engine)",fix:"Fix each axe node \u2014 contrast (1.4.3), name/role/value (4.1.2), ARIA, landmarks. Runs on the REAL DOM, catching what static analysis cannot."},{id:"target-size-min",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 2.5.8 (24\xD724 AA) \xB7 2.5.5 (44\xD744 AAA)",fix:"Interactive targets must be \u226524\xD724 CSS px; size from the --control-height tier."},{id:"oversaturated-accent",severity:"warn",category:"color",standard:"@godxjp/ui reference-design \u6E0B\u307F (OKLCH chroma \u2264 0.18)",fix:"Desaturate brand/primary surfaces (OKLCH chroma \u2264 0.18); read --primary tokens, no raw vivid bars."},{id:"emoji-rendered",severity:"warn",category:"i18n",standard:"Unicode UTS #51 \xB7 WCAG 2.2 SC 1.1.1",fix:"Remove emoji from rendered product text; quiet i18n copy + Lucide icon + Badge tone."},{id:"alert-controls-misplaced",severity:"warn",category:"layout",standard:"@godxjp/ui Alert anatomy \xB7 WAI-ARIA 1.2 \xB7 WCAG 2.2 SC 4.1.2",fix:"Use <Alert>: one leading tone icon, <Alert.Actions> trailing-right normal width, onDismiss \xD7 top-right, one horizontal row."}];function Z(t){return t?J.filter(a=>a.category===t):J}var m={name:"@godxjp/ui-mcp",version:"20.2.0",godxUiCompatibility:"20.2.x",description:"Model Context Protocol server for @godxjp/ui \u2014 gives Claude Code / Codex CLI / Cursor / any MCP-aware agent live access to the component catalog, prop vocabulary, design tokens, 45 cardinal rules, copy-paste-ready patterns, 12 design / taste skills synthesised from Leonxlnx/taste-skill, 20+ anti-AI-tell patterns, and a 50-check redesign audit \u2014 token-efficient (list \u2192 drill-down).",type:"module",main:"./dist/index.js",module:"./dist/index.js",types:"./dist/index.d.ts",bin:{"godx-ui-mcp":"./dist/index.js"},files:["dist","README.md"],publishConfig:{registry:"https://registry.npmjs.org/",access:"public"},repository:{type:"git",url:"git+https://github.com/godx-jp/godxjp-ui.git",directory:"mcp"},homepage:"https://github.com/godx-jp/godxjp-ui/tree/main/mcp#readme",license:"Apache-2.0",scripts:{build:"tsup",dev:"tsup --watch",start:"node dist/index.js",inspect:"npx @modelcontextprotocol/inspector node dist/index.js","type-check":"tsc --noEmit",test:"vitest run",prepublishOnly:"npm run build"},dependencies:{"@modelcontextprotocol/sdk":"^1.29.0",zod:"^4.4.3"},devDependencies:{"@types/node":"^22.10.0",tsup:"^8.5.1",typescript:"^6.0.3",vitest:"^4.1.6"},keywords:["mcp","model-context-protocol","godxjp","ui","design-system","react","claude","cursor"],author:"GoDX (https://godx.jp)",bugs:{url:"https://github.com/godx-jp/godxjp-ui/issues"}};var te=[{name:"list_skills",description:"List every design/taste skill bundled by this MCP (id + name + whenToUse + section ids). Use FIRST to discover skills; then `get_skill_section` to drill in.",inputSchema:{type:"object",properties:{}}},{name:"list_primitives",description:"List every @godxjp/ui primitive/composite/shell (group + tagline per entry). Optionally filter by group. Then `get_component` for one's full API.",inputSchema:{type:"object",properties:{group:{type:"string",enum:["general","layout","data-display","data-entry","feedback","navigation","composites","shell","providers"]}}}},{name:"list_patterns",description:"List every canonical copy-paste code pattern (signup-form, settings-page, data-table-page, async-data-state, confirm-destructive, \u2026); common aliases resolve too. Use before `get_pattern`.",inputSchema:{type:"object",properties:{}}},{name:"list_anti_ai_tells",description:"List every AI-tell pattern to AVOID (optionally by category). Use to self-audit a design before shipping; then `get_anti_ai_tell` for the fix.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["visual","layout","copy","interaction","imagery","structure"]}}}},{name:"list_redesign_checks",description:"List the redesign audit checklist (50+ checks; optionally by category). Use when auditing an existing project; then `get_redesign_check` for a symptom's fix.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["typography","color-surface","layout","interactivity","content","components","iconography","code-quality","omissions"]}}}},{name:"list_audit_rules",description:"List the LOCAL static ui-audit rules (scripts/ui-audit.mjs) to run BEFORE any visual review \u2014 each cites the standard it enforces (WCAG/WAI-ARIA/Intl/ISO/IANA/CSS-Logical) + a fix + the run command. Optionally by category.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["tokens","composition","api","a11y","i18n","rtl","copy"]}}}},{name:"list_visual_checks",description:"List the RUNTIME visual-audit checks (scripts/visual-audit.mjs \u2014 Playwright + axe-core) to run against the RUNNING app: contrast/ARIA (axe), target size, rendered-accent chroma, DOM emoji, banner layout. Needs a browser (vs list_audit_rules, static). Optionally by category.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["a11y","color","i18n","layout"]}}}},{name:"get_anti_ai_tell",description:"Fetch ONE anti-AI-tell \u2014 full body + concrete fix. Use after `list_anti_ai_tells`.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Exact tell name from list_anti_ai_tells."}},required:["name"]}},{name:"get_redesign_check",description:"Fetch redesign check(s) matching a symptom snippet. Returns full fix + UI note. Use after `list_redesign_checks`.",inputSchema:{type:"object",properties:{symptom:{type:"string",description:"Fragment of the symptom text (e.g. 'Inter everywhere' / '100vh')."}},required:["symptom"]}},{name:"get_skill_section",description:"Fetch ONE section of ONE skill \u2014 token-efficient. E.g. `skill='soft', section='double-bezel'`. Use after `list_skills` narrowed the relevant skill + section.",inputSchema:{type:"object",properties:{skill:{type:"string",description:"Skill id (e.g. 'soft', 'minimalist', 'taste')."},section:{type:"string",description:"Section id within that skill."}},required:["skill","section"]}},{name:"get_component",description:"Full guide for one @godxjp/ui component \u2014 import path, props/types/defaults, HOW to use it (DO/DON'T), WHEN to reach for it (use cases), related components (don't reinvent/confuse), a copy-paste example, story path, and cardinal rules. Use this before hand-rolling anything. Design-token knobs are listed compactly (name+default); pass `verbose:true` for what each token controls.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Component name (e.g. 'Button', 'DataTable')."},verbose:{type:"boolean",description:"Include the full design-token table with a 'what it controls' description per token. Default false (compact token+default only) to save context."}},required:["name"]}},{name:"get_pattern",description:"Full code snippet for one canonical pattern \u2014 copy-paste-ready.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Pattern slug (use list_patterns first)."}},required:["name"]}},{name:"get_rule",description:"Read one cardinal rule from CLAUDE.md (by number) OR all if no number.",inputSchema:{type:"object",properties:{number:{type:"number",description:"Rule number (1-N)."}}}},{name:"get_vocab",description:"Read shared prop-vocabulary type (`SizeProp`, `StatusProp`, `ColorProp`, `LoadingProp`, etc.) OR all if no name.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Vocab type name."}}}},{name:"get_tokens",description:"Read design tokens, optionally filtered by tier category (primitive / semantic / component).",inputSchema:{type:"object",properties:{category:{type:"string",enum:["primitive","semantic","component"]}}}},{name:"list_consumer_skills",description:"List the design skills relevant to an app-dev BUILDING WITH @godxjp/ui (audience consumer/both). Hides core library-maintenance skills. START HERE if you import @godxjp/ui and want guidance (design-to-page, compose-a-screen, taste, \u2026). Returns id + name + whenToUse + section ids.",inputSchema:{type:"object",properties:{}}},{name:"get_consumer_skill",description:"Fetch ONE section of ONE consumer-facing skill. Same as get_skill_section but refuses core-only skills (steers app-devs away from library-maintenance material). Use after list_consumer_skills / route_consumer_task.",inputSchema:{type:"object",properties:{skill:{type:"string",description:"Consumer skill id (e.g. 'design-to-page', 'compose-a-screen')."},section:{type:"string",description:"Section id within that skill."}},required:["skill"]}},{name:"route_consumer_task",description:"Natural-language task \u2192 consumer skill+section pointer. Like route_task but only points to consumer-facing skills (never core library-maintenance). Use FIRST when you're building an app with @godxjp/ui.",inputSchema:{type:"object",properties:{task:{type:"string",description:"Describe what you want to build."}},required:["task"]}},{name:"draft_bug_report",description:"When @godxjp/ui ITSELF is at fault (missing token, a primitive lacking the controlled-vocabulary prop, a real a11y/behaviour bug, a wrong catalog example) and you cannot follow a rule \u2014 DON'T fake a workaround. This drafts a detailed GitHub issue body + a copy-paste `gh issue create` command so you can report it. Prints the command only; never runs gh.",inputSchema:{type:"object",properties:{summary:{type:"string",description:"One-line title of the bug / blocked rule."},repro:{type:"string",description:"Minimal steps or code to reproduce."},expected:{type:"string",description:"What SHOULD happen (per the rule/spec)."},actual:{type:"string",description:"What actually happens."},component:{type:"string",description:"Affected component name, if any (links to get_component)."},rule:{type:"number",description:"Cardinal rule number that can't be followed, if any."},version:{type:"string",description:"Installed @godxjp/ui version (e.g. '12.1.0')."},env:{type:"string",description:"Environment (browser/OS/framework), if relevant."}},required:["summary"]}},{name:"check_compatibility",description:"Report whether the @godxjp/ui version installed in the target project matches THIS catalog (which describes one release train). A mismatched minor means the props/tokens/patterns may describe a build they never installed (#140). Pass the installed version (`npm ls @godxjp/ui`); call it at the START of a consumer session.",inputSchema:{type:"object",properties:{version:{type:"string",description:"Installed @godxjp/ui version in the target project, e.g. '16.10.0'. Omit to just read the catalog's own version + compatible range."}}}},{name:"route_task",description:"Natural-language task \u2192 skill+section pointer (e.g. 'design a premium agency hero' \u2192 soft/vibe-archetypes). Use FIRST when you don't know which skill applies.",inputSchema:{type:"object",properties:{task:{type:"string",description:"Describe what you want to build."}},required:["task"]}},{name:"suggest_primitive",description:"Use case \u2192 primitive recommendation. E.g. 'confirm a destructive delete' \u2192 DangerZone pattern + Dialog suggestion.",inputSchema:{type:"object",properties:{use_case:{type:"string"}},required:["use_case"]}},{name:"search_components",description:"Fuzzy-search primitives by name / tagline / prop. Returns ranked matches.",inputSchema:{type:"object",properties:{query:{type:"string"}},required:["query"]}},{name:"get_frame_coverage",description:"Verified preview-contract coverage for a component (issue #163). Answers 'is this state actually PROVEN?' \u2014 returns, per contract dimension (variants, tones, sizes, shapes, density, controlled/uncontrolled ownership, disabled/read-only/loading/empty/error/success, async retry/cancel/offline, responsive viewport matrix, RTL, long/localized content, keyboard/focus, accessible name/description/error, reduced motion / coarse touch), whether an EXECUTED case proves it (covered), whether nothing proves it (UNTESTED), or whether it cannot exist (not-applicable, with a reason). UNTESTED IS NOT A PASS: never infer that a component supports a state because an example renders. Call this before telling a user a component 'supports' anything. Omit `name` for the repo-wide summary and the tracked known gaps.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Public export name (e.g. 'Button', 'DataTable', 'CardFooter'). Omit for the repo-wide coverage summary."}}}},{name:"lint_jsx",description:"Heuristic check of a JSX snippet for common violations \u2014 raw `<button>` / `<input>`, `color='error'` on Tag/Badge, missing aria-label, missing source.code override on stories with cell renderers (rule 34), etc.",inputSchema:{type:"object",properties:{jsx:{type:"string"}},required:["jsx"]}}];async function ae(t,a){switch(t){case"list_skills":return he();case"list_primitives":return oe(a.group);case"list_patterns":return be();case"list_anti_ai_tells":return ve(a.category);case"list_redesign_checks":return ke(a.category);case"list_audit_rules":return ye(a.category);case"list_visual_checks":return fe(a.category);case"get_anti_ai_tell":return we(String(a.name??""));case"get_redesign_check":return xe(String(a.symptom??""));case"get_skill_section":return ne(String(a.skill??""),String(a.section??""));case"get_component":return Ce(String(a.name??""),a.verbose===!0);case"get_pattern":return Oe(String(a.name??""));case"get_rule":return Ne(typeof a.number=="number"?a.number:void 0);case"get_vocab":return Re(a.name==null?void 0:String(a.name));case"get_tokens":return Ie(a.category);case"list_consumer_skills":return pe();case"get_consumer_skill":return ue(String(a.skill??""),String(a.section??""));case"route_consumer_task":return ee(String(a.task??""),{consumerOnly:!0});case"draft_bug_report":return me(a);case"check_compatibility":return ge(a.version==null?void 0:String(a.version));case"route_task":return ee(String(a.task??""));case"suggest_primitive":return Ee(String(a.use_case??""));case"search_components":return Pe(String(a.query??""));case"get_frame_coverage":return De(a.name===void 0?void 0:String(a.name));case"lint_jsx":return ze(String(a.jsx??""));default:return`Unknown tool: ${t}`}}function he(){let t=`# Available skills (${x.length})
|
|
4287
|
+
finding and needs no suppression.`,K=[{id:"no-utility-spacing",severity:"error",category:"composition",standard:null,fix:"Remove gap-*/p-*/m-* from your own markup; space siblings with <Flex gap> / <ResponsiveGrid>. Page sections are spaced by <PageContainer> (docs/CONSUMER-RULES.md \xA73)."},{id:"no-utility-layout",severity:"error",category:"composition",standard:null,fix:'Replace className="flex \u2026" / "grid \u2026" with <Flex> (row), <Flex direction="col"> (stack) or <ResponsiveGrid columns>.'},{id:"no-hand-rolled-surface",severity:"warn",category:"composition",standard:null,fix:"A rounded+border/bg div is a fake surface \u2014 use Card, Badge, Avatar, ListRow, Descriptions or EmptyState so height, padding and radius come from tokens."},{id:"sibling-cards-need-flex",severity:"warn",category:"composition",standard:null,fix:'Wrap adjacent <Card>s in <Flex direction="col" gap="lg"> or <ResponsiveGrid>; direct children of PageContainer are spaced by the page already.'},{id:"no-raw-palette-color",severity:"error",category:"tokens",standard:null,fix:"Use semantic tokens (bg-primary, text-muted-foreground), never raw palette (bg-blue-500)."},{id:"no-arbitrary-hex",severity:"error",category:"tokens",standard:null,fix:"No hardcoded hex in className; read design-system color tokens."},{id:"no-arbitrary-spacing",severity:"error",category:"tokens",standard:null,fix:"No p-[13px]/gap-[7px]; use the token scale / <Flex gap> / <PageContainer>."},{id:"no-arbitrary-size",severity:"error",category:"tokens",standard:null,fix:"No w-[37px]/h-[260px]; use token sizes or a sizing prop (min-w-[\u2026] allowed)."},{id:"no-arbitrary-typography",severity:"error",category:"tokens",standard:null,fix:"No text-[20px]/leading-[1.7]; use the golden-ratio type-scale tokens."},{id:"no-arbitrary-radius",severity:"error",category:"tokens",standard:null,fix:"No rounded-[6px]; use rounded-sm/md/lg radius tokens."},{id:"no-off-scale-token-value",severity:"warn",category:"tokens",standard:null,fix:"A design-system knob you override takes a step (style={{ '--card-space-inset': 'var(--space-4)' }}) or a calc() from one (calc(var(--space-4) + 2px)), not a raw 13px. Only axes that HAVE a scale count: space/padding/gap/margin, font-size, radius, icon-size (width/height/size/offset have none yet, so a number there is fine). A value that is genuinely off the grid keeps its literal and says why in place, with a /* scale-exempt: 6px status dot, below --space-1 */ comment on that line or the one above."},{id:"no-dark-color-override",severity:"warn",category:"tokens",standard:null,fix:"Drop dark: color overrides \u2014 semantic tokens already adapt."},{id:"raw-white-black",severity:"warn",category:"tokens",standard:null,fix:"Prefer semantic tokens (text-primary-foreground, bg-background) over raw white/black."},{id:"no-domain-tracking-token",severity:"error",category:"tokens",standard:null,fix:"No package-tracking/domain tokens; use semantic tokens or app theme overrides."},{id:"no-space-xy",severity:"error",category:"tokens",standard:null,fix:"Use <Flex gap> instead of space-x/y-*."},{id:"no-raw-select",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Select> from @godxjp/ui, not a raw <select>."},{id:"no-raw-table",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use the <Table>/<DataTable> family, not a raw <table>."},{id:"no-raw-input",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Input> from @godxjp/ui, not a raw <input>."},{id:"no-raw-textarea",severity:"warn",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Textarea> from @godxjp/ui, not a raw <textarea>."},{id:"no-raw-button",severity:"error",category:"composition",standard:"HTML Living Standard (WHATWG)",fix:"Use <Button> from @godxjp/ui, not a raw <button>."},{id:"card-manual-padding",severity:"error",category:"composition",standard:null,fix:"Wrap the body in <CardContent>; don't hand-roll padding on <Card>."},{id:"card-needs-content",severity:"error",category:"composition",standard:null,fix:"<Card> body must be in <CardContent> (no padding otherwise); flush only for a full-bleed table."},{id:"bare-control-needs-formfield",severity:"warn",category:"composition",standard:"WCAG 2.2 SC 1.3.1 \xB7 3.3.2 \xB7 @godxjp/ui FormField (cardinal rule 227)",fix:"Wrap a labelled control in <FormField label=\u2026> \u2014 it owns label\u2194control id wiring, aria/error, AND the field rhythm; never pair a bare <Label> with an <Input>."},{id:"manual-field-error",severity:"warn",category:"composition",standard:"WCAG 2.2 SC 3.3.1",fix:"Use <FormField error=\u2026>, not a hand-rolled <p class='text-destructive'>."},{id:"manual-field-helper",severity:"warn",category:"composition",standard:null,fix:"Use <FormField helper=\u2026>, not a hand-rolled helper <p>."},{id:"status-tone-not-variant",severity:"error",category:"api",standard:null,fix:"Badge/Tag/StatCard status uses tone, not variant (variant is structural)."},{id:"value-callback-on-value-change",severity:"error",category:"api",standard:null,fix:"Abstract value components use onValueChange, not onChange."},{id:"icon-button-needs-name",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 4.1.2 \xB7 1.1.1 \xB7 WAI-ARIA 1.2",fix:"Add aria-label={t('\u2026')} to <Button size='icon'>; the glyph is aria-hidden."},{id:"img-needs-alt",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 1.1.1 \xB7 HTML Living Standard",fix:"Add alt to every <img> (alt='' if decorative); prefer <Avatar>/<AspectRatio>."},{id:"no-positive-tabindex",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 2.4.3 \xB7 WAI-ARIA APG",fix:"Use tabIndex 0 or -1 only; never positive \u2014 it breaks focus order."},{id:"hand-rolled-close-glyph",severity:"warn",category:"a11y",standard:"WAI-ARIA 1.2 (dialog) \xB7 WCAG 2.2 SC 4.1.2",fix:"Pass onDismiss to <Alert>, or use <Dialog>/<Sheet>'s built-in labelled close \u2014 not a bare \u2715."},{id:"no-emoji-in-ui",severity:"warn",category:"i18n",standard:"Unicode UTS #51 \xB7 WCAG 2.2 SC 1.1.1",fix:"No emoji in product UI; quiet i18n copy + Lucide icon + Badge tone."},{id:"no-emoji-flag",severity:"warn",category:"i18n",standard:"ISO 3166-1 \xB7 ECMA-402 Intl.DisplayNames \xB7 Unicode UTS #51",fix:"Derive country names from Intl.DisplayNames; no emoji flags."},{id:"hardcoded-currency",severity:"warn",category:"i18n",standard:"ISO 4217 \xB7 ECMA-402 Intl.NumberFormat",fix:"Format money with Intl.NumberFormat({ style: 'currency', currency }), not \xA5{amount}."},{id:"raw-intl-date",severity:"warn",category:"i18n",standard:"ISO 8601 \xB7 IANA tz \xB7 ECMA-402 Intl.DateTimeFormat",fix:"Use formatDate from @godxjp/ui/datetime, not hand-built or locale-default dates."},{id:"no-physical-direction",severity:"warn",category:"rtl",standard:"W3C CSS Logical Properties L1 \xB7 WCAG 2.2 (1.3.2)",fix:"Use logical utilities (ms-/me-/ps-/pe-, start-/end-, text-start/end, border-s/e, rounded-s/e)."},{id:"no-em-dash-in-copy",severity:"warn",category:"copy",standard:"@godxjp/ui reference-design typography",fix:"No em-dash (\u2014) in copy; use a middot \xB7 or two calm sentences."}];function X(t){return t?K.filter(a=>a.category===t):K}var Q="node node_modules/@godxjp/ui/scripts/visual-audit.mjs <baseUrl> [route \u2026] (optional peers, TESTED range: playwright >=1.55 <2 [1.61.1] + @axe-core/playwright >=4.10 <5 [4.12.1] + axe-core >=4.10 <5 [4.12.1] + a chromium via `playwright install chromium`; --strict for a CI gate, --format json ALWAYS emits valid JSON with a status of ok|partial|error separating infra errors[] from product findings[], --rules to print this catalog)",J=[{id:"css-layers-missing",severity:"error",category:"layout",standard:"@godxjp/ui styles contract (styles / styles/core are the only entries)",fix:"Import `@godxjp/ui/styles` (or `styles/core` without fonts); never cherry-pick *-layout.css \u2014 a missing layer renders naked menus and unsized Select rows."},{id:"control-height-mismatch",severity:"error",category:"layout",standard:"@godxjp/ui control tier (--control-height) \xB7 Nielsen consistency heuristic",fix:"Every control in one row must share --control-height; replace hand-rolled pills with Avatar/Button/Badge, never restyle a control's height."},{id:"sibling-card-gap",severity:"error",category:"layout",standard:"@godxjp/ui spacing scale (docs/SPACING.md)",fix:'Adjacent Cards need one space step between them \u2014 <Flex direction="col" gap>, <ResponsiveGrid>, or direct children of PageContainer.'},{id:"row-content-starved",severity:"warn",category:"layout",standard:"WCAG 2.2 SC 1.4.10 reflow",fix:`A sibling (a w-full SelectTrigger) takes the row's width and truncates its neighbours \u2014 give the Select width="auto" or move it out of the row.`},{id:"axe-violations",severity:"warn",category:"a11y",standard:"WCAG 2.2 A/AA \xB7 WAI-ARIA 1.2 (axe-core engine)",fix:"Fix each axe node \u2014 contrast (1.4.3), name/role/value (4.1.2), ARIA, landmarks. Runs on the REAL DOM, catching what static analysis cannot."},{id:"target-size-min",severity:"warn",category:"a11y",standard:"WCAG 2.2 SC 2.5.8 (24\xD724 AA) \xB7 2.5.5 (44\xD744 AAA)",fix:"Interactive targets must be \u226524\xD724 CSS px; size from the --control-height tier."},{id:"oversaturated-accent",severity:"warn",category:"color",standard:"@godxjp/ui reference-design \u6E0B\u307F (OKLCH chroma \u2264 0.18)",fix:"Desaturate brand/primary surfaces (OKLCH chroma \u2264 0.18); read --primary tokens, no raw vivid bars."},{id:"emoji-rendered",severity:"warn",category:"i18n",standard:"Unicode UTS #51 \xB7 WCAG 2.2 SC 1.1.1",fix:"Remove emoji from rendered product text; quiet i18n copy + Lucide icon + Badge tone."},{id:"alert-controls-misplaced",severity:"warn",category:"layout",standard:"@godxjp/ui Alert anatomy \xB7 WAI-ARIA 1.2 \xB7 WCAG 2.2 SC 4.1.2",fix:"Use <Alert>: one leading tone icon, <Alert.Actions> trailing-right normal width, onDismiss \xD7 top-right, one horizontal row."}];function Z(t){return t?J.filter(a=>a.category===t):J}var m={name:"@godxjp/ui-mcp",version:"21.0.0",godxUiCompatibility:"21.0.x",description:"Model Context Protocol server for @godxjp/ui \u2014 gives Claude Code / Codex CLI / Cursor / any MCP-aware agent live access to the component catalog, prop vocabulary, design tokens, 45 cardinal rules, copy-paste-ready patterns, 12 design / taste skills synthesised from Leonxlnx/taste-skill, 20+ anti-AI-tell patterns, and a 50-check redesign audit \u2014 token-efficient (list \u2192 drill-down).",type:"module",main:"./dist/index.js",module:"./dist/index.js",types:"./dist/index.d.ts",bin:{"godx-ui-mcp":"./dist/index.js"},files:["dist","README.md"],publishConfig:{registry:"https://registry.npmjs.org/",access:"public"},repository:{type:"git",url:"git+https://github.com/godx-jp/godxjp-ui.git",directory:"mcp"},homepage:"https://github.com/godx-jp/godxjp-ui/tree/main/mcp#readme",license:"Apache-2.0",scripts:{build:"tsup",dev:"tsup --watch",start:"node dist/index.js",inspect:"npx @modelcontextprotocol/inspector node dist/index.js","type-check":"tsc --noEmit",test:"vitest run",prepublishOnly:"npm run build"},dependencies:{"@modelcontextprotocol/sdk":"^1.29.0",zod:"^4.4.3"},devDependencies:{"@types/node":"^22.10.0",tsup:"^8.5.1",typescript:"^6.0.3",vitest:"^4.1.6"},keywords:["mcp","model-context-protocol","godxjp","ui","design-system","react","claude","cursor"],author:"GoDX (https://godx.jp)",bugs:{url:"https://github.com/godx-jp/godxjp-ui/issues"}};var te=[{name:"list_skills",description:"List every design/taste skill bundled by this MCP (id + name + whenToUse + section ids). Use FIRST to discover skills; then `get_skill_section` to drill in.",inputSchema:{type:"object",properties:{}}},{name:"list_primitives",description:"List every @godxjp/ui primitive/composite/shell (group + tagline per entry). Optionally filter by group. Then `get_component` for one's full API.",inputSchema:{type:"object",properties:{group:{type:"string",enum:["general","layout","data-display","data-entry","feedback","navigation","composites","shell","providers"]}}}},{name:"list_patterns",description:"List every canonical copy-paste code pattern (signup-form, settings-page, data-table-page, async-data-state, confirm-destructive, \u2026); common aliases resolve too. Use before `get_pattern`.",inputSchema:{type:"object",properties:{}}},{name:"list_anti_ai_tells",description:"List every AI-tell pattern to AVOID (optionally by category). Use to self-audit a design before shipping; then `get_anti_ai_tell` for the fix.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["visual","layout","copy","interaction","imagery","structure"]}}}},{name:"list_redesign_checks",description:"List the redesign audit checklist (50+ checks; optionally by category). Use when auditing an existing project; then `get_redesign_check` for a symptom's fix.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["typography","color-surface","layout","interactivity","content","components","iconography","code-quality","omissions"]}}}},{name:"list_audit_rules",description:"List the LOCAL static ui-audit rules (scripts/ui-audit.mjs) to run BEFORE any visual review \u2014 each cites the standard it enforces (WCAG/WAI-ARIA/Intl/ISO/IANA/CSS-Logical) + a fix + the run command. Optionally by category.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["tokens","composition","api","a11y","i18n","rtl","copy"]}}}},{name:"list_visual_checks",description:"List the RUNTIME visual-audit checks (scripts/visual-audit.mjs \u2014 Playwright + axe-core) to run against the RUNNING app: contrast/ARIA (axe), target size, rendered-accent chroma, DOM emoji, banner layout. Needs a browser (vs list_audit_rules, static). Optionally by category.",inputSchema:{type:"object",properties:{category:{type:"string",enum:["a11y","color","i18n","layout"]}}}},{name:"get_anti_ai_tell",description:"Fetch ONE anti-AI-tell \u2014 full body + concrete fix. Use after `list_anti_ai_tells`.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Exact tell name from list_anti_ai_tells."}},required:["name"]}},{name:"get_redesign_check",description:"Fetch redesign check(s) matching a symptom snippet. Returns full fix + UI note. Use after `list_redesign_checks`.",inputSchema:{type:"object",properties:{symptom:{type:"string",description:"Fragment of the symptom text (e.g. 'Inter everywhere' / '100vh')."}},required:["symptom"]}},{name:"get_skill_section",description:"Fetch ONE section of ONE skill \u2014 token-efficient. E.g. `skill='soft', section='double-bezel'`. Use after `list_skills` narrowed the relevant skill + section.",inputSchema:{type:"object",properties:{skill:{type:"string",description:"Skill id (e.g. 'soft', 'minimalist', 'taste')."},section:{type:"string",description:"Section id within that skill."}},required:["skill","section"]}},{name:"get_component",description:"Full guide for one @godxjp/ui component \u2014 import path, props/types/defaults, HOW to use it (DO/DON'T), WHEN to reach for it (use cases), related components (don't reinvent/confuse), a copy-paste example, story path, and cardinal rules. Use this before hand-rolling anything. Design-token knobs are listed compactly (name+default); pass `verbose:true` for what each token controls.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Component name (e.g. 'Button', 'DataTable')."},verbose:{type:"boolean",description:"Include the full design-token table with a 'what it controls' description per token. Default false (compact token+default only) to save context."}},required:["name"]}},{name:"get_pattern",description:"Full code snippet for one canonical pattern \u2014 copy-paste-ready.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Pattern slug (use list_patterns first)."}},required:["name"]}},{name:"get_rule",description:"Read one cardinal rule from CLAUDE.md (by number) OR all if no number.",inputSchema:{type:"object",properties:{number:{type:"number",description:"Rule number (1-N)."}}}},{name:"get_vocab",description:"Read shared prop-vocabulary type (`SizeProp`, `StatusProp`, `ColorProp`, `LoadingProp`, etc.) OR all if no name.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Vocab type name."}}}},{name:"get_tokens",description:"Read design tokens, optionally filtered by tier category (primitive / semantic / component).",inputSchema:{type:"object",properties:{category:{type:"string",enum:["primitive","semantic","component"]}}}},{name:"list_consumer_skills",description:"List the design skills relevant to an app-dev BUILDING WITH @godxjp/ui (audience consumer/both). Hides core library-maintenance skills. START HERE if you import @godxjp/ui and want guidance (design-to-page, compose-a-screen, taste, \u2026). Returns id + name + whenToUse + section ids.",inputSchema:{type:"object",properties:{}}},{name:"get_consumer_skill",description:"Fetch ONE section of ONE consumer-facing skill. Same as get_skill_section but refuses core-only skills (steers app-devs away from library-maintenance material). Use after list_consumer_skills / route_consumer_task.",inputSchema:{type:"object",properties:{skill:{type:"string",description:"Consumer skill id (e.g. 'design-to-page', 'compose-a-screen')."},section:{type:"string",description:"Section id within that skill."}},required:["skill"]}},{name:"route_consumer_task",description:"Natural-language task \u2192 consumer skill+section pointer. Like route_task but only points to consumer-facing skills (never core library-maintenance). Use FIRST when you're building an app with @godxjp/ui.",inputSchema:{type:"object",properties:{task:{type:"string",description:"Describe what you want to build."}},required:["task"]}},{name:"draft_bug_report",description:"When @godxjp/ui ITSELF is at fault (missing token, a primitive lacking the controlled-vocabulary prop, a real a11y/behaviour bug, a wrong catalog example) and you cannot follow a rule \u2014 DON'T fake a workaround. This drafts a detailed GitHub issue body + a copy-paste `gh issue create` command so you can report it. Prints the command only; never runs gh.",inputSchema:{type:"object",properties:{summary:{type:"string",description:"One-line title of the bug / blocked rule."},repro:{type:"string",description:"Minimal steps or code to reproduce."},expected:{type:"string",description:"What SHOULD happen (per the rule/spec)."},actual:{type:"string",description:"What actually happens."},component:{type:"string",description:"Affected component name, if any (links to get_component)."},rule:{type:"number",description:"Cardinal rule number that can't be followed, if any."},version:{type:"string",description:"Installed @godxjp/ui version (e.g. '12.1.0')."},env:{type:"string",description:"Environment (browser/OS/framework), if relevant."}},required:["summary"]}},{name:"check_compatibility",description:"Report whether the @godxjp/ui version installed in the target project matches THIS catalog (which describes one release train). A mismatched minor means the props/tokens/patterns may describe a build they never installed (#140). Pass the installed version (`npm ls @godxjp/ui`); call it at the START of a consumer session.",inputSchema:{type:"object",properties:{version:{type:"string",description:"Installed @godxjp/ui version in the target project, e.g. '16.10.0'. Omit to just read the catalog's own version + compatible range."}}}},{name:"route_task",description:"Natural-language task \u2192 skill+section pointer (e.g. 'design a premium agency hero' \u2192 soft/vibe-archetypes). Use FIRST when you don't know which skill applies.",inputSchema:{type:"object",properties:{task:{type:"string",description:"Describe what you want to build."}},required:["task"]}},{name:"suggest_primitive",description:"Use case \u2192 primitive recommendation. E.g. 'confirm a destructive delete' \u2192 DangerZone pattern + Dialog suggestion.",inputSchema:{type:"object",properties:{use_case:{type:"string"}},required:["use_case"]}},{name:"search_components",description:"Fuzzy-search primitives by name / tagline / prop. Returns ranked matches.",inputSchema:{type:"object",properties:{query:{type:"string"}},required:["query"]}},{name:"get_frame_coverage",description:"Verified preview-contract coverage for a component (issue #163). Answers 'is this state actually PROVEN?' \u2014 returns, per contract dimension (variants, tones, sizes, shapes, density, controlled/uncontrolled ownership, disabled/read-only/loading/empty/error/success, async retry/cancel/offline, responsive viewport matrix, RTL, long/localized content, keyboard/focus, accessible name/description/error, reduced motion / coarse touch), whether an EXECUTED case proves it (covered), whether nothing proves it (UNTESTED), or whether it cannot exist (not-applicable, with a reason). UNTESTED IS NOT A PASS: never infer that a component supports a state because an example renders. Call this before telling a user a component 'supports' anything. Omit `name` for the repo-wide summary and the tracked known gaps.",inputSchema:{type:"object",properties:{name:{type:"string",description:"Public export name (e.g. 'Button', 'DataTable', 'CardFooter'). Omit for the repo-wide coverage summary."}}}},{name:"lint_jsx",description:"Heuristic check of a JSX snippet for common violations \u2014 raw `<button>` / `<input>`, `color='error'` on Tag/Badge, missing aria-label, missing source.code override on stories with cell renderers (rule 34), etc.",inputSchema:{type:"object",properties:{jsx:{type:"string"}},required:["jsx"]}}];async function ae(t,a){switch(t){case"list_skills":return he();case"list_primitives":return oe(a.group);case"list_patterns":return be();case"list_anti_ai_tells":return ve(a.category);case"list_redesign_checks":return ke(a.category);case"list_audit_rules":return ye(a.category);case"list_visual_checks":return fe(a.category);case"get_anti_ai_tell":return we(String(a.name??""));case"get_redesign_check":return xe(String(a.symptom??""));case"get_skill_section":return ne(String(a.skill??""),String(a.section??""));case"get_component":return Ce(String(a.name??""),a.verbose===!0);case"get_pattern":return Oe(String(a.name??""));case"get_rule":return Ne(typeof a.number=="number"?a.number:void 0);case"get_vocab":return Re(a.name==null?void 0:String(a.name));case"get_tokens":return Ee(a.category);case"list_consumer_skills":return pe();case"get_consumer_skill":return ue(String(a.skill??""),String(a.section??""));case"route_consumer_task":return ee(String(a.task??""),{consumerOnly:!0});case"draft_bug_report":return me(a);case"check_compatibility":return ge(a.version==null?void 0:String(a.version));case"route_task":return ee(String(a.task??""));case"suggest_primitive":return Ie(String(a.use_case??""));case"search_components":return Pe(String(a.query??""));case"get_frame_coverage":return De(a.name===void 0?void 0:String(a.name));case"lint_jsx":return ze(String(a.jsx??""));default:return`Unknown tool: ${t}`}}function he(){let t=`# Available skills (${x.length})
|
|
4226
4288
|
|
|
4227
4289
|
`;t+="Each is tagged `[audience]` \u2014 `core` = building @godxjp/ui itself, `consumer` = building an app with it, `both`. App-devs: use `list_consumer_skills` to hide core material.\n\n",t+='Use `get_skill_section skill="..." section="..."` to drill in.\n\n';for(let a of x)t+=`## ${a.id} \u2014 ${a.name} \`[${a.audience}]\`
|
|
4228
4290
|
`,t+=`**When to use:** ${a.whenToUse}
|
|
@@ -4350,7 +4412,7 @@ ${a.body}
|
|
|
4350
4412
|
## Fix
|
|
4351
4413
|
|
|
4352
4414
|
${a.fix}
|
|
4353
|
-
`}function ke(t){let a=t?_(t):
|
|
4415
|
+
`}function ke(t){let a=t?_(t):I,e=`# Redesign audit${t?` \u2014 ${t}`:""} (${a.length} checks)
|
|
4354
4416
|
|
|
4355
4417
|
`;t||(e+=`## Fix priority
|
|
4356
4418
|
${j.map(n=>n).join(`
|
|
@@ -4363,7 +4425,7 @@ ${W.map(n=>`- ${n}`).join(`
|
|
|
4363
4425
|
`),e+='_Compact list of symptoms. Use `get_redesign_check symptom="<text snippet>"` for the full fix + UI note._\n\n';let o=a.reduce((n,i)=>((n[i.category]??=[]).push(i),n),{});for(let[n,i]of Object.entries(o)){e+=`## ${n}
|
|
4364
4426
|
`;for(let r of i)e+=`- ${r.symptom}
|
|
4365
4427
|
`;e+=`
|
|
4366
|
-
`}return e}function xe(t){let a=t.trim().toLowerCase();if(!a)return"Pass `symptom` \u2014 a fragment matching the audit check symptom (e.g. 'Inter everywhere' / '100vh' / 'Acme').";let e=
|
|
4428
|
+
`}return e}function xe(t){let a=t.trim().toLowerCase();if(!a)return"Pass `symptom` \u2014 a fragment matching the audit check symptom (e.g. 'Inter everywhere' / '100vh' / 'Acme').";let e=I.filter(n=>n.symptom.toLowerCase().includes(a)||n.fix.toLowerCase().includes(a));if(!e.length)return`No redesign check matches "${t}". Use \`list_redesign_checks\` to see all.`;let o=`# Redesign checks matching "${t}" (${e.length})
|
|
4367
4429
|
|
|
4368
4430
|
`;for(let n of e)o+=`## ${n.category}
|
|
4369
4431
|
|
|
@@ -4478,7 +4540,7 @@ ${e.example}
|
|
|
4478
4540
|
`:"")+"Call `get_frame_coverage` with no name for the repo-wide summary.\n"}return`# ${e.name} \u2014 contract coverage
|
|
4479
4541
|
|
|
4480
4542
|
**Group:** ${e.group}
|
|
4481
|
-
${re(e,e.name)}`}function Oe(t){let a=
|
|
4543
|
+
${re(e,e.name)}`}function Oe(t){let a=E(t);if(!a){let e=H(t);if(e.length===0)return`Pattern "${t}" not found.`;let o=`Pattern "${t}" not found. Closest:
|
|
4482
4544
|
`;for(let n of e)o+=`- ${n.name} \u2014 ${n.tagline}
|
|
4483
4545
|
`;return o}return`# Pattern: ${a.name}
|
|
4484
4546
|
|
|
@@ -4516,7 +4578,7 @@ ${e.concept}
|
|
|
4516
4578
|
|
|
4517
4579
|
Values: ${e.values.map(o=>`\`${o}\``).join(" | ")}
|
|
4518
4580
|
|
|
4519
|
-
`;return a}function
|
|
4581
|
+
`;return a}function Ee(t){let a=t?R(t):T;if(a.length===0)return`No tokens${t?` in "${t}"`:""}.`;let e=`# Design tokens${t?` \u2014 ${t}`:""}
|
|
4520
4582
|
|
|
4521
4583
|
`,o=a.reduce((n,i)=>((n[i.category]??=[]).push(i),n),{});for(let[n,i]of Object.entries(o)){e+=`## ${n}
|
|
4522
4584
|
|
|
@@ -4529,7 +4591,7 @@ Values: ${e.values.map(o=>`\`${o}\``).join(" | ")}
|
|
|
4529
4591
|
`;for(let n of e)o+=`- **skill:** \`${n.skill}\`, **section:** \`${n.section}\`
|
|
4530
4592
|
${n.why}
|
|
4531
4593
|
`,n.alsoSee?.length&&(o+=` _Also see:_ ${n.alsoSee.map(i=>`\`${i}\``).join(", ")}
|
|
4532
|
-
`);return o+='\nFetch with: `get_skill_section skill="X" section="Y"`',o}function
|
|
4594
|
+
`);return o+='\nFetch with: `get_skill_section skill="X" section="Y"`',o}function Ie(t){let a=t.trim().toLowerCase();if(!a)return"Describe your use case.";let e=[],o=(i,r,s,g=2)=>{i.some(p=>a.includes(p))&&e.push({component:r,rationale:s,score:g})};if(o(["form","submit","validation","register","sign up"],"Form + FormField","RHF + zod composition.",5),o(["table","rows","columns"],"DataTable / Table","DataTable for chrome (toolbar+pagination+batch). Table for slim primitive.",5),o(["modal","dialog","confirm"],"Dialog / AlertDialog","Radix Dialog. AlertDialog for destructive.",4),o(["drawer","side panel","sheet"],"Sheet","Side panel for filters/settings.",4),o(["toast","notification"],"toast / Toaster","Sonner-backed.",4),o(["loading","saving","spinner"],"Spinner / Form loading prop","Spinner=active work, Skeleton=init fetch.",3),o(["alert","banner"],"Alert","5 semantic colors \xD7 outlined/banner.",3),o(["select","dropdown"],"Select / AutoComplete","Select=discrete options, AutoComplete=free-text+suggestions.",3),o(["filter"],"Toolbar/ToolbarGroup + pattern 'filter-bar' (\u2192 data-table-page)","Standalone Toolbar filter bar above a table; see the data-table-page pattern.",4),o(["delete","destructive"],"Pattern 'confirm-destructive'","Card accent='destructive' + typed-name confirm.",4),!e.length)return`No direct match for "${t}". Try \`list_primitives\` or \`search_components\`.`;e.sort((i,r)=>r.score-i.score);let n=`# Suggestions for "${t}"
|
|
4533
4595
|
|
|
4534
4596
|
`;for(let i of e)n+=`- **${i.component}** \u2014 ${i.rationale}
|
|
4535
4597
|
`;return n}function Pe(t){let a=t.trim().toLowerCase();if(!a)return oe();let e=a.split(/\s+/).filter(r=>r.length>=2),o=e.length?e:[a],n=v.map(r=>{let s=r.name.toLowerCase(),g=r.tagline.toLowerCase(),p=(r.useCases??[]).join(" ").toLowerCase(),d=(r.usage??[]).join(" ").toLowerCase(),f=(r.related??[]).join(" ").toLowerCase(),O=r.props.map(c=>c.name.toLowerCase()),l=0;s===a&&(l+=100);for(let c of o)s.includes(c)&&(l+=5),g.includes(c)&&(l+=3),p.includes(c)&&(l+=2),d.includes(c)&&(l+=1),f.includes(c)&&(l+=1),r.group.includes(c)&&(l+=1),O.some(P=>P.includes(c))&&(l+=1);return{c:r,score:l}}).filter(r=>r.score>0).sort((r,s)=>s.score-r.score).slice(0,12);if(!n.length)return`No matches for "${t}". Try \`list_primitives\` or a broader term (e.g. a use-case word like "date", "select", "confirm").`;let i=`# Search "${t}" \u2014 ${n.length} match${n.length>1?"es":""}
|
|
@@ -4549,7 +4611,7 @@ ${e.body}
|
|
|
4549
4611
|
`;return a}if(t.startsWith("godx-ui://rules/")){let a=Number(t.slice(16)),e=C(a);if(!e)throw new Error(`Rule not found: ${a}`);return`# Rule ${e.number} \u2014 ${e.title}
|
|
4550
4612
|
|
|
4551
4613
|
${e.body}
|
|
4552
|
-
`}if(t==="godx-ui://patterns")return JSON.stringify(b.map(({name:a,tagline:e,tags:o})=>({name:a,tagline:e,tags:o})),null,2);if(t.startsWith("godx-ui://patterns/")){let a=t.slice(19),e=
|
|
4614
|
+
`}if(t==="godx-ui://patterns")return JSON.stringify(b.map(({name:a,tagline:e,tags:o})=>({name:a,tagline:e,tags:o})),null,2);if(t.startsWith("godx-ui://patterns/")){let a=t.slice(19),e=E(a);if(!e)throw new Error(`Pattern not found: ${a}`);return`# ${e.name}
|
|
4553
4615
|
|
|
4554
4616
|
${e.tagline}
|
|
4555
4617
|
|