Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(ui): establish a role-named type scale and migrate ad-hoc font sizes (MUL-5451) (#6136)
Jiayuan Zhang7803a5b9ea80
diff --git a/apps/desktop/src/renderer/src/App.tsx b/apps/desktop/src/renderer/src/App.tsxindex 4be152db30..b88866c0af 100644--- a/apps/desktop/src/renderer/src/App.tsx+++ b/apps/desktop/src/renderer/src/App.tsx@@ -328,11 +328,11 @@ function BlockingRuntimeConfigError({ message }: { message: string }) {return (<div className="flex h-screen items-center justify-center bg-background p-8 text-foreground"><div className="max-w-xl rounded-lg border bg-card p-6 shadow-sm">- <h1 className="text-lg font-semibold">Desktop configuration error</h1>- <p className="mt-3 text-sm text-muted-foreground">+ <h1 className="text-title font-semibold">Desktop configuration error</h1>+ <p className="mt-3 text-body text-muted-foreground">Multica Desktop could not load <code>~/.multica/desktop.json</code>. Fix or remove the file and restart the app.</p>- <pre className="mt-4 whitespace-pre-wrap rounded-md bg-muted p-3 text-xs text-muted-foreground">+ <pre className="mt-4 whitespace-pre-wrap rounded-md bg-muted p-3 text-caption text-muted-foreground">{message}</pre></div>diff --git a/apps/desktop/src/renderer/src/components/daemon-panel.tsx b/apps/desktop/src/renderer/src/components/daemon-panel.tsxindex 74a84be7c5..b6feade61a 100644--- a/apps/desktop/src/renderer/src/components/daemon-panel.tsx+++ b/apps/desktop/src/renderer/src/components/daemon-panel.tsx@@ -249,7 +249,7 @@ export function DaemonPanel({<div className="flex shrink-0 items-center justify-between gap-3 border-b px-4 py-3"><div className="flex min-w-0 items-center gap-2"><Server className="size-4 shrink-0 text-muted-foreground" />- <DialogTitle className="text-sm font-medium">+ <DialogTitle className="text-body font-medium">Local daemon logs</DialogTitle><ContextBadge status={status} runtimeCount={runtimeCount} />@@ -273,7 +273,7 @@ export function DaemonPanel({value={search}onChange={(e) => setSearch(e.target.value)}placeholder="Search…"- className="h-7 w-full rounded-md border bg-background pl-7 pr-2 text-xs placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring"+ className="h-7 w-full rounded-md border bg-background pl-7 pr-2 text-caption placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring"/></div>@@ -322,7 +322,7 @@ export function DaemonPanel({<divref={logContainerRef}onScroll={handleScroll}- className="min-h-0 flex-1 overflow-y-auto bg-muted/20 px-2 py-1 font-mono text-xs"+ className="min-h-0 flex-1 overflow-y-auto bg-muted/20 px-2 py-1 font-mono text-caption">{displayed.length === 0 ? (<EmptyState@@ -362,7 +362,7 @@ export function DaemonPanel({communicated implicitly by the presence of the Jump-to-latestbutton below; an explicit "Paused" word read as "log stream ispaused" (it isn't — data keeps flowing into the buffer). */}- <div className="flex shrink-0 items-center justify-between border-t bg-muted/30 px-4 py-1.5 text-xs text-muted-foreground">+ <div className="flex shrink-0 items-center justify-between border-t bg-muted/30 px-4 py-1.5 text-caption text-muted-foreground"><span className="tabular-nums">Showing {filtered.length} of {logs.length}{logs.length === MAX_LOG_LINES && (@@ -398,7 +398,7 @@ function ContextBadge({}) {const isRunning = status.state === "running";return (- <span className="inline-flex items-center gap-1.5 rounded-md border bg-background px-1.5 py-0.5 text-xs font-normal">+ <span className="inline-flex items-center gap-1.5 rounded-md border bg-background px-1.5 py-0.5 text-caption font-normal"><spanclassName={cn("size-1.5 rounded-full",@@ -445,7 +445,7 @@ function FilterChip({type="button"onClick={onClick}className={cn(- "inline-flex h-7 items-center gap-1 rounded-md border bg-background px-2 text-xs transition-colors hover:bg-accent",+ "inline-flex h-7 items-center gap-1 rounded-md border bg-background px-2 text-caption transition-colors hover:bg-accent",active? variant? LEVEL_BADGE_CLASS[variant]@@ -470,7 +470,7 @@ function LevelBadge({ level }: { level: LogLevel }) {return (<spanclassName={cn(- "inline-flex h-4 shrink-0 items-center rounded border px-1 text-[10px] font-medium uppercase tracking-wide",+ "inline-flex h-4 shrink-0 items-center rounded border px-1 text-micro font-medium uppercase tracking-wide",LEVEL_BADGE_CLASS[level],)}>@@ -574,7 +574,7 @@ function GroupRows({<buttontype="button"onClick={onToggle}- className="my-0.5 ml-2 inline-flex w-fit items-center gap-2 rounded border border-dashed border-muted-foreground/25 bg-muted/30 px-2 py-0.5 text-[11px] italic text-muted-foreground/70 hover:bg-muted/60 hover:text-foreground"+ className="my-0.5 ml-2 inline-flex w-fit items-center gap-2 rounded border border-dashed border-muted-foreground/25 bg-muted/30 px-2 py-0.5 text-micro italic text-muted-foreground/70 hover:bg-muted/60 hover:text-foreground"><span>···</span><span>@@ -608,7 +608,7 @@ function GroupRows({<buttontype="button"onClick={onToggle}- className="my-0.5 ml-2 inline-flex w-fit items-center gap-2 rounded border border-dashed border-muted-foreground/25 px-2 py-0.5 text-[11px] italic text-muted-foreground/60 hover:text-foreground"+ className="my-0.5 ml-2 inline-flex w-fit items-center gap-2 rounded border border-dashed border-muted-foreground/25 px-2 py-0.5 text-micro italic text-muted-foreground/60 hover:text-foreground"><span>···</span><span>collapse {rest.length + 1} repeated</span>@@ -643,8 +643,8 @@ function EmptyState({}return (<div className="flex h-full flex-col items-center justify-center gap-1 text-center text-muted-foreground/70">- <p className="text-sm">{title}</p>- <p className="text-xs text-muted-foreground/50">{subtitle}</p>+ <p className="text-body">{title}</p>+ <p className="text-caption text-muted-foreground/50">{subtitle}</p></div>);}diff --git a/apps/desktop/src/renderer/src/components/daemon-runtime-card.tsx b/apps/desktop/src/renderer/src/components/daemon-runtime-card.tsxindex 691ab12efb..a3d5f11041 100644--- a/apps/desktop/src/renderer/src/components/daemon-runtime-card.tsx+++ b/apps/desktop/src/renderer/src/components/daemon-runtime-card.tsx@@ -150,7 +150,7 @@ export function DaemonRuntimeActions() {View logs</Button>{externallyManaged ? (- <span className="inline-flex items-center gap-1.5 text-xs text-muted-foreground">+ <span className="inline-flex items-center gap-1.5 text-caption text-muted-foreground"><Info className="size-3.5 shrink-0" />Managed outside the app</span>@@ -204,7 +204,7 @@ export function DaemonRuntimeActions() {{isAuthExpired && (<>- <span className="inline-flex items-center gap-1.5 text-xs text-destructive">+ <span className="inline-flex items-center gap-1.5 text-caption text-destructive"><AlertCircle className="size-3.5 shrink-0" />Sign-in expired</span>@@ -271,10 +271,10 @@ function StopConfirmDialog({<AlertCircle className="h-5 w-5 text-destructive" /></div><DialogHeader className="flex-1 gap-1">- <DialogTitle className="text-sm font-semibold">+ <DialogTitle className="text-body font-semibold">Stop daemon with {affectedCount} active task{plural}?</DialogTitle>- <DialogDescription className="text-xs leading-relaxed">+ <DialogDescription className="text-caption leading-relaxed">{affectedCount} task{plural} {verb} currently running on thisdevice. Stopping now will interrupt {affectedCount === 1 ? "it" : "them"}{" "}— affected tasks get marked <strong>failed</strong> once thediff --git a/apps/desktop/src/renderer/src/components/daemon-settings-tab.tsx b/apps/desktop/src/renderer/src/components/daemon-settings-tab.tsxindex 13d3911aee..f14639e2d2 100644--- a/apps/desktop/src/renderer/src/components/daemon-settings-tab.tsx+++ b/apps/desktop/src/renderer/src/components/daemon-settings-tab.tsx@@ -31,11 +31,11 @@ function DiagnosticsRow({}) {return (<div className="grid grid-cols-[140px_minmax(0,1fr)] items-baseline gap-3 py-1.5">- <span className="text-xs text-muted-foreground">{label}</span>+ <span className="text-caption text-muted-foreground">{label}</span><spanclassName={cn(- "min-w-0 truncate text-sm",- mono && "font-mono text-xs",+ "min-w-0 truncate text-body",+ mono && "font-mono text-caption",)}title={typeof value === "string" ? value : undefined}>@@ -99,10 +99,10 @@ export function DaemonSettingsTab() {<div className="mt-4 flex items-start gap-3 rounded-lg border border-destructive/40 bg-destructive/5 px-4 py-3"><AlertCircle className="mt-0.5 size-4 shrink-0 text-destructive" /><div className="min-w-0 flex-1">- <p className="text-sm font-medium text-destructive">+ <p className="text-body font-medium text-destructive">Sign-in expired</p>- <p className="mt-0.5 text-sm text-muted-foreground">+ <p className="mt-0.5 text-body text-muted-foreground">The local daemon couldn't authenticate, so this devicecan't take tasks. Sign in again to restore it.</p>@@ -122,12 +122,12 @@ export function DaemonSettingsTab() {{externallyManaged && (<div className="mt-4 flex items-start gap-3 rounded-lg border bg-muted/30 px-4 py-3"><Info className="mt-0.5 size-4 shrink-0 text-muted-foreground" />- <p className="min-w-0 text-sm text-muted-foreground">+ <p className="min-w-0 text-body text-muted-foreground">This device's daemon runs outside the app — for example insideWSL2 — so the app can't start or stop it. Start or stop it fromthat environment with{" "}- <code className="font-mono text-xs">multica daemon start</code> /{" "}- <code className="font-mono text-xs">multica daemon stop</code>.+ <code className="font-mono text-caption">multica daemon start</code> /{" "}+ <code className="font-mono text-caption">multica daemon stop</code>.</p></div>)}diff --git a/apps/desktop/src/renderer/src/components/issue-window.tsx b/apps/desktop/src/renderer/src/components/issue-window.tsxindex cbd2c370d4..821d30b0c0 100644--- a/apps/desktop/src/renderer/src/components/issue-window.tsx+++ b/apps/desktop/src/renderer/src/components/issue-window.tsx@@ -98,8 +98,8 @@ function IssueWindowUnavailable() {<AlertTriangle className="size-6" aria-hidden="true" /></div><div className="space-y-1">- <h1 className="text-lg font-semibold">Issue unavailable</h1>- <p className="text-sm text-muted-foreground">+ <h1 className="text-title font-semibold">Issue unavailable</h1>+ <p className="text-body text-muted-foreground">This workspace is no longer available in your account.</p></div>@@ -125,8 +125,8 @@ function IssueWindowRouteError() {<AlertTriangle className="size-6" aria-hidden="true" /></div><div className="space-y-1">- <h1 className="text-lg font-semibold">Something went wrong</h1>- <p className="max-w-lg truncate text-sm text-muted-foreground">+ <h1 className="text-title font-semibold">Something went wrong</h1>+ <p className="max-w-lg truncate text-body text-muted-foreground">{message}</p></div>diff --git a/apps/desktop/src/renderer/src/components/route-error-page.tsx b/apps/desktop/src/renderer/src/components/route-error-page.tsxindex 80c4a56b8e..94b0cd586b 100644--- a/apps/desktop/src/renderer/src/components/route-error-page.tsx+++ b/apps/desktop/src/renderer/src/components/route-error-page.tsx@@ -89,13 +89,13 @@ function DesktopNotFoundPage() {<Compass className="h-6 w-6" aria-hidden="true" /></div><div className="space-y-2">- <h2 className="text-lg font-semibold">This page doesn't exist</h2>- <p className="max-w-lg text-sm text-muted-foreground">+ <h2 className="text-title font-semibold">This page doesn't exist</h2>+ <p className="max-w-lg text-body text-muted-foreground">Nothing in Multica matches this address. If you got here from a link,it probably points at a file on someone else's computer ratherthan a page.</p>- <p className="max-w-lg truncate font-mono text-xs text-muted-foreground">+ <p className="max-w-lg truncate font-mono text-caption text-muted-foreground">{location.pathname}</p></div>@@ -154,12 +154,12 @@ function DesktopUnexpectedErrorPage({ error }: { error: unknown }) {<AlertTriangle className="h-6 w-6" aria-hidden="true" /></div><div className="space-y-2">- <h2 className="text-lg font-semibold">Something went wrong in this tab</h2>- <p className="max-w-lg text-sm text-muted-foreground">+ <h2 className="text-title font-semibold">Something went wrong in this tab</h2>+ <p className="max-w-lg text-body text-muted-foreground">A route-level renderer error was contained before it could take down thedesktop shell. Reload this tab, or send the report if it keeps happening.</p>- <p className="max-w-lg truncate text-xs text-muted-foreground">{message}</p>+ <p className="max-w-lg truncate text-caption text-muted-foreground">{message}</p></div><div className="flex gap-2"><Buttondiff --git a/apps/desktop/src/renderer/src/components/tab-bar.tsx b/apps/desktop/src/renderer/src/components/tab-bar.tsxindex 4ab9f3688e..7056e4f92e 100644--- a/apps/desktop/src/renderer/src/components/tab-bar.tsx+++ b/apps/desktop/src/renderer/src/components/tab-bar.tsx@@ -262,7 +262,7 @@ function SortableTabItem({title={tab.pinned ? `${title} (pinned)` : undefined}style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}className={cn(- "group relative flex size-full min-w-0 items-center gap-1.5 px-2.5 text-xs transition-colors",+ "group relative flex size-full min-w-0 items-center gap-1.5 px-2.5 text-caption transition-colors","select-none cursor-default",isActive? "font-medium text-foreground"diff --git a/apps/desktop/src/renderer/src/components/update-notification.tsx b/apps/desktop/src/renderer/src/components/update-notification.tsxindex 38630af324..bb83192fa0 100644--- a/apps/desktop/src/renderer/src/components/update-notification.tsx+++ b/apps/desktop/src/renderer/src/components/update-notification.tsx@@ -38,22 +38,22 @@ export function UpdateNotification() {<RefreshCw className="size-4 text-success" /></div><div className="flex-1 min-w-0">- <p className="text-sm font-medium">Update ready</p>- <p className="text-xs text-muted-foreground mt-0.5">+ <p className="text-body font-medium">Update ready</p>+ <p className="text-caption text-muted-foreground mt-0.5">v{state.version} will be applied on next launch.</p><div className="mt-2 flex items-center gap-1.5"><buttontype="button"onClick={() => setDismissed(true)}- className="inline-flex items-center rounded-md border border-border bg-background px-3 py-1.5 text-xs font-medium text-foreground hover:bg-accent transition-colors"+ className="inline-flex items-center rounded-md border border-border bg-background px-3 py-1.5 text-caption font-medium text-foreground hover:bg-accent transition-colors">Later</button><buttontype="button"onClick={() => window.updater.installUpdate()}- className="inline-flex items-center rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground hover:bg-primary/90 transition-colors"+ className="inline-flex items-center rounded-md bg-primary px-3 py-1.5 text-caption font-medium text-primary-foreground hover:bg-primary/90 transition-colors">Restart now</button>diff --git a/apps/desktop/src/renderer/src/components/updates-settings-tab.tsx b/apps/desktop/src/renderer/src/components/updates-settings-tab.tsxindex da606d9f3b..832271c358 100644--- a/apps/desktop/src/renderer/src/components/updates-settings-tab.tsx+++ b/apps/desktop/src/renderer/src/components/updates-settings-tab.tsx@@ -80,7 +80,7 @@ export function UpdatesSettingsTab() {><SettingsCard><SettingsRow label={t(($) => $.desktop.updates.current_version)}>- <span className="font-mono text-xs text-muted-foreground">+ <span className="font-mono text-caption text-muted-foreground">v{currentVersion}</span></SettingsRow>diff --git a/apps/web/app/(auth)/login/page.tsx b/apps/web/app/(auth)/login/page.tsxindex ec949537bb..2702da0a07 100644--- a/apps/web/app/(auth)/login/page.tsx+++ b/apps/web/app/(auth)/login/page.tsx@@ -174,7 +174,7 @@ function LoginPageContent() {<div className="flex min-h-screen items-center justify-center"><Card className="w-full max-w-sm"><CardHeader className="text-center">- <CardTitle className="text-2xl">+ <CardTitle className="text-display-sm">{t(($) => $.web.desktop_handoff.failed_title)}</CardTitle><CardDescription>{desktopError}</CardDescription>@@ -187,7 +187,7 @@ function LoginPageContent() {<div className="flex min-h-screen items-center justify-center"><Card className="w-full max-w-sm"><CardHeader className="text-center">- <CardTitle className="text-2xl">+ <CardTitle className="text-display-sm">{t(($) => $.web.desktop_handoff.opening_title)}</CardTitle><CardDescription>@@ -234,7 +234,7 @@ function LoginPageContent() {}onTokenObtained={setLoggedInCookie}extra={- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.web.prefer_desktop)}{" "}<Linkhref="/download"diff --git a/apps/web/app/(landing)/download/download-client.tsx b/apps/web/app/(landing)/download/download-client.tsxindex 0fe8de6012..763b89bfa8 100644--- a/apps/web/app/(landing)/download/download-client.tsx+++ b/apps/web/app/(landing)/download/download-client.tsx@@ -79,7 +79,7 @@ function VersionInfoFooter({return (<section className="bg-white pb-16 text-[#0a0d12] sm:pb-20">- <div className="mx-auto flex max-w-[920px] flex-wrap items-center gap-x-6 gap-y-2 border-t border-[#0a0d12]/8 px-4 pt-8 text-[13px] text-[#0a0d12]/60 sm:px-6 lg:px-8">+ <div className="mx-auto flex max-w-[920px] flex-wrap items-center gap-x-6 gap-y-2 border-t border-[#0a0d12]/8 px-4 pt-8 text-label text-[#0a0d12]/60 sm:px-6 lg:px-8">{version ? (<><span>diff --git a/apps/web/app/(landing)/usecases/[slug]/page.tsx b/apps/web/app/(landing)/usecases/[slug]/page.tsxindex 2ded092288..c70fa088f1 100644--- a/apps/web/app/(landing)/usecases/[slug]/page.tsx+++ b/apps/web/app/(landing)/usecases/[slug]/page.tsx@@ -54,7 +54,7 @@ function PlaceholderImage({ label }: { label: string }) {className={cn("flex aspect-[16/9] items-center justify-center rounded-lg","border-2 border-dashed border-[#0a0d12]/15 bg-[#fafafa]",- "px-6 text-center text-[13px] italic leading-relaxed text-[#0a0d12]/55",+ "px-6 text-center text-label italic leading-relaxed text-[#0a0d12]/55",)}>{label}@@ -76,7 +76,7 @@ function MDXCTA({<Linkhref={href}className={cn(- "inline-flex items-center gap-2 rounded-[12px] px-5 py-3 text-[14px] font-semibold not-italic transition-colors",+ "inline-flex items-center gap-2 rounded-[12px] px-5 py-3 text-body font-semibold not-italic transition-colors",variant === "primary"? "bg-[#0a0d12] text-white hover:bg-[#0a0d12]/88": "border border-[#0a0d12]/15 text-[#0a0d12] hover:bg-[#0a0d12]/[0.04]",@@ -197,7 +197,7 @@ function createMdxComponents(locale: SupportedLocale) {),pre: (props: ComponentPropsWithoutRef<"pre">) => (<pre- className="my-6 overflow-x-auto rounded-lg bg-[#0a0d12]/[0.04] p-4 text-[13px] leading-[1.65]"+ className="my-6 overflow-x-auto rounded-lg bg-[#0a0d12]/[0.04] p-4 text-label leading-[1.65]"{...props}/>),@@ -234,7 +234,7 @@ export default async function UseCasePage(props: { params: Promise<Params> }) {<h1 className="landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem]">{page.data.title}</h1>- <div className="mt-10 text-[16px] leading-[1.85] text-[#0a0d12]/72 [&>:first-child]:mt-0 [&>p]:my-5 sm:text-[17px]">+ <div className="mt-10 text-title-sm leading-[1.85] text-[#0a0d12]/72 [&>:first-child]:mt-0 [&>p]:my-5 sm:text-title"><MDX components={mdxComponents} /></div></article>@@ -242,7 +242,7 @@ export default async function UseCasePage(props: { params: Promise<Params> }) {{toc.length > 0 ? (<aside className="hidden lg:block"><nav className="sticky top-[100px] max-h-[calc(100vh-120px)] overflow-y-auto">- <div className="mb-3 text-[11px] font-medium uppercase tracking-[0.14em] text-[#0a0d12]/40">+ <div className="mb-3 text-micro font-medium uppercase tracking-[0.14em] text-[#0a0d12]/40">{text.tableOfContents}</div><ul className="border-l border-[#0a0d12]/8">@@ -251,11 +251,11 @@ export default async function UseCasePage(props: { params: Promise<Params> }) {<ahref={item.url}className={cn(- "-ml-px block border-l border-transparent py-1.5 pl-4 text-[13px] leading-snug transition-colors",+ "-ml-px block border-l border-transparent py-1.5 pl-4 text-label leading-snug transition-colors","hover:border-[#0a0d12]/40 hover:text-[#0a0d12]",item.depth === 2? "font-medium text-[#0a0d12]/70"- : "pl-7 text-[12px] text-[#0a0d12]/50",+ : "pl-7 text-caption text-[#0a0d12]/50",)}>{item.title}diff --git a/apps/web/app/(landing)/usecases/page.tsx b/apps/web/app/(landing)/usecases/page.tsxindex 015a12d18b..80aab542b3 100644--- a/apps/web/app/(landing)/usecases/page.tsx+++ b/apps/web/app/(landing)/usecases/page.tsx@@ -52,7 +52,7 @@ export default async function UseCasesIndexPage() {<h1 className="mx-auto max-w-[880px] landing-serif text-[3rem] leading-[1.02] tracking-[-0.035em] drop-shadow-[0_10px_34px_rgba(0,0,0,0.32)] sm:text-[4rem] lg:text-[5rem]">{text.indexTitle}</h1>- <p className="mx-auto mt-6 max-w-[620px] text-[15px] leading-7 text-white/84 sm:text-[17px]">+ <p className="mx-auto mt-6 max-w-[620px] text-body-lg leading-7 text-white/84 sm:text-title">{text.indexSubtitle}</p></div>@@ -85,19 +85,19 @@ export default async function UseCasesIndexPage() {) : null}</div>{category ? (- <div className="mt-5 text-[12px] uppercase tracking-[0.14em] text-[#0a0d12]/50">+ <div className="mt-5 text-caption uppercase tracking-[0.14em] text-[#0a0d12]/50">{category}</div>) : null}- <h3 className="mt-2 text-[18px] font-semibold leading-[1.35] text-[#0a0d12] sm:text-[20px]">+ <h3 className="mt-2 text-title font-semibold leading-[1.35] text-[#0a0d12] sm:text-title-lg">{page.data.title}</h3>{page.data.description ? (- <p className="mt-2 text-[14px] leading-[1.6] text-[#0a0d12]/60">+ <p className="mt-2 text-body leading-[1.6] text-[#0a0d12]/60">{page.data.description}</p>) : null}- <span className="mt-3 text-[13px] text-[#0a0d12]/70 transition-colors group-hover:text-[#0a0d12]">+ <span className="mt-3 text-label text-[#0a0d12]/70 transition-colors group-hover:text-[#0a0d12]">{text.cardReadMore}</span></Link>diff --git a/apps/web/app/auth/callback/page.tsx b/apps/web/app/auth/callback/page.tsxindex 4b863a9ffb..06d51b8c5c 100644--- a/apps/web/app/auth/callback/page.tsx+++ b/apps/web/app/auth/callback/page.tsx@@ -148,7 +148,7 @@ function CallbackContent() {<div className="flex min-h-screen items-center justify-center"><Card className="w-full max-w-sm"><CardHeader className="text-center">- <CardTitle className="text-2xl">Opening Multica</CardTitle>+ <CardTitle className="text-display-sm">Opening Multica</CardTitle><CardDescription>You should see a prompt to open the Multica desktop app. Ifnothing happens, click the button below.@@ -174,7 +174,7 @@ function CallbackContent() {<div className="flex min-h-screen items-center justify-center"><Card className="w-full max-w-sm"><CardHeader className="text-center">- <CardTitle className="text-2xl">Login Failed</CardTitle>+ <CardTitle className="text-display-sm">Login Failed</CardTitle><CardDescription>{error}</CardDescription></CardHeader><CardContent className="flex justify-center">@@ -191,7 +191,7 @@ function CallbackContent() {<div className="flex min-h-screen items-center justify-center"><Card className="w-full max-w-sm"><CardHeader className="text-center">- <CardTitle className="text-2xl">Signing in...</CardTitle>+ <CardTitle className="text-display-sm">Signing in...</CardTitle><CardDescription>Please wait while we complete your login</CardDescription></CardHeader><CardContent className="flex justify-center">diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsxindex 35c148a8c8..71f47ce16c 100644--- a/apps/web/app/not-found.tsx+++ b/apps/web/app/not-found.tsx@@ -6,9 +6,9 @@ import { buttonVariants } from "@multica/ui/components/ui/button";export default function NotFound() {return (<main className="flex min-h-screen flex-col items-center justify-center gap-6 px-6 py-24 text-center">- <p className="text-sm font-medium text-muted-foreground">404</p>- <h1 className="text-2xl font-semibold tracking-tight">Page not found</h1>- <p className="max-w-md text-sm text-muted-foreground">+ <p className="text-body font-medium text-muted-foreground">404</p>+ <h1 className="text-display-sm font-semibold tracking-tight">Page not found</h1>+ <p className="max-w-md text-body text-muted-foreground">The page you are looking for doesn’t exist or has been moved.</p><Link href="/" className={buttonVariants({ className: "mt-2" })}>diff --git a/apps/web/app/type-scale.test.ts b/apps/web/app/type-scale.test.tsnew file mode 100644index 0000000000..7382a94d1b--- /dev/null+++ b/apps/web/app/type-scale.test.ts@@ -0,0 +1,204 @@+import { readFileSync, readdirSync, statSync } from "node:fs";+import { resolve, join, relative } from "node:path";+import { describe, expect, it } from "vitest";++/**+ * Does the product still have exactly one type scale?+ *+ * Before `--text-*` existed in tokens.css there was no baseline to align to, so+ * font sizes grew wherever they were needed: 51 distinct sizes across web and+ * desktop, 370 written as arbitrary pixel values, six of those at half a pixel+ * (10.5 / 11.5 / 12.5 / 13.5 / 14.5 / 15.5px). A scale only holds if going off+ * it is harder than staying on it, and nothing in a Tailwind build makes an+ * off-scale arbitrary size look wrong — it compiles exactly like a token does.+ *+ * So the guard lives here. This asserts on source text rather than on rendered+ * components because the failure mode is authorial, not behavioural: a+ * component test would prove a class name renders, never that the class was one+ * of the ten the design system actually defines.+ *+ * Any unit counts, not just px. The first sweep of this migration only looked+ * for `px` and so walked straight past four `0.8rem` call sites in+ * packages/ui — an off-scale size is off-scale however it is spelled.+ *+ * Scope is product UI. `apps/mobile` builds through its own NativeWind config+ * and `apps/docs` rides fumadocs' type system; both keep Tailwind's default+ * scale on purpose and are not scanned.+ */++const repoRoot = resolve(process.cwd(), "../..");++/** The scale, as tokens.css defines it. Sizes in px. */+const SCALE = [+ ["micro", 11, 15],+ ["caption", 12, 16],+ ["label", 13, 18],+ ["body", 14, 20],+ ["body-lg", 15, 22],+ ["title-sm", 16, 24],+ ["title", 18, 28],+ ["title-lg", 20, 28],+ ["display-sm", 24, 32],+ ["display", 36, 40],+] as const;++const scanRoots = ["packages/ui", "packages/views", "apps/web", "apps/desktop/src"];+const skipDirs = new Set(["node_modules", ".next", "dist", "out", "build", ".turbo"]);+const sourceExtensions = [".ts", ".tsx", ".css"];++/**+ * Landing pages run a marketing display ramp (rem/clamp, 2.2-6.4rem) that is+ * deliberately not this scale — a hero headline does not belong on the same+ * steps as a table cell. They still may not use pixel sizes, so only the+ * relative-unit rule is lifted for them.+ */+const marketingPaths = ["apps/web/app/(landing)", "apps/web/features/landing"];+const isMarketing = (rel: string) => marketingPaths.some((p) => rel.startsWith(p));++/**+ * Tailwind's default steps that the role scale replaces one-for-one. `text-4xl`+ * and larger are not listed: their only call sites are decorative emoji and the+ * serif onboarding hero, which are not UI text and do not sit on this ramp.+ */+const replacedDefaults = ["xs", "sm", "base", "lg", "xl", "2xl", "3xl"];++const bannedPatterns = [+ {+ label: "arbitrary pixel size",+ regex: /\btext-\[\d+(?:\.\d+)?px\]/g,+ hint: "use a scale step (text-micro … text-display)",+ appliesTo: () => true,+ },+ {+ label: "arbitrary relative size",+ regex: /\btext-\[\d*\.?\d+(?:rem|em)\]/g,+ hint: "use a scale step (text-micro … text-display)",+ appliesTo: (rel: string) => !isMarketing(rel),+ },+ {+ label: "Tailwind default size",+ regex: new RegExp(String.raw`\btext-(?:${replacedDefaults.join("|")})\b`, "g"),+ hint: "use the role-named equivalent: sm -> body, base -> title-sm, 2xl -> display-sm",+ appliesTo: () => true,+ },+ /**+ * Hand-written CSS is the blind spot a class-only guard leaves open, and it+ * is where the worst of the old drift survived longest: the transcript kept+ * a 12.5px body long after every Tailwind call site was on the scale, so the+ * "no half-pixel sizes" claim was true of the classes and false of the+ * product. A literal length here is off-scale by definition — the steps are+ * reachable as `var(--text-*)`.+ */+ {+ // The lookahead sits directly after the colon and swallows the whitespace+ // itself. Written as `\s*(?!var\()` the engine simply backtracks `\s*` to+ // zero width, the lookahead then sees a space rather than `var(`, and every+ // tokenised declaration matches as a violation.+ label: "raw CSS font-size",+ regex: /font-size:(?!\s*var\()\s*[^;}]+/g,+ hint: "use var(--text-micro) … var(--text-display)",+ appliesTo: (rel: string) => rel.endsWith(".css") && !isMarketing(rel),+ },+];++/**+ * `base.css` pins editable text to 16px on coarse pointers because iOS Safari+ * zooms the page when a focused input is below 16px. That is a platform+ * workaround, not typography, and no scale step can express it.+ */+const rawCssExemptions = [/font-size:\s*16px\s*!important/];++/**+ * Tailwind scans this file like any other source, so a banned class written out+ * in full here would compile into the bundle as dead CSS — the exact thing the+ * test exists to prevent. Hints and prose above therefore name the steps+ * without the `text-` prefix, and the patterns build it at runtime.+ */++/**+ * Comments legitimately name the old classes when explaining what a step+ * replaced, so they are stripped before scanning. Over-stripping would only+ * ever hide a violation, never invent one, and a class name never follows a+ * comment marker on the same line in practice.+ */+function stripComments(source: string): string {+ return source+ // Block comments are replaced with their own newlines rather than removed,+ // so a violation's reported line still matches the real file. Collapsing+ // them shifts every line below a file header comment.+ .replace(/\/\*[\s\S]*?\*\//g, (block) => "\n".repeat((block.match(/\n/g) ?? []).length))+ .replace(/(^|[^:])\/\/[^\n]*/g, "$1");+}++function collectSourceFiles(dir: string, found: string[] = []): string[] {+ for (const entry of readdirSync(dir)) {+ if (skipDirs.has(entry)) continue;+ const path = join(dir, entry);+ if (statSync(path).isDirectory()) {+ collectSourceFiles(path, found);+ continue;+ }+ if (!sourceExtensions.some((ext) => entry.endsWith(ext))) continue;+ if (/\.test\.tsx?$/.test(entry)) continue;+ found.push(path);+ }+ return found;+}++describe("type scale", () => {+ const tokens = readFileSync(resolve(repoRoot, "packages/ui/styles/tokens.css"), "utf8");++ it.each(SCALE)("defines --text-%s with a paired line-height", (name, size, lineHeight) => {+ expect(tokens).toContain(`--text-${name}: ${size}px;`);+ expect(tokens).toContain(`--text-${name}--line-height: ${lineHeight}px;`);+ });++ it("steps ascend in size and never tighten line-height going up", () => {+ for (let i = 1; i < SCALE.length; i += 1) {+ const [name, size, lineHeight] = SCALE[i]!;+ const [, previousSize, previousLineHeight] = SCALE[i - 1]!;+ expect(size, `${name} must be larger than the step below it`).toBeGreaterThan(previousSize);+ expect(lineHeight, `${name} line-height must not drop below the step below it`)+ .toBeGreaterThanOrEqual(previousLineHeight);+ }+ });++ /**+ * The steps are role-named, so tailwind-merge cannot infer that they are font+ * sizes and needs them registered explicitly in `packages/ui/lib/utils.ts`.+ * A step missing from that list is dropped whenever it meets a colour class,+ * silently, so the two lists have to agree.+ */+ it("registers every step with tailwind-merge so cn() cannot drop it", () => {+ const utils = readFileSync(resolve(repoRoot, "packages/ui/lib/utils.ts"), "utf8");+ for (const [name] of SCALE) {+ expect(utils, `${name} missing from the tailwind-merge font-size group`)+ .toContain(`"${name}"`);+ }+ });++ it("product UI writes no font size outside the scale", () => {+ const violations: string[] = [];++ for (const root of scanRoots) {+ for (const path of collectSourceFiles(resolve(repoRoot, root))) {+ const rel = relative(repoRoot, path);+ const lines = stripComments(readFileSync(path, "utf8")).split("\n");+ lines.forEach((line, index) => {+ for (const { label, regex, hint, appliesTo } of bannedPatterns) {+ if (!appliesTo(rel)) continue;+ regex.lastIndex = 0;+ for (const match of line.matchAll(regex)) {+ if (rawCssExemptions.some((exempt) => exempt.test(match[0]))) continue;+ violations.push(+ `${rel}:${index + 1} ${match[0].trim()} (${label} — ${hint})`,+ );+ }+ }+ });+ }+ }++ expect(violations, `Font sizes off the scale:\n${violations.join("\n")}`).toEqual([]);+ });+});diff --git a/apps/web/features/landing/components/about-page-client.tsx b/apps/web/features/landing/components/about-page-client.tsxindex 8b810dda3b..2308c2a46e 100644--- a/apps/web/features/landing/components/about-page-client.tsx+++ b/apps/web/features/landing/components/about-page-client.tsx@@ -18,7 +18,7 @@ export function AboutPageClient() {<h1 className="landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem]">{t.about.title}</h1>- <div className="mt-8 space-y-6 text-[15px] leading-[1.8] text-[#0a0d12]/70 sm:text-[16px]">+ <div className="mt-8 space-y-6 text-body-lg leading-[1.8] text-[#0a0d12]/70 sm:text-title-sm"><p>{n.prefix}<strong className="font-semibold text-[#0a0d12]">@@ -48,7 +48,7 @@ export function AboutPageClient() {href={githubUrl}target="_blank"rel="noreferrer"- className="inline-flex items-center gap-2.5 rounded-[12px] bg-[#0a0d12] px-5 py-3 text-[14px] font-semibold text-white transition-colors hover:bg-[#0a0d12]/88"+ className="inline-flex items-center gap-2.5 rounded-[12px] bg-[#0a0d12] px-5 py-3 text-body font-semibold text-white transition-colors hover:bg-[#0a0d12]/88"><GitHubMark className="size-4" />{t.about.cta}diff --git a/apps/web/features/landing/components/changelog-page-client.tsx b/apps/web/features/landing/components/changelog-page-client.tsxindex fedbbfa74e..6fd6ecc663 100644--- a/apps/web/features/landing/components/changelog-page-client.tsx+++ b/apps/web/features/landing/components/changelog-page-client.tsx@@ -99,7 +99,7 @@ function ChangeList({ items }: { items: string[] }) {{items.map((change) => (<likey={change}- className="flex items-start gap-2.5 text-[14px] leading-[1.7] text-[#0a0d12]/60 sm:text-[15px]"+ className="flex items-start gap-2.5 text-body leading-[1.7] text-[#0a0d12]/60 sm:text-body-lg"><span className="mt-2.5 h-1 w-1 shrink-0 rounded-full bg-[#0a0d12]/30" />{change}@@ -190,7 +190,7 @@ export function ChangelogPageClient() {aria-label={t.changelog.toc}className="sticky top-28 max-h-[calc(100vh-8rem)] overflow-y-auto pb-8 pr-2">- <h3 className="text-[11px] font-semibold uppercase tracking-[0.14em] text-[#0a0d12]/50">+ <h3 className="text-micro font-semibold uppercase tracking-[0.14em] text-[#0a0d12]/50">{t.changelog.toc}</h3>@@ -203,7 +203,7 @@ export function ChangelogPageClient() {<ol className="space-y-5">{groups.map((group) => (<li key={group.key}>- <p className="ml-6 text-[11px] font-semibold uppercase tracking-[0.12em] text-[#0a0d12]/45">+ <p className="ml-6 text-micro font-semibold uppercase tracking-[0.12em] text-[#0a0d12]/45">{monthYearLabel(group.year, group.month, locale)}</p>@@ -219,7 +219,7 @@ export function ChangelogPageClient() {onClick={jumpTo(release.version)}aria-current={isActive ? "true" : undefined}className={[- "group relative flex items-center gap-3 rounded-md py-1 pr-2 text-[13px] transition-colors",+ "group relative flex items-center gap-3 rounded-md py-1 pr-2 text-label transition-colors",isActive? "text-[#0a0d12]": "text-[#0a0d12]/55 hover:text-[#0a0d12]/80",@@ -244,7 +244,7 @@ export function ChangelogPageClient() {>{day}</span>- <span className="tabular-nums text-[11px] text-[#0a0d12]/35">+ <span className="tabular-nums text-micro text-[#0a0d12]/35">v{release.version}</span></a>@@ -263,7 +263,7 @@ export function ChangelogPageClient() {<h1 className="landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem]">{t.changelog.title}</h1>- <p className="mt-4 text-[15px] leading-7 text-[#0a0d12]/60 sm:text-[16px]">+ <p className="mt-4 text-body-lg leading-7 text-[#0a0d12]/60 sm:text-title-sm">{t.changelog.subtitle}</p>@@ -279,14 +279,14 @@ export function ChangelogPageClient() {className="relative scroll-mt-28"><div className="flex items-baseline gap-3">- <span className="text-[13px] font-semibold tabular-nums">+ <span className="text-label font-semibold tabular-nums">v{release.version}</span>- <span className="text-[13px] text-[#0a0d12]/40">+ <span className="text-label text-[#0a0d12]/40">{fullDateLabel(release.date, locale)}</span></div>- <h2 className="mt-2 text-[20px] font-semibold leading-snug sm:text-[22px]">+ <h2 className="mt-2 text-title-lg font-semibold leading-snug sm:text-display-sm">{release.title}</h2>@@ -294,7 +294,7 @@ export function ChangelogPageClient() {<div className="mt-4 space-y-5">{release.features && release.features.length > 0 && (<div>- <h3 className="text-[13px] font-semibold uppercase tracking-wide text-[#0a0d12]/50">+ <h3 className="text-label font-semibold uppercase tracking-wide text-[#0a0d12]/50">{categoryLabels.features}</h3><ChangeList items={release.features} />@@ -303,7 +303,7 @@ export function ChangelogPageClient() {{release.improvements &&release.improvements.length > 0 && (<div>- <h3 className="text-[13px] font-semibold uppercase tracking-wide text-[#0a0d12]/50">+ <h3 className="text-label font-semibold uppercase tracking-wide text-[#0a0d12]/50">{categoryLabels.improvements}</h3><ChangeList items={release.improvements} />@@ -311,7 +311,7 @@ export function ChangelogPageClient() {)}{release.fixes && release.fixes.length > 0 && (<div>- <h3 className="text-[13px] font-semibold uppercase tracking-wide text-[#0a0d12]/50">+ <h3 className="text-label font-semibold uppercase tracking-wide text-[#0a0d12]/50">{categoryLabels.fixes}</h3><ChangeList items={release.fixes} />diff --git a/apps/web/features/landing/components/contact-sales-page-client.tsx b/apps/web/features/landing/components/contact-sales-page-client.tsxindex 8a6204e330..19909ee265 100644--- a/apps/web/features/landing/components/contact-sales-page-client.tsx+++ b/apps/web/features/landing/components/contact-sales-page-client.tsx@@ -160,13 +160,13 @@ export function ContactSalesPageClient() {className="mx-auto max-w-[760px] px-4 py-12 sm:px-6 sm:py-16 lg:py-20"><div className="mb-8 text-center">- <p className="text-[12px] font-semibold uppercase tracking-[0.12em] text-[#0a0d12]/45">+ <p className="text-caption font-semibold uppercase tracking-[0.12em] text-[#0a0d12]/45">{c.eyebrow}</p><h1 className="mt-2 landing-serif text-[2.4rem] leading-[1.1] tracking-[-0.02em] sm:text-[2.8rem]">{c.title}</h1>- <p className="mt-3 text-[14px] text-[#0a0d12]/60 sm:text-[15px]">+ <p className="mt-3 text-body text-[#0a0d12]/60 sm:text-body-lg">{c.subtitle}</p></div>@@ -209,13 +209,13 @@ function SuccessCard({<h2 className="landing-serif text-[1.8rem] leading-[1.15] tracking-[-0.02em]">{title}</h2>- <p className="mt-3 text-[15px] leading-[1.7] text-[#0a0d12]/70">+ <p className="mt-3 text-body-lg leading-[1.7] text-[#0a0d12]/70">{message}</p><div className="mt-6"><Linkhref="/"- className="inline-flex items-center gap-2 rounded-[11px] bg-[#0a0d12] px-5 py-2.5 text-[13px] font-semibold text-white transition-colors hover:bg-[#0a0d12]/88"+ className="inline-flex items-center gap-2 rounded-[11px] bg-[#0a0d12] px-5 py-2.5 text-label font-semibold text-white transition-colors hover:bg-[#0a0d12]/88">{cta}</Link>@@ -261,7 +261,7 @@ function FormCard({onSubmit={onSubmit}className="space-y-8 rounded-[16px] border border-[#0a0d12]/8 bg-white p-6 shadow-[0_1px_2px_rgba(10,13,18,0.04)] sm:p-10">- <div className="rounded-[12px] border border-[#0a0d12]/8 bg-[#f7f8fa] p-4 text-[13px] leading-[1.6] text-[#0a0d12]/72">+ <div className="rounded-[12px] border border-[#0a0d12]/8 bg-[#f7f8fa] p-4 text-label leading-[1.6] text-[#0a0d12]/72"><p className="font-semibold text-[#0a0d12]"><span aria-hidden className="mr-1.5">📌</span>{dict.notice.badge}@@ -379,7 +379,7 @@ function FormCard({maxLength={2000}disabled={busy}aria-describedby={goalsHintId}- className="block w-full rounded-[10px] border border-[#0a0d12]/14 bg-white px-3.5 py-2.5 text-[14px] text-[#0a0d12] placeholder:text-[#0a0d12]/35 transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60"+ className="block w-full rounded-[10px] border border-[#0a0d12]/14 bg-white px-3.5 py-2.5 text-body text-[#0a0d12] placeholder:text-[#0a0d12]/35 transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60"/></Field>@@ -395,7 +395,7 @@ function FormCard({{error ? (<prole="alert"- className="rounded-[10px] border border-[#c83a3a]/24 bg-[#fdecec] px-4 py-3 text-[13px] leading-[1.6] text-[#7a1d1d]"+ className="rounded-[10px] border border-[#c83a3a]/24 bg-[#fdecec] px-4 py-3 text-label leading-[1.6] text-[#7a1d1d]">{error}</p>@@ -404,7 +404,7 @@ function FormCard({<buttontype="submit"disabled={busy}- className="inline-flex w-full items-center justify-center rounded-[12px] bg-[#f04a2f] px-5 py-3 text-[14px] font-semibold text-white transition-colors hover:bg-[#d63d24] disabled:cursor-not-allowed disabled:opacity-60 sm:w-auto"+ className="inline-flex w-full items-center justify-center rounded-[12px] bg-[#f04a2f] px-5 py-3 text-body font-semibold text-white transition-colors hover:bg-[#d63d24] disabled:cursor-not-allowed disabled:opacity-60 sm:w-auto">{busy ? dict.fields.submitting : dict.fields.submit}</button>@@ -433,7 +433,7 @@ function Field({<div className="space-y-1.5"><labelhtmlFor={htmlFor}- className="block text-[13px] font-medium text-[#0a0d12]/82"+ className="block text-label font-medium text-[#0a0d12]/82">{label}{required ? <span className="ml-0.5 text-[#f04a2f]">*</span> : null}@@ -444,8 +444,8 @@ function Field({id={hintId}className={tone === "warning"- ? "text-[12px] leading-[1.55] text-[#7a1d1d]"- : "text-[12px] leading-[1.55] text-[#0a0d12]/55"+ ? "text-caption leading-[1.55] text-[#7a1d1d]"+ : "text-caption leading-[1.55] text-[#0a0d12]/55"}>{hint}@@ -490,7 +490,7 @@ function TextInput({disabled={disabled}aria-describedby={ariaDescribedBy}aria-invalid={ariaInvalid}- className="block w-full rounded-[10px] border border-[#0a0d12]/14 bg-white px-3.5 py-2.5 text-[14px] text-[#0a0d12] placeholder:text-[#0a0d12]/35 transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60 aria-[invalid=true]:border-[#c83a3a]/60 aria-[invalid=true]:focus:ring-[#c83a3a]/15"+ className="block w-full rounded-[10px] border border-[#0a0d12]/14 bg-white px-3.5 py-2.5 text-body text-[#0a0d12] placeholder:text-[#0a0d12]/35 transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60 aria-[invalid=true]:border-[#c83a3a]/60 aria-[invalid=true]:focus:ring-[#c83a3a]/15"/>);}@@ -519,7 +519,7 @@ function SelectInput({onChange={(e) => onChange(e.target.value)}required={required}disabled={disabled}- className="block w-full appearance-none rounded-[10px] border border-[#0a0d12]/14 bg-white bg-[url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%230a0d12%22%20stroke-opacity%3D%220.5%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px_8px] bg-[right_14px_center] bg-no-repeat px-3.5 py-2.5 pr-10 text-[14px] text-[#0a0d12] transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60"+ className="block w-full appearance-none rounded-[10px] border border-[#0a0d12]/14 bg-white bg-[url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1%201.5L6%206.5L11%201.5%22%20stroke%3D%22%230a0d12%22%20stroke-opacity%3D%220.5%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')] bg-[length:12px_8px] bg-[right_14px_center] bg-no-repeat px-3.5 py-2.5 pr-10 text-body text-[#0a0d12] transition-colors focus:border-[#0a0d12]/40 focus:outline-none focus:ring-2 focus:ring-[#0a0d12]/10 disabled:opacity-60"><option value="" disabled>{placeholder}@@ -549,7 +549,7 @@ function ConsentBlock({busy: boolean;}) {return (- <div className="space-y-3 text-[13px] leading-[1.65] text-[#0a0d12]/70">+ <div className="space-y-3 text-label leading-[1.65] text-[#0a0d12]/70"><p className="font-semibold text-[#0a0d12]">{dict.consent.intro}</p>diff --git a/apps/web/features/landing/components/download/all-platforms.tsx b/apps/web/features/landing/components/download/all-platforms.tsxindex 2cce4f767b..af04d965d4 100644--- a/apps/web/features/landing/components/download/all-platforms.tsx+++ b/apps/web/features/landing/components/download/all-platforms.tsx@@ -127,7 +127,7 @@ export function AllPlatforms({</div>{isFallbackNeeded(assets) ? (- <p className="mt-6 text-[13px] text-[#0a0d12]/60">+ <p className="mt-6 text-label text-[#0a0d12]/60"><Linkhref={fallbackHref}className="underline decoration-[#0a0d12]/30 underline-offset-4 hover:text-[#0a0d12] hover:decoration-[#0a0d12]/70"@@ -167,7 +167,7 @@ function Row({ icon, label, formats, unavailable, isLast }: RowProps) {<span className="flex h-8 w-8 items-center justify-center rounded-lg bg-[#0a0d12]/5">{icon}</span>- <span className="text-[14.5px] font-medium">{label}</span>+ <span className="text-body font-medium">{label}</span></div><div className="flex flex-wrap items-center gap-2">{formats.map((f) =>@@ -175,7 +175,7 @@ function Row({ icon, label, formats, unavailable, isLast }: RowProps) {<akey={f.label}href={f.href}- className="inline-flex items-center gap-1.5 rounded-lg border border-[#0a0d12]/12 bg-white px-3 py-1.5 text-[13px] font-medium transition-colors hover:border-[#0a0d12]/30 hover:bg-[#0a0d12]/5"+ className="inline-flex items-center gap-1.5 rounded-lg border border-[#0a0d12]/12 bg-white px-3 py-1.5 text-label font-medium transition-colors hover:border-[#0a0d12]/30 hover:bg-[#0a0d12]/5">{f.label}</a>@@ -183,7 +183,7 @@ function Row({ icon, label, formats, unavailable, isLast }: RowProps) {<spankey={f.label}aria-disabled="true"- className="inline-flex cursor-not-allowed items-center gap-1.5 rounded-lg border border-[#0a0d12]/8 bg-[#0a0d12]/5 px-3 py-1.5 text-[13px] text-[#0a0d12]/40"+ className="inline-flex cursor-not-allowed items-center gap-1.5 rounded-lg border border-[#0a0d12]/8 bg-[#0a0d12]/5 px-3 py-1.5 text-label text-[#0a0d12]/40"title={unavailable}>{f.label}diff --git a/apps/web/features/landing/components/download/cli-section.tsx b/apps/web/features/landing/components/download/cli-section.tsxindex 4c69957e27..b22811c44a 100644--- a/apps/web/features/landing/components/download/cli-section.tsx+++ b/apps/web/features/landing/components/download/cli-section.tsx@@ -24,7 +24,7 @@ export function CliSection() {<h2 className="landing-serif text-[2.2rem] leading-[1.1] tracking-[-0.03em] sm:text-[2.6rem]">{d.title}</h2>- <p className="mt-4 max-w-[620px] text-[15px] leading-7 text-[#0a0d12]/72">+ <p className="mt-4 max-w-[620px] text-body-lg leading-7 text-[#0a0d12]/72">{d.sub}</p>@@ -43,7 +43,7 @@ export function CliSection() {/></div>- <p className="mt-6 text-[13px] text-[#0a0d12]/60">{d.sshNote}</p>+ <p className="mt-6 text-label text-[#0a0d12]/60">{d.sshNote}</p></div></section>);@@ -71,10 +71,10 @@ function CommandBlock({return (<div>- <p className="mb-2 text-[12px] font-medium uppercase tracking-[0.08em] text-[#0a0d12]/55">+ <p className="mb-2 text-caption font-medium uppercase tracking-[0.08em] text-[#0a0d12]/55">{label}</p>- <div className="flex items-start gap-3 rounded-xl border border-[#0a0d12]/10 bg-white px-4 py-3 font-mono text-[13.5px]">+ <div className="flex items-start gap-3 rounded-xl border border-[#0a0d12]/10 bg-white px-4 py-3 font-mono text-label"><TerminalclassName="mt-0.5 size-4 shrink-0 text-[#0a0d12]/55"aria-hidden@@ -86,7 +86,7 @@ function CommandBlock({type="button"onClick={onCopy}aria-label={copied ? copiedLabel : copyLabel}- className="inline-flex shrink-0 items-center gap-1.5 rounded-md px-2 py-1 text-[12px] font-medium text-[#0a0d12]/70 transition-colors hover:bg-[#0a0d12]/5 hover:text-[#0a0d12]"+ className="inline-flex shrink-0 items-center gap-1.5 rounded-md px-2 py-1 text-caption font-medium text-[#0a0d12]/70 transition-colors hover:bg-[#0a0d12]/5 hover:text-[#0a0d12]">{copied ? (<>diff --git a/apps/web/features/landing/components/download/cloud-section.tsx b/apps/web/features/landing/components/download/cloud-section.tsxindex f5e24cb899..1ac6c4da1f 100644--- a/apps/web/features/landing/components/download/cloud-section.tsx+++ b/apps/web/features/landing/components/download/cloud-section.tsx@@ -22,7 +22,7 @@ export function CloudSection() {<h2 className="landing-serif text-[2.2rem] leading-[1.1] tracking-[-0.03em] sm:text-[2.6rem]">{d.title}</h2>- <p className="mt-4 max-w-[560px] text-[15px] leading-7 text-[#0a0d12]/72">+ <p className="mt-4 max-w-[560px] text-body-lg leading-7 text-[#0a0d12]/72">{d.sub}</p>diff --git a/apps/web/features/landing/components/download/hero.tsx b/apps/web/features/landing/components/download/hero.tsxindex a5e1fc57ff..889b1bfb52 100644--- a/apps/web/features/landing/components/download/hero.tsx+++ b/apps/web/features/landing/components/download/hero.tsx@@ -35,7 +35,7 @@ export function DownloadHero({<h1 className="mx-auto max-w-[880px] landing-serif text-[3rem] leading-[1.02] tracking-[-0.035em] drop-shadow-[0_10px_34px_rgba(0,0,0,0.32)] sm:text-[4rem] lg:text-[5rem]">{content.title}</h1>- <p className="mx-auto mt-6 max-w-[620px] text-[15px] leading-7 text-white/84 sm:text-[17px]">+ <p className="mx-auto mt-6 max-w-[620px] text-body-lg leading-7 text-white/84 sm:text-title">{content.sub}</p>@@ -63,13 +63,13 @@ export function DownloadHero({</div>{content.hint ? (- <p className="mx-auto mt-5 max-w-[520px] text-[13px] text-white/64">+ <p className="mx-auto mt-5 max-w-[520px] text-label text-white/64">{content.hint}</p>) : null}{versionUnavailable ? (- <p className="mx-auto mt-6 max-w-[520px] text-[12px] uppercase tracking-[0.14em] text-white/50">+ <p className="mx-auto mt-6 max-w-[520px] text-caption uppercase tracking-[0.14em] text-white/50">{t.download.footer.versionUnavailable}</p>) : null}@@ -224,7 +224,7 @@ function PrimaryCta({return (<spanaria-disabled="true"- className="inline-flex cursor-not-allowed items-center justify-center gap-2 rounded-[12px] border border-white/15 bg-white/8 px-5 py-3 text-[14px] font-semibold text-white/60"+ className="inline-flex cursor-not-allowed items-center justify-center gap-2 rounded-[12px] border border-white/15 bg-white/8 px-5 py-3 text-body font-semibold text-white/60">{children}</span>diff --git a/apps/web/features/landing/components/faq-section.tsx b/apps/web/features/landing/components/faq-section.tsxindex 8d9be6b5ee..f4273cd223 100644--- a/apps/web/features/landing/components/faq-section.tsx+++ b/apps/web/features/landing/components/faq-section.tsx@@ -12,7 +12,7 @@ export function FAQSection() {<section id="faq" className="bg-[#f8f8f8] text-[#0a0d12]"><div className="mx-auto max-w-[860px] px-4 py-24 sm:px-6 sm:py-32 lg:py-40"><div className="text-center">- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-[#0a0d12]/40">+ <p className="text-micro font-semibold uppercase tracking-[0.16em] text-[#0a0d12]/40">{t.faq.label}</p><h2 className="mt-4 landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem] lg:text-[4.2rem]">@@ -28,7 +28,7 @@ export function FAQSection() {onClick={() => setOpenIndex(openIndex === i ? null : i)}className="flex w-full items-start justify-between gap-4 py-6 text-left">- <span className="text-[16px] font-semibold leading-snug text-[#0a0d12] sm:text-[17px]">+ <span className="text-title-sm font-semibold leading-snug text-[#0a0d12] sm:text-title">{faq.question}</span><span@@ -57,7 +57,7 @@ export function FAQSection() {)}><div className="overflow-hidden">- <p className="pb-6 pr-12 text-[14px] leading-[1.7] text-[#0a0d12]/56 sm:text-[15px]">+ <p className="pb-6 pr-12 text-body leading-[1.7] text-[#0a0d12]/56 sm:text-body-lg">{faq.answer}</p></div>diff --git a/apps/web/features/landing/components/features-section.tsx b/apps/web/features/landing/components/features-section.tsxindex 4254962e8b..587fdb0664 100644--- a/apps/web/features/landing/components/features-section.tsx+++ b/apps/web/features/landing/components/features-section.tsx@@ -62,8 +62,8 @@ function MockAvatar({function PropRow({ label, children }: { label: string; children: React.ReactNode }) {return (<div className="flex min-h-8 items-center gap-2 rounded-md px-2 -mx-2">- <span className="w-16 shrink-0 text-xs text-muted-foreground">{label}</span>- <div className="flex min-w-0 flex-1 items-center gap-1.5 text-xs truncate">+ <span className="w-16 shrink-0 text-caption text-muted-foreground">{label}</span>+ <div className="flex min-w-0 flex-1 items-center gap-1.5 text-caption truncate">{children}</div></div>@@ -161,8 +161,8 @@ function TeammatesVisual() {return (<div className="relative aspect-video overflow-hidden rounded-lg border bg-background text-foreground shadow-2xl">{/* Header bar */}- <div className="flex h-10 shrink-0 items-center border-b bg-background px-4 text-sm">- <div className="flex items-center gap-1.5 min-w-0 text-xs">+ <div className="flex h-10 shrink-0 items-center border-b bg-background px-4 text-body">+ <div className="flex items-center gap-1.5 min-w-0 text-caption"><span className="text-muted-foreground">Multica Demo</span><ChevronRight className="h-3 w-3 text-muted-foreground/50 shrink-0" /><span className="text-muted-foreground">MUL-18</span>@@ -174,25 +174,25 @@ function TeammatesVisual() {<div className="flex h-[calc(100%-40px)]">{/* Main content area */}<div className="flex-1 overflow-hidden px-8 py-5">- <h3 className="text-lg font-bold leading-snug tracking-tight">+ <h3 className="text-title font-bold leading-snug tracking-tight">Refactor API error handling middleware</h3>- <p className="mt-2 text-sm text-muted-foreground">+ <p className="mt-2 text-body text-muted-foreground">Standardize error responses across all endpoints.</p><div className="my-4 border-t" /><div className="flex items-center justify-between">- <h4 className="text-sm font-semibold">Activity</h4>- <span className="text-xs text-muted-foreground">Subscribe</span>+ <h4 className="text-body font-semibold">Activity</h4>+ <span className="text-caption text-muted-foreground">Subscribe</span></div><div className="mt-3 flex flex-col gap-2.5">{mockTimeline.map((entry, i) => {if (entry.type === "activity") {return (- <div key={i} className="px-4 flex items-center text-xs text-muted-foreground">+ <div key={i} className="px-4 flex items-center text-caption text-muted-foreground"><div className="mr-2 flex w-4 shrink-0 justify-center">{entry.statusIcon ? (<StatusIcon status={entry.statusIcon} className="h-4 w-4 shrink-0" />@@ -213,10 +213,10 @@ function TeammatesVisual() {<div key={i} className="rounded-lg border bg-card px-4 py-2.5"><div className="flex items-center gap-2.5"><MockAvatar type={entry.actorType} initials={entry.initials} size={22} />- <span className="text-sm font-medium">{entry.name}</span>- <span className="text-xs text-muted-foreground">{entry.time}</span>+ <span className="text-body font-medium">{entry.name}</span>+ <span className="text-caption text-muted-foreground">{entry.time}</span></div>- <p className="mt-1 pl-8 text-sm leading-relaxed text-muted-foreground">+ <p className="mt-1 pl-8 text-body leading-relaxed text-muted-foreground">{entry.content}</p></div>@@ -229,7 +229,7 @@ function TeammatesVisual() {<div className="w-[220px] shrink-0 overflow-hidden border-l"><div className="p-4 space-y-4"><div>- <div className="flex items-center gap-1 text-xs font-medium mb-2">+ <div className="flex items-center gap-1 text-caption font-medium mb-2"><ChevronRight className="h-3.5 w-3.5 shrink-0 text-muted-foreground rotate-90" />Properties</div>@@ -253,7 +253,7 @@ function TeammatesVisual() {type="button"key={s}className={cn(- "flex w-full items-center gap-2 px-3 py-1.5 text-xs hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 px-3 py-1.5 text-caption hover:bg-accent transition-colors",s === status && "bg-accent",)}onClick={() => { setStatus(s); setStatusOpen(false); }}@@ -286,7 +286,7 @@ function TeammatesVisual() {type="button"key={p}className={cn(- "flex w-full items-center gap-2 px-3 py-1.5 text-xs hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 px-3 py-1.5 text-caption hover:bg-accent transition-colors",p === priority && "bg-accent",)}onClick={() => { setPriority(p); setPriorityOpen(false); }}@@ -323,14 +323,14 @@ function TeammatesVisual() {{/* Assignee picker — togglable */}{pickerOpen && (<div className="overflow-hidden rounded-md border bg-popover shadow-md">- <div className="border-b px-3 py-1.5 text-xs text-muted-foreground">+ <div className="border-b px-3 py-1.5 text-caption text-muted-foreground">Assign to...</div><div className="p-1"><buttontype="button"className={cn(- "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-xs text-muted-foreground hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-caption text-muted-foreground hover:bg-accent transition-colors",!assignee.type && "bg-accent",)}onClick={() => { setAssignee(allAssignees[0]!); setPickerOpen(false); }}@@ -341,7 +341,7 @@ function TeammatesVisual() {</button></div><div className="px-3 py-0.5">- <span className="text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Members</span>+ <span className="text-micro font-medium uppercase tracking-wider text-muted-foreground">Members</span></div><div className="p-1 pt-0">{allAssignees.filter((a) => a.type === "member").map((m) => (@@ -349,7 +349,7 @@ function TeammatesVisual() {type="button"key={m.id}className={cn(- "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-xs hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-caption hover:bg-accent transition-colors",assignee.id === m.id && "bg-accent",)}onClick={() => { setAssignee(m); setPickerOpen(false); }}@@ -361,7 +361,7 @@ function TeammatesVisual() {))}</div><div className="px-3 py-0.5">- <span className="text-[10px] font-medium uppercase tracking-wider text-muted-foreground">Agents</span>+ <span className="text-micro font-medium uppercase tracking-wider text-muted-foreground">Agents</span></div><div className="p-1 pt-0">{allAssignees.filter((a) => a.type === "agent").map((a) => (@@ -369,7 +369,7 @@ function TeammatesVisual() {type="button"key={a.id}className={cn(- "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-xs hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-caption hover:bg-accent transition-colors",assignee.id === a.id && "bg-accent",)}onClick={() => { setAssignee(a); setPickerOpen(false); }}@@ -420,8 +420,8 @@ function AutonomousVisual() {return (<div className="relative aspect-video overflow-hidden rounded-lg border bg-background text-foreground shadow-2xl">{/* Header bar */}- <div className="flex h-10 shrink-0 items-center border-b bg-background px-4 text-sm">- <div className="flex items-center gap-1.5 min-w-0 text-xs">+ <div className="flex h-10 shrink-0 items-center border-b bg-background px-4 text-body">+ <div className="flex items-center gap-1.5 min-w-0 text-caption"><span className="text-muted-foreground">Multica Demo</span><ChevronRight className="h-3 w-3 text-muted-foreground/50 shrink-0" /><span className="text-muted-foreground">MUL-18</span>@@ -438,12 +438,12 @@ function AutonomousVisual() {<div className="flex h-5 w-5 items-center justify-center rounded-full bg-info/10 text-info"><Bot className="h-3 w-3" /></div>- <div className="flex items-center gap-1.5 text-xs font-medium">+ <div className="flex items-center gap-1.5 text-caption font-medium"><Loader2 className="h-3 w-3 animate-spin text-info" />Agent is working</div>- <span className="ml-auto text-xs tabular-nums text-muted-foreground">7m 17s</span>- <span className="text-xs text-muted-foreground">10 tool calls</span>+ <span className="ml-auto text-caption tabular-nums text-muted-foreground">7m 17s</span>+ <span className="text-caption text-muted-foreground">10 tool calls</span></div>{/* Tool call timeline */}@@ -456,7 +456,7 @@ function AutonomousVisual() {<buttontype="button"key={i}- className="flex w-full items-center gap-2 rounded px-2 py-1 text-xs hover:bg-info/5 transition-colors"+ className="flex w-full items-center gap-2 rounded px-2 py-1 text-caption hover:bg-info/5 transition-colors"onClick={() => setExpanded(isExpanded ? null : i)}><ChevronRight className={cn("h-3 w-3 shrink-0 text-muted-foreground transition-transform", isExpanded && "rotate-90")} />@@ -471,7 +471,7 @@ function AutonomousVisual() {<buttontype="button"key={i}- className="flex w-full items-center gap-2 rounded px-2 py-1 text-xs hover:bg-info/5 transition-colors"+ className="flex w-full items-center gap-2 rounded px-2 py-1 text-caption hover:bg-info/5 transition-colors"onClick={() => setExpanded(isExpanded ? null : i)}><ChevronRight className={cn("h-3 w-3 shrink-0 text-muted-foreground transition-transform", isExpanded && "rotate-90")} />@@ -486,7 +486,7 @@ function AutonomousVisual() {<buttontype="button"key={i}- className="flex w-full items-center gap-2 rounded px-2 py-1 text-xs hover:bg-accent/50 transition-colors"+ className="flex w-full items-center gap-2 rounded px-2 py-1 text-caption hover:bg-accent/50 transition-colors"onClick={() => setExpanded(isExpanded ? null : i)}><ChevronRight className={cn("h-3 w-3 shrink-0 text-muted-foreground transition-transform", isExpanded && "rotate-90")} />@@ -500,10 +500,10 @@ function AutonomousVisual() {{/* Task run history */}<div className="mt-4">- <span className="text-xs font-medium text-muted-foreground">Task execution history</span>+ <span className="text-caption font-medium text-muted-foreground">Task execution history</span><div className="mt-2 space-y-1.5">{mockTaskHistory.map((task, i) => (- <div key={i} className="flex items-center gap-2 text-xs">+ <div key={i} className="flex items-center gap-2 text-caption">{task.status === "completed" ? (<CheckCircle2 className="h-3.5 w-3.5 shrink-0 text-success" />) : (@@ -550,7 +550,7 @@ function SkillsVisual() {{/* Skills list panel */}<div className="w-[200px] shrink-0 border-r flex flex-col"><div className="flex items-center justify-between border-b px-3 py-2">- <span className="text-xs font-semibold">Skills</span>+ <span className="text-caption font-semibold">Skills</span><button type="button" className="rounded p-0.5 text-muted-foreground hover:bg-accent transition-colors"><Sparkles className="h-3.5 w-3.5" /></button>@@ -570,8 +570,8 @@ function SkillsVisual() {<Sparkles className="h-3 w-3 text-muted-foreground" /></div><div className="min-w-0 flex-1">- <div className="truncate text-xs font-medium">{skill.name}</div>- <div className="truncate text-[10px] text-muted-foreground">{skill.description}</div>+ <div className="truncate text-caption font-medium">{skill.name}</div>+ <div className="truncate text-micro text-muted-foreground">{skill.description}</div></div></button>))}@@ -583,8 +583,8 @@ function SkillsVisual() {{/* Skill header */}<div className="flex items-center gap-2 border-b px-4 py-2.5"><Sparkles className="h-4 w-4 shrink-0 text-muted-foreground" />- <span className="text-sm font-medium">{mockSkills[selectedSkill]?.name}</span>- <span className="ml-2 text-xs text-muted-foreground">{mockSkills[selectedSkill]?.description}</span>+ <span className="text-body font-medium">{mockSkills[selectedSkill]?.name}</span>+ <span className="ml-2 text-caption text-muted-foreground">{mockSkills[selectedSkill]?.description}</span></div>{/* File browser */}@@ -592,7 +592,7 @@ function SkillsVisual() {{/* File tree */}<div className="w-44 shrink-0 border-r"><div className="flex items-center justify-between border-b px-3 py-1.5">- <span className="text-[10px] font-semibold uppercase tracking-wider text-muted-foreground">Files</span>+ <span className="text-micro font-semibold uppercase tracking-wider text-muted-foreground">Files</span></div><div className="py-1">{mockFileTree.map((f) => (@@ -600,7 +600,7 @@ function SkillsVisual() {type="button"key={f.name}className={cn(- "flex w-full items-center gap-1.5 py-1 text-xs transition-colors",+ "flex w-full items-center gap-1.5 py-1 text-caption transition-colors",selectedFile === f.name && !f.isDir ? "bg-accent text-accent-foreground" : "hover:bg-accent/50",)}style={{ paddingLeft: f.isDir ? f.depth * 12 + 8 : f.depth * 12 + 24 }}@@ -625,11 +625,11 @@ function SkillsVisual() {{/* File content viewer */}<div className="flex-1 flex flex-col min-w-0"><div className="flex h-8 items-center border-b px-3">- <span className="text-xs font-mono text-muted-foreground">{selectedFile}</span>+ <span className="text-caption font-mono text-muted-foreground">{selectedFile}</span></div><div className="flex-1 overflow-hidden p-4">{selectedFile === "SKILL.md" ? (- <div className="space-y-3 text-xs">+ <div className="space-y-3 text-caption">{/* Frontmatter */}<div className="rounded-md border bg-muted/30 p-3"><div className="grid grid-cols-[80px_1fr] gap-y-1">@@ -655,7 +655,7 @@ function SkillsVisual() {</div></div>) : (- <pre className="text-xs font-mono text-muted-foreground">+ <pre className="text-caption font-mono text-muted-foreground">{`CREATE TABLE IF NOT EXISTS notifications (id UUID PRIMARY KEY DEFAULT gen_random_uuid(),user_id UUID NOT NULL REFERENCES users(id),@@ -814,7 +814,7 @@ function RuntimesVisual() {{/* Runtime list */}<div className="w-[200px] shrink-0 border-r flex flex-col"><div className="flex items-center justify-between border-b px-3 py-2">- <span className="text-xs font-semibold">Runtimes</span>+ <span className="text-caption font-semibold">Runtimes</span></div><div className="flex-1 overflow-hidden">{mockRuntimeList.map((rt, i) => (@@ -836,11 +836,11 @@ function RuntimesVisual() {</div><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <span className="truncate text-xs font-medium">{rt.name}</span>+ <span className="truncate text-caption font-medium">{rt.name}</span></div><div className="flex items-center gap-1.5"><span className={cn("h-1.5 w-1.5 rounded-full", rt.status === "online" ? "bg-success" : "bg-muted-foreground/40")} />- <span className="text-[10px] text-muted-foreground">{rt.status}</span>+ <span className="text-micro text-muted-foreground">{rt.status}</span></div></div></button>@@ -859,12 +859,12 @@ function RuntimesVisual() {<Monitor className="h-4 w-4 text-muted-foreground" />)}</div>- <span className="text-sm font-semibold">{mockRuntimeList[selectedRuntime]?.name}</span>+ <span className="text-body font-semibold">{mockRuntimeList[selectedRuntime]?.name}</span><div className="flex items-center gap-1.5"><span className={cn("h-1.5 w-1.5 rounded-full", mockRuntimeList[selectedRuntime]?.status === "online" ? "bg-success" : "bg-muted-foreground/40")} />- <span className="text-xs text-muted-foreground">{mockRuntimeList[selectedRuntime]?.status}</span>+ <span className="text-caption text-muted-foreground">{mockRuntimeList[selectedRuntime]?.status}</span></div>- <span className="text-xs text-muted-foreground">{mockRuntimeList[selectedRuntime]?.device}</span>+ <span className="text-caption text-muted-foreground">{mockRuntimeList[selectedRuntime]?.device}</span></div>{/* Usage content */}@@ -878,7 +878,7 @@ function RuntimesVisual() {key={range}onClick={() => setTimeRange(range)}className={cn(- "rounded-md px-2 py-0.5 text-[10px] font-medium transition-colors",+ "rounded-md px-2 py-0.5 text-micro font-medium transition-colors",timeRange === range? "bg-primary text-primary-foreground": "text-muted-foreground hover:bg-accent",@@ -899,8 +899,8 @@ function RuntimesVisual() {{ label: "Cache Write", value: formatTokens(totals.cacheWrite) },].map((card) => (<div key={card.label} className="rounded-lg border px-3 py-2">- <div className="text-[10px] text-muted-foreground">{card.label}</div>- <div className="mt-0.5 text-sm font-semibold tabular-nums">{card.value}</div>+ <div className="text-micro text-muted-foreground">{card.label}</div>+ <div className="mt-0.5 text-body font-semibold tabular-nums">{card.value}</div></div>))}</div>@@ -909,7 +909,7 @@ function RuntimesVisual() {<div className="grid grid-cols-2 gap-3">{/* Activity Heatmap — mirrors real ActivityHeatmap */}<div className="rounded-lg border p-3">- <h4 className="text-[10px] font-medium text-muted-foreground mb-2">Activity</h4>+ <h4 className="text-micro font-medium text-muted-foreground mb-2">Activity</h4><div className="overflow-x-auto"><svg width={svgWidth} height={svgHeight} className="block">{["", "Mon", "", "Wed", "", "Fri", ""].map((label, i) =>@@ -932,7 +932,7 @@ function RuntimesVisual() {))}</svg></div>- <div className="mt-1.5 flex items-center justify-end gap-1 text-[9px] text-muted-foreground">+ <div className="mt-1.5 flex items-center justify-end gap-1 text-micro text-muted-foreground"><span>Less</span>{[0, 1, 2, 3, 4].map((level) => (<div key={level} className="h-[8px] w-[8px] rounded-[2px]" style={{ backgroundColor: getHeatmapColor(level) }} />@@ -943,9 +943,9 @@ function RuntimesVisual() {{/* Daily Cost — SVG bar chart mirroring real DailyCostChart */}<div className="rounded-lg border p-3">- <h4 className="text-[10px] font-medium text-muted-foreground mb-2">Daily Cost</h4>+ <h4 className="text-micro font-medium text-muted-foreground mb-2">Daily Cost</h4><DailyCostBars data={mockUsageData.slice(-14)} />- <div className="mt-1.5 flex justify-between text-[8px] text-muted-foreground">+ <div className="mt-1.5 flex justify-between text-micro text-muted-foreground"><span>Mar 18</span><span>Mar 25</span><span>Mar 31</span></div></div>@@ -1015,7 +1015,7 @@ export function FeaturesSection() {key={f.label}onClick={() => scrollToPanel(i)}className={cn(- "group flex items-center gap-3 rounded-lg px-4 py-3 text-left text-[11px] font-semibold tracking-[0.12em] transition-colors",+ "group flex items-center gap-3 rounded-lg px-4 py-3 text-left text-micro font-semibold tracking-[0.12em] transition-colors",i === activeIndex? "text-[#0a0d12]": "text-[#0a0d12]/36 hover:text-[#0a0d12]/60",@@ -1051,7 +1051,7 @@ export function FeaturesSection() {<h2 className="landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] text-[#0a0d12] sm:text-[3.4rem] lg:text-[4.2rem]">{feature.title}</h2>- <p className="mt-5 max-w-[640px] text-[15px] leading-7 text-[#0a0d12]/60 sm:text-[16px]">+ <p className="mt-5 max-w-[640px] text-body-lg leading-7 text-[#0a0d12]/60 sm:text-title-sm">{feature.description}</p>@@ -1079,7 +1079,7 @@ export function FeaturesSection() {<div className="grid size-14 place-items-center rounded-2xl border border-[#0a0d12]/8 bg-white shadow-sm"><ImageIcon className="size-6 text-[#0a0d12]/30" /></div>- <p className="text-[13px] text-[#0a0d12]/36">+ <p className="text-label text-[#0a0d12]/36">{feature.label.toLowerCase()} visual</p></div>@@ -1092,10 +1092,10 @@ export function FeaturesSection() {<div className="mt-14 grid gap-8 sm:mt-18 md:grid-cols-3 md:gap-10">{feature.cards.map((card) => (<div key={card.title}>- <h3 className="text-[15px] font-semibold leading-snug text-[#0a0d12] sm:text-[16px]">+ <h3 className="text-body-lg font-semibold leading-snug text-[#0a0d12] sm:text-title-sm">{card.title}</h3>- <p className="mt-2.5 text-[14px] leading-[1.7] text-[#0a0d12]/56 sm:text-[15px]">+ <p className="mt-2.5 text-body leading-[1.7] text-[#0a0d12]/56 sm:text-body-lg">{card.description}</p></div>diff --git a/apps/web/features/landing/components/how-it-works-section.tsx b/apps/web/features/landing/components/how-it-works-section.tsxindex cc9acb0b75..66a78966df 100644--- a/apps/web/features/landing/components/how-it-works-section.tsx+++ b/apps/web/features/landing/components/how-it-works-section.tsx@@ -14,7 +14,7 @@ export function HowItWorksSection() {return (<section id="how-it-works" className="bg-[#05070b] text-white"><div className="mx-auto max-w-[1320px] px-4 py-24 sm:px-6 sm:py-32 lg:px-8 lg:py-40">- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-white/40">+ <p className="text-micro font-semibold uppercase tracking-[0.16em] text-white/40">{t.howItWorks.label}</p><h2 className="mt-4 landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem] lg:text-[4.2rem]">@@ -29,13 +29,13 @@ export function HowItWorksSection() {key={i}className="flex flex-col bg-[#05070b] p-8 lg:p-10">- <span className="text-[13px] font-semibold tabular-nums text-white/28">+ <span className="text-label font-semibold tabular-nums text-white/28">{String(i + 1).padStart(2, "0")}</span>- <h3 className="mt-4 text-[17px] font-semibold leading-snug text-white sm:text-[18px]">+ <h3 className="mt-4 text-title font-semibold leading-snug text-white sm:text-title">{step.title}</h3>- <p className="mt-3 text-[14px] leading-[1.7] text-white/50 sm:text-[15px]">+ <p className="mt-3 text-body leading-[1.7] text-white/50 sm:text-body-lg">{step.description}</p></div>diff --git a/apps/web/features/landing/components/landing-footer.tsx b/apps/web/features/landing/components/landing-footer.tsxindex 11f329bdee..8222c22ca4 100644--- a/apps/web/features/landing/components/landing-footer.tsx+++ b/apps/web/features/landing/components/landing-footer.tsx@@ -30,11 +30,11 @@ export function LandingFooter() {<div className="lg:w-[340px] lg:shrink-0"><Link href="#product" className="flex items-center gap-3"><MulticaIcon className="size-5 text-white" noSpin />- <span className="text-[18px] font-semibold tracking-[0.04em] lowercase">+ <span className="text-title font-semibold tracking-[0.04em] lowercase">multica</span></Link>- <p className="mt-4 max-w-[300px] text-[14px] leading-[1.7] text-white/50 sm:text-[15px]">+ <p className="mt-4 max-w-[300px] text-body leading-[1.7] text-white/50 sm:text-body-lg">{t.footer.tagline}</p><div className="mt-4 flex items-center gap-3">@@ -67,7 +67,7 @@ export function LandingFooter() {<div className="mt-6"><Linkhref={ctaHref}- className="inline-flex items-center justify-center rounded-[11px] bg-white px-5 py-2.5 text-[13px] font-semibold text-[#0a0d12] transition-colors hover:bg-white/88"+ className="inline-flex items-center justify-center rounded-[11px] bg-white px-5 py-2.5 text-label font-semibold text-[#0a0d12] transition-colors hover:bg-white/88">{user ? t.header.dashboard : t.footer.cta}</Link>@@ -78,7 +78,7 @@ export function LandingFooter() {<div className="grid flex-1 grid-cols-2 gap-8 sm:grid-cols-4">{groups.map((group) => (<div key={group.label}>- <h4 className="text-[12px] font-semibold uppercase tracking-[0.1em] text-white/40">+ <h4 className="text-caption font-semibold uppercase tracking-[0.1em] text-white/40">{group.label}</h4><ul className="mt-4 flex flex-col gap-2.5">@@ -89,7 +89,7 @@ export function LandingFooter() {{...(link.href.startsWith("http")? { target: "_blank", rel: "noreferrer" }: {})}- className="text-[14px] text-white/50 transition-colors hover:text-white"+ className="text-body text-white/50 transition-colors hover:text-white">{link.label}</Link>@@ -103,7 +103,7 @@ export function LandingFooter() {{/* Bottom: copyright + language switcher */}<div className="flex items-center justify-between py-6">- <p className="text-[13px] text-white/36">+ <p className="text-label text-white/36">{t.footer.copyright.replace("{year}",String(new Date().getFullYear()),@@ -116,7 +116,7 @@ export function LandingFooter() {key={l}onClick={() => setLocale(l)}className={cn(- "px-1.5 py-1 text-[12px] font-medium transition-colors",+ "px-1.5 py-1 text-caption font-medium transition-colors",l === locale? "text-white/70": "text-white/30 hover:text-white/50",diff --git a/apps/web/features/landing/components/landing-header.tsx b/apps/web/features/landing/components/landing-header.tsxindex ca4c9fd229..b325013716 100644--- a/apps/web/features/landing/components/landing-header.tsx+++ b/apps/web/features/landing/components/landing-header.tsx@@ -51,7 +51,7 @@ export function LandingHeader({/><spanclassName={cn(- "text-[18px] font-semibold tracking-[0.04em] lowercase sm:text-[20px]",+ "text-title font-semibold tracking-[0.04em] lowercase sm:text-title-lg",variant === "dark" ? "text-white/92" : "text-[#0a0d12]",)}>@@ -175,7 +175,7 @@ function GitHubStarsBadge({ label }: { label: string }) {function navLinkClassName(variant: "dark" | "light") {return cn(- "inline-flex h-9 items-center rounded-[9px] px-3 text-[13px] font-medium transition-colors",+ "inline-flex h-9 items-center rounded-[9px] px-3 text-label font-medium transition-colors",variant === "dark"? "text-white/72 hover:bg-white/8 hover:text-white": "text-[#0a0d12]/62 hover:bg-[#0a0d12]/5 hover:text-[#0a0d12]",@@ -184,7 +184,7 @@ function navLinkClassName(variant: "dark" | "light") {function mobileNavLinkClassName(variant: "dark" | "light") {return cn(- "flex min-h-11 items-center gap-2 rounded-[10px] px-3 text-[14px] font-medium transition-colors",+ "flex min-h-11 items-center gap-2 rounded-[10px] px-3 text-body font-medium transition-colors",variant === "dark"? "text-white/76 hover:bg-white/8 hover:text-white": "text-[#0a0d12]/68 hover:bg-[#0a0d12]/5 hover:text-[#0a0d12]",diff --git a/apps/web/features/landing/components/landing-hero.tsx b/apps/web/features/landing/components/landing-hero.tsxindex 38b9bda05c..6948243664 100644--- a/apps/web/features/landing/components/landing-hero.tsx+++ b/apps/web/features/landing/components/landing-hero.tsx@@ -36,7 +36,7 @@ export function LandingHero() {{t.hero.headlineLine2}</h1>- <p className="mx-auto mt-7 max-w-[820px] text-[15px] leading-7 text-white/84 sm:text-[17px]">+ <p className="mx-auto mt-7 max-w-[820px] text-body-lg leading-7 text-white/84 sm:text-title">{t.hero.subheading}</p>@@ -53,7 +53,7 @@ export function LandingHero() {</Link><Linkhref="/contact-sales"- className="group inline-flex items-center justify-center gap-1.5 rounded-[12px] px-3 py-3 text-[14px] font-semibold text-white/80 transition-colors hover:text-white"+ className="group inline-flex items-center justify-center gap-1.5 rounded-[12px] px-3 py-3 text-body font-semibold text-white/80 transition-colors hover:text-white">{t.hero.talkToSales}<ArrowRight@@ -65,29 +65,29 @@ export function LandingHero() {</div><div className="mt-10 flex flex-wrap items-center justify-center gap-x-6 gap-y-3">- <span className="text-[15px] text-white/50">+ <span className="text-body-lg text-white/50">{t.hero.worksWith}</span><div className="flex flex-wrap items-center justify-center gap-x-5 gap-y-3"><div className="flex items-center gap-2.5 text-white/80"><ClaudeCodeLogo className="size-5" />- <span className="text-[15px] font-medium">Claude Code</span>+ <span className="text-body-lg font-medium">Claude Code</span></div><div className="flex items-center gap-2.5 text-white/80"><CodexLogo className="size-5" />- <span className="text-[15px] font-medium">Codex</span>+ <span className="text-body-lg font-medium">Codex</span></div><div className="flex items-center gap-2.5 text-white/80"><GeminiCliLogo className="size-5" />- <span className="text-[15px] font-medium">Gemini CLI</span>+ <span className="text-body-lg font-medium">Gemini CLI</span></div><div className="flex items-center gap-2.5 text-white/80"><OpenClawLogo className="size-5" />- <span className="text-[15px] font-medium">OpenClaw</span>+ <span className="text-body-lg font-medium">OpenClaw</span></div><div className="flex items-center gap-2.5 text-white/80"><OpenCodeLogo className="size-5" />- <span className="text-[15px] font-medium">OpenCode</span>+ <span className="text-body-lg font-medium">OpenCode</span></div></div></div>diff --git a/apps/web/features/landing/components/mdx/screenshot.tsx b/apps/web/features/landing/components/mdx/screenshot.tsxindex 00edc712b0..deef987c31 100644--- a/apps/web/features/landing/components/mdx/screenshot.tsx+++ b/apps/web/features/landing/components/mdx/screenshot.tsx@@ -32,7 +32,7 @@ export function Screenshot({/></div>{caption ? (- <figcaption className="mt-3 text-center text-[13px] text-[#0a0d12]/45">+ <figcaption className="mt-3 text-center text-label text-[#0a0d12]/45">{caption}</figcaption>) : null}diff --git a/apps/web/features/landing/components/open-source-section.tsx b/apps/web/features/landing/components/open-source-section.tsxindex 8d58053d7f..b3b784b33c 100644--- a/apps/web/features/landing/components/open-source-section.tsx+++ b/apps/web/features/landing/components/open-source-section.tsx@@ -13,7 +13,7 @@ export function OpenSourceSection() {<div className="flex flex-col gap-16 lg:flex-row lg:items-start lg:gap-24">{/* Left column — heading + CTA */}<div className="lg:w-[480px] lg:shrink-0">- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-[#0a0d12]/40">+ <p className="text-micro font-semibold uppercase tracking-[0.16em] text-[#0a0d12]/40">{t.openSource.label}</p><h2 className="mt-4 landing-serif text-[2.6rem] leading-[1.05] tracking-[-0.03em] sm:text-[3.4rem] lg:text-[4.2rem]">@@ -21,7 +21,7 @@ export function OpenSourceSection() {<br />{t.openSource.headlineLine2}</h2>- <p className="mt-6 max-w-[420px] text-[15px] leading-7 text-[#0a0d12]/60 sm:text-[16px]">+ <p className="mt-6 max-w-[420px] text-body-lg leading-7 text-[#0a0d12]/60 sm:text-title-sm">{t.openSource.description}</p><div className="mt-8 flex flex-wrap items-center gap-3">@@ -29,7 +29,7 @@ export function OpenSourceSection() {href={githubUrl}target="_blank"rel="noreferrer"- className="inline-flex items-center justify-center gap-2.5 rounded-[12px] bg-[#0a0d12] px-5 py-3 text-[14px] font-semibold text-white transition-colors hover:bg-[#0a0d12]/88"+ className="inline-flex items-center justify-center gap-2.5 rounded-[12px] bg-[#0a0d12] px-5 py-3 text-body font-semibold text-white transition-colors hover:bg-[#0a0d12]/88"><GitHubMark className="size-4" />{t.openSource.cta}@@ -42,10 +42,10 @@ export function OpenSourceSection() {<div className="grid gap-px overflow-hidden rounded-2xl border border-[#0a0d12]/8 bg-[#0a0d12]/8 sm:grid-cols-2">{t.openSource.highlights.map((item) => (<div key={item.title} className="bg-white p-8 lg:p-10">- <h3 className="text-[17px] font-semibold leading-snug text-[#0a0d12] sm:text-[18px]">+ <h3 className="text-title font-semibold leading-snug text-[#0a0d12] sm:text-title">{item.title}</h3>- <p className="mt-3 text-[14px] leading-[1.7] text-[#0a0d12]/56 sm:text-[15px]">+ <p className="mt-3 text-body leading-[1.7] text-[#0a0d12]/56 sm:text-body-lg">{item.description}</p></div>diff --git a/apps/web/features/landing/components/shared.tsx b/apps/web/features/landing/components/shared.tsxindex 8d7c557a8f..68dce71e16 100644--- a/apps/web/features/landing/components/shared.tsx+++ b/apps/web/features/landing/components/shared.tsx@@ -182,7 +182,7 @@ export function headerButtonClassName(variant: "dark" | "light" = "dark",) {return cn(- "inline-flex items-center justify-center gap-2 rounded-[11px] px-4 py-2.5 text-[13px] font-semibold transition-colors",+ "inline-flex items-center justify-center gap-2 rounded-[11px] px-4 py-2.5 text-label font-semibold transition-colors",variant === "dark"? tone === "solid"? "bg-white text-[#0a0d12] hover:bg-white/92"@@ -195,7 +195,7 @@ export function headerButtonClassName(export function heroButtonClassName(tone: "ghost" | "solid") {return cn(- "inline-flex items-center justify-center gap-2 rounded-[12px] px-5 py-3 text-[14px] font-semibold transition-colors",+ "inline-flex items-center justify-center gap-2 rounded-[12px] px-5 py-3 text-body font-semibold transition-colors",tone === "solid"? "bg-white text-[#0a0d12] hover:bg-white/92": "border border-white/18 bg-black/16 text-white backdrop-blur-sm hover:bg-black/24",diff --git a/packages/ui/components/common/capability-banner.tsx b/packages/ui/components/common/capability-banner.tsxindex 79bed5d788..42291efacb 100644--- a/packages/ui/components/common/capability-banner.tsx+++ b/packages/ui/components/common/capability-banner.tsx@@ -51,7 +51,7 @@ export function CapabilityBanner({<divrole="status"className={cn(- "flex items-center gap-2 rounded-md border border-dashed bg-muted/30 px-3 py-2 text-xs text-muted-foreground",+ "flex items-center gap-2 rounded-md border border-dashed bg-muted/30 px-3 py-2 text-caption text-muted-foreground",className,)}>diff --git a/packages/ui/components/common/error-boundary.tsx b/packages/ui/components/common/error-boundary.tsxindex 63f458a403..d68e7d6cb0 100644--- a/packages/ui/components/common/error-boundary.tsx+++ b/packages/ui/components/common/error-boundary.tsx@@ -81,7 +81,7 @@ function DefaultFallback({ error, reset }: { error: Error; reset: () => void })return (<divrole="alert"- className="flex flex-col items-start gap-3 rounded-md border border-dashed border-border bg-muted/30 p-4 text-sm"+ className="flex flex-col items-start gap-3 rounded-md border border-dashed border-border bg-muted/30 p-4 text-body"><div className="space-y-1"><p className="font-medium text-foreground">diff --git a/packages/ui/components/common/mention-hover-card.tsx b/packages/ui/components/common/mention-hover-card.tsxindex 0bf6e3cea2..c1eedb3a1a 100644--- a/packages/ui/components/common/mention-hover-card.tsx+++ b/packages/ui/components/common/mention-hover-card.tsx@@ -36,8 +36,8 @@ function MentionHoverCard({<Users className="h-4 w-4 text-primary" /></div><div className="min-w-0">- <p className="text-sm font-medium">All members</p>- <p className="text-xs text-muted-foreground">Notifies all workspace members</p>+ <p className="text-body font-medium">All members</p>+ <p className="text-caption text-muted-foreground">Notifies all workspace members</p></div></div></HoverCardContent>@@ -60,9 +60,9 @@ function MentionHoverCard({size="lg"/><div className="min-w-0">- <p className="text-sm font-medium truncate">{name}</p>+ <p className="text-body font-medium truncate">{name}</p>{role && (- <p className="text-xs text-muted-foreground truncate">{role}</p>+ <p className="text-caption text-muted-foreground truncate">{role}</p>)}</div></div>diff --git a/packages/ui/components/common/quick-emoji-picker.tsx b/packages/ui/components/common/quick-emoji-picker.tsxindex c806d9e92a..9e1d6cb15f 100644--- a/packages/ui/components/common/quick-emoji-picker.tsx+++ b/packages/ui/components/common/quick-emoji-picker.tsx@@ -45,7 +45,7 @@ function QuickEmojiPicker({ onSelect, align = "start", className }: QuickEmojiPi/><PopoverContent align={align} className="w-auto p-0">{showFull ? (- <Suspense fallback={<div className="p-4 text-sm text-muted-foreground">Loading...</div>}>+ <Suspense fallback={<div className="p-4 text-body text-muted-foreground">Loading...</div>}><EmojiPicker onSelect={handleSelect} /></Suspense>) : (@@ -56,7 +56,7 @@ function QuickEmojiPicker({ onSelect, align = "start", className }: QuickEmojiPikey={emoji}type="button"onClick={() => handleSelect(emoji)}- className="h-8 w-8 flex items-center justify-center rounded hover:bg-accent text-base transition-colors"+ className="h-8 w-8 flex items-center justify-center rounded hover:bg-accent text-title-sm transition-colors">{emoji}</button>@@ -65,7 +65,7 @@ function QuickEmojiPicker({ onSelect, align = "start", className }: QuickEmojiPi<buttontype="button"onClick={() => setShowFull(true)}- className="mt-1.5 w-full text-xs text-muted-foreground hover:text-foreground text-center py-1 rounded hover:bg-accent transition-colors"+ className="mt-1.5 w-full text-caption text-muted-foreground hover:text-foreground text-center py-1 rounded hover:bg-accent transition-colors">More emojis...</button>diff --git a/packages/ui/components/common/reaction-bar.tsx b/packages/ui/components/common/reaction-bar.tsxindex 1b57305c67..f041a01600 100644--- a/packages/ui/components/common/reaction-bar.tsx+++ b/packages/ui/components/common/reaction-bar.tsx@@ -60,7 +60,7 @@ function ReactionBar({<buttontype="button"onClick={() => onToggle(g.emoji)}- className={`inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-xs transition-colors hover:bg-brand/15 ${+ className={`inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-caption transition-colors hover:bg-brand/15 ${g.reacted? "border-brand/30 bg-brand/8 text-brand": "border-brand/10 bg-brand/4 text-muted-foreground"diff --git a/packages/ui/components/ui/accordion.tsx b/packages/ui/components/ui/accordion.tsxindex 08461bf9a8..124c859f35 100644--- a/packages/ui/components/ui/accordion.tsx+++ b/packages/ui/components/ui/accordion.tsx@@ -35,7 +35,7 @@ function AccordionTrigger({<AccordionPrimitive.Triggerdata-slot="accordion-trigger"className={cn(- "group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",+ "group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-left text-body font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",className)}{...props}@@ -56,7 +56,7 @@ function AccordionContent({return (<AccordionPrimitive.Paneldata-slot="accordion-content"- className="overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up"+ className="overflow-hidden text-body data-open:animate-accordion-down data-closed:animate-accordion-up"{...props}><divdiff --git a/packages/ui/components/ui/alert-dialog.tsx b/packages/ui/components/ui/alert-dialog.tsxindex 2a6374fe46..757f82d845 100644--- a/packages/ui/components/ui/alert-dialog.tsx+++ b/packages/ui/components/ui/alert-dialog.tsx@@ -117,7 +117,7 @@ function AlertDialogTitle({<AlertDialogPrimitive.Titledata-slot="alert-dialog-title"className={cn(- "font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",+ "font-heading text-title-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",className)}{...props}@@ -133,7 +133,7 @@ function AlertDialogDescription({<AlertDialogPrimitive.Descriptiondata-slot="alert-dialog-description"className={cn(- "text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",+ "text-body text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",className)}{...props}diff --git a/packages/ui/components/ui/alert.tsx b/packages/ui/components/ui/alert.tsxindex 8bebd74765..8411471157 100644--- a/packages/ui/components/ui/alert.tsx+++ b/packages/ui/components/ui/alert.tsx@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@multica/ui/lib/utils"const alertVariants = cva(- "group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",+ "group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-body has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants: {variant: {@@ -55,7 +55,7 @@ function AlertDescription({<divdata-slot="alert-description"className={cn(- "text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",+ "text-body text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",className)}{...props}diff --git a/packages/ui/components/ui/avatar.tsx b/packages/ui/components/ui/avatar.tsxindex 5714db048a..c6eabdd776 100644--- a/packages/ui/components/ui/avatar.tsx+++ b/packages/ui/components/ui/avatar.tsx@@ -46,7 +46,7 @@ function AvatarFallback({<AvatarPrimitive.Fallbackdata-slot="avatar-fallback"className={cn(- "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",+ "flex size-full items-center justify-center rounded-full bg-muted text-body text-muted-foreground group-data-[size=sm]/avatar:text-caption",className)}{...props}@@ -91,7 +91,7 @@ function AvatarGroupCount({<divdata-slot="avatar-group-count"className={cn(- "relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3",+ "relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-body text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3",className)}{...props}diff --git a/packages/ui/components/ui/badge.tsx b/packages/ui/components/ui/badge.tsxindex 99d988a15d..f03966621f 100644--- a/packages/ui/components/ui/badge.tsx+++ b/packages/ui/components/ui/badge.tsx@@ -5,7 +5,7 @@ import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@multica/ui/lib/utils"const badgeVariants = cva(- "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",+ "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-caption font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants: {variant: {diff --git a/packages/ui/components/ui/breadcrumb.tsx b/packages/ui/components/ui/breadcrumb.tsxindex fb267d2087..01072432b3 100644--- a/packages/ui/components/ui/breadcrumb.tsx+++ b/packages/ui/components/ui/breadcrumb.tsx@@ -21,7 +21,7 @@ function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {<oldata-slot="breadcrumb-list"className={cn(- "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",+ "flex flex-wrap items-center gap-1.5 text-body wrap-break-word text-muted-foreground",className)}{...props}diff --git a/packages/ui/components/ui/button-group.tsx b/packages/ui/components/ui/button-group.tsxindex bc755bed66..beff59cbb9 100644--- a/packages/ui/components/ui/button-group.tsx+++ b/packages/ui/components/ui/button-group.tsx@@ -48,7 +48,7 @@ function ButtonGroupText({props: mergeProps<"div">({className: cn(- "flex items-center gap-2 rounded-lg border bg-muted px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",+ "flex items-center gap-2 rounded-lg border bg-muted px-2.5 text-body font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",className),},diff --git a/packages/ui/components/ui/button.tsx b/packages/ui/components/ui/button.tsxindex bb3faf2b34..e943afc13b 100644--- a/packages/ui/components/ui/button.tsx+++ b/packages/ui/components/ui/button.tsx@@ -6,7 +6,7 @@ import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@multica/ui/lib/utils"const buttonVariants = cva(- "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,transform] outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-body font-medium whitespace-nowrap transition-[color,background-color,border-color,box-shadow,transform] outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants: {variant: {@@ -45,8 +45,8 @@ const buttonVariants = cva(size: {default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",- xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",- sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",+ xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-caption in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",+ sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-label in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon: "size-8","icon-xs":diff --git a/packages/ui/components/ui/calendar.tsx b/packages/ui/components/ui/calendar.tsxindex 654c78fc33..97bf0ff88d 100644--- a/packages/ui/components/ui/calendar.tsx+++ b/packages/ui/components/ui/calendar.tsx@@ -69,7 +69,7 @@ function Calendar({defaultClassNames.month_caption),dropdowns: cn(- "flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",+ "flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-body font-medium",defaultClassNames.dropdowns),dropdown_root: cn(@@ -83,14 +83,14 @@ function Calendar({caption_label: cn("font-medium select-none",captionLayout === "label"- ? "text-sm"- : "flex items-center gap-1 rounded-(--cell-radius) text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",+ ? "text-body"+ : "flex items-center gap-1 rounded-(--cell-radius) text-body [&>svg]:size-3.5 [&>svg]:text-muted-foreground",defaultClassNames.caption_label),table: "w-full border-collapse",weekdays: cn("flex", defaultClassNames.weekdays),weekday: cn(- "flex-1 rounded-(--cell-radius) text-[0.8rem] font-normal text-muted-foreground select-none",+ "flex-1 rounded-(--cell-radius) text-caption font-normal text-muted-foreground select-none",defaultClassNames.weekday),week: cn("mt-2 flex w-full", defaultClassNames.week),@@ -99,7 +99,7 @@ function Calendar({defaultClassNames.week_number_header),week_number: cn(- "text-[0.8rem] text-muted-foreground select-none",+ "text-caption text-muted-foreground select-none",defaultClassNames.week_number),day: cn(@@ -209,7 +209,7 @@ function CalendarDayButton({data-range-end={modifiers.range_end}data-range-middle={modifiers.range_middle}className={cn(- "relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70",+ "relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-caption [&>span]:opacity-70",defaultClassNames.day,className)}diff --git a/packages/ui/components/ui/card.tsx b/packages/ui/components/ui/card.tsxindex 1e79fd763e..9ab08940ec 100644--- a/packages/ui/components/ui/card.tsx+++ b/packages/ui/components/ui/card.tsx@@ -12,7 +12,7 @@ function Card({data-slot="card"data-size={size}className={cn(- "group/card flex flex-col gap-4 overflow-hidden rounded-xl border border-surface-border bg-surface py-4 text-sm text-surface-foreground shadow-[var(--surface-shadow)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",+ "group/card flex flex-col gap-4 overflow-hidden rounded-xl border border-surface-border bg-surface py-4 text-body text-surface-foreground shadow-[var(--surface-shadow)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",className)}{...props}@@ -38,7 +38,7 @@ function CardTitle({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="card-title"className={cn(- "font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",+ "font-heading text-title-sm leading-snug font-medium group-data-[size=sm]/card:text-body",className)}{...props}@@ -50,7 +50,7 @@ function CardDescription({ className, ...props }: React.ComponentProps<"div">) {return (<divdata-slot="card-description"- className={cn("text-sm text-muted-foreground", className)}+ className={cn("text-body text-muted-foreground", className)}{...props}/>)diff --git a/packages/ui/components/ui/chart.tsx b/packages/ui/components/ui/chart.tsxindex 6bd0b03663..40cb821e8e 100644--- a/packages/ui/components/ui/chart.tsx+++ b/packages/ui/components/ui/chart.tsx@@ -65,7 +65,7 @@ function ChartContainer({data-slot="chart"data-chart={chartId}className={cn(- "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",+ "flex aspect-video justify-center text-caption [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",className)}{...props}@@ -202,7 +202,7 @@ function ChartTooltipContent({return (<divclassName={cn(- "grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",+ "grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-caption shadow-xl",className)}>diff --git a/packages/ui/components/ui/combobox.tsx b/packages/ui/components/ui/combobox.tsxindex 46db2974a9..118e316f4d 100644--- a/packages/ui/components/ui/combobox.tsx+++ b/packages/ui/components/ui/combobox.tsx@@ -140,7 +140,7 @@ function ComboboxItem({<ComboboxPrimitive.Itemdata-slot="combobox-item"className={cn(- "relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -174,7 +174,7 @@ function ComboboxLabel({return (<ComboboxPrimitive.GroupLabeldata-slot="combobox-label"- className={cn("px-2 py-1.5 text-xs text-muted-foreground", className)}+ className={cn("px-2 py-1.5 text-caption text-muted-foreground", className)}{...props}/>)@@ -191,7 +191,7 @@ function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props) {<ComboboxPrimitive.Emptydata-slot="combobox-empty"className={cn(- "hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex",+ "hidden w-full justify-center py-2 text-center text-body text-muted-foreground group-data-empty/combobox-content:flex",className)}{...props}@@ -221,7 +221,7 @@ function ComboboxChips({<ComboboxPrimitive.Chipsdata-slot="combobox-chips"className={cn(- "flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",+ "flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-body transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",className)}{...props}@@ -241,7 +241,7 @@ function ComboboxChip({<ComboboxPrimitive.Chipdata-slot="combobox-chip"className={cn(- "flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",+ "flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-caption font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",className)}{...props}diff --git a/packages/ui/components/ui/command.tsx b/packages/ui/components/ui/command.tsxindex da3fbe46a3..99d5e6e58a 100644--- a/packages/ui/components/ui/command.tsx+++ b/packages/ui/components/ui/command.tsx@@ -77,7 +77,7 @@ function CommandInput({<CommandPrimitive.Inputdata-slot="command-input"className={cn(- "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",+ "w-full text-body outline-hidden disabled:cursor-not-allowed disabled:opacity-50",className)}onKeyDown={(e) => {@@ -121,7 +121,7 @@ function CommandEmpty({return (<CommandPrimitive.Emptydata-slot="command-empty"- className={cn("py-6 text-center text-sm", className)}+ className={cn("py-6 text-center text-body", className)}{...props}/>)@@ -135,7 +135,7 @@ function CommandGroup({<CommandPrimitive.Groupdata-slot="command-group"className={cn(- "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",+ "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-caption **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",className)}{...props}@@ -165,7 +165,7 @@ function CommandItem({<CommandPrimitive.Itemdata-slot="command-item"className={cn(- "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group/command-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-body outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -184,7 +184,7 @@ function CommandShortcut({<spandata-slot="command-shortcut"className={cn(- "ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground",+ "ml-auto text-caption tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground",className)}{...props}diff --git a/packages/ui/components/ui/context-menu.tsx b/packages/ui/components/ui/context-menu.tsxindex c74fe341dd..c12bbfe830 100644--- a/packages/ui/components/ui/context-menu.tsx+++ b/packages/ui/components/ui/context-menu.tsx@@ -80,7 +80,7 @@ function ContextMenuLabel({data-slot="context-menu-label"data-inset={inset}className={cn(- "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",+ "px-1.5 py-1 text-caption font-medium text-muted-foreground data-inset:pl-7",className)}{...props}@@ -103,7 +103,7 @@ function ContextMenuItem({data-inset={inset}data-variant={variant}className={cn(- "group/context-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group/context-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -130,7 +130,7 @@ function ContextMenuSubTrigger({data-slot="context-menu-sub-trigger"data-inset={inset}className={cn(- "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -167,7 +167,7 @@ function ContextMenuCheckboxItem({data-slot="context-menu-checkbox-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}checked={checked}@@ -208,7 +208,7 @@ function ContextMenuRadioItem({data-slot="context-menu-radio-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -245,7 +245,7 @@ function ContextMenuShortcut({<spandata-slot="context-menu-shortcut"className={cn(- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",+ "ml-auto text-caption tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground",className)}{...props}diff --git a/packages/ui/components/ui/data-table.tsx b/packages/ui/components/ui/data-table.tsxindex 004719e35e..5c8b8a7cb7 100644--- a/packages/ui/components/ui/data-table.tsx+++ b/packages/ui/components/ui/data-table.tsx@@ -390,7 +390,7 @@ export function DataTable<TData>({className="flex min-h-0 flex-1 flex-col overflow-auto bg-background"><table- className="w-full table-fixed caption-bottom text-sm"+ className="w-full table-fixed caption-bottom text-body"style={{minWidth: `${table.getTotalSize()}px`,...columnSizeVars,@@ -436,7 +436,7 @@ export function DataTable<TData>({// Header typography overrides for a "spreadsheet// header" look: smaller, all-caps, wider letter// spacing, muted colour. shadcn's <TableHead>- // defaults to text-sm + text-foreground ++ // defaults to text-body + text-foreground +// font-medium, which reads as too heavy here.// h-8 (32px) tightens the strip vs the default// h-10 (40px).@@ -449,7 +449,7 @@ export function DataTable<TData>({// muted with background to preserve the same visual tone// as muted/30 without introducing alpha.className={cn(- "relative h-8 overflow-hidden border-r px-4 py-2 text-xs uppercase tracking-wider text-muted-foreground last:border-r-0",+ "relative h-8 overflow-hidden border-r px-4 py-2 text-caption uppercase tracking-wider text-muted-foreground last:border-r-0",isPinned &&"bg-[color-mix(in_oklab,var(--muted)_30%,var(--background))]",)}diff --git a/packages/ui/components/ui/dialog.tsx b/packages/ui/components/ui/dialog.tsxindex 3ddd7da900..4c7bb33057 100644--- a/packages/ui/components/ui/dialog.tsx+++ b/packages/ui/components/ui/dialog.tsx@@ -53,7 +53,7 @@ function DialogContent({<DialogPrimitive.Popupdata-slot="dialog-content"className={cn(- "fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-surface-raised p-4 text-sm text-popover-foreground shadow-[var(--floating-shadow)] ring-1 ring-surface-border duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ "fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-surface-raised p-4 text-body text-popover-foreground shadow-[var(--floating-shadow)] ring-1 ring-surface-border duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",className)}{...props}@@ -122,7 +122,7 @@ function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {<DialogPrimitive.Titledata-slot="dialog-title"className={cn(- "font-heading text-base leading-none font-medium",+ "font-heading text-title-sm leading-none font-medium",className)}{...props}@@ -138,7 +138,7 @@ function DialogDescription({<DialogPrimitive.Descriptiondata-slot="dialog-description"className={cn(- "text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",+ "text-body text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",className)}{...props}diff --git a/packages/ui/components/ui/drawer.tsx b/packages/ui/components/ui/drawer.tsxindex 4413a03eda..ab7cddbdef 100644--- a/packages/ui/components/ui/drawer.tsx+++ b/packages/ui/components/ui/drawer.tsx@@ -56,7 +56,7 @@ function DrawerContent({<DrawerPrimitive.Contentdata-slot="drawer-content"className={cn(- "group/drawer-content fixed z-50 flex h-auto flex-col bg-popover text-sm text-popover-foreground data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",+ "group/drawer-content fixed z-50 flex h-auto flex-col bg-popover text-body text-popover-foreground data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",className)}{...props}@@ -99,7 +99,7 @@ function DrawerTitle({<DrawerPrimitive.Titledata-slot="drawer-title"className={cn(- "font-heading text-base font-medium text-foreground",+ "font-heading text-title-sm font-medium text-foreground",className)}{...props}@@ -114,7 +114,7 @@ function DrawerDescription({return (<DrawerPrimitive.Descriptiondata-slot="drawer-description"- className={cn("text-sm text-muted-foreground", className)}+ className={cn("text-body text-muted-foreground", className)}{...props}/>)diff --git a/packages/ui/components/ui/dropdown-menu.tsx b/packages/ui/components/ui/dropdown-menu.tsxindex 3bb91bc097..d60143c607 100644--- a/packages/ui/components/ui/dropdown-menu.tsx+++ b/packages/ui/components/ui/dropdown-menu.tsx@@ -75,7 +75,7 @@ function DropdownMenuLabel({data-slot="dropdown-menu-label"data-inset={inset}className={cn(- "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",+ "px-1.5 py-1 text-caption font-medium text-muted-foreground data-inset:pl-7",className)}{...props}@@ -98,7 +98,7 @@ function DropdownMenuItem({data-inset={inset}data-variant={variant}className={cn(- "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -123,7 +123,7 @@ function DropdownMenuSubTrigger({data-slot="dropdown-menu-sub-trigger"data-inset={inset}className={cn(- "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -169,7 +169,7 @@ function DropdownMenuCheckboxItem({data-slot="dropdown-menu-checkbox-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}checked={checked}@@ -211,7 +211,7 @@ function DropdownMenuRadioItem({data-slot="dropdown-menu-radio-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -251,7 +251,7 @@ function DropdownMenuShortcut({<spandata-slot="dropdown-menu-shortcut"className={cn(- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",+ "ml-auto text-caption tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",className)}{...props}diff --git a/packages/ui/components/ui/empty.tsx b/packages/ui/components/ui/empty.tsxindex a9580d88fb..42537bb0ad 100644--- a/packages/ui/components/ui/empty.tsx+++ b/packages/ui/components/ui/empty.tsx@@ -60,7 +60,7 @@ function EmptyTitle({ className, ...props }: React.ComponentProps<"h2">) {<h2data-slot="empty-title"className={cn(- "font-heading text-sm font-medium tracking-tight",+ "font-heading text-body font-medium tracking-tight",className)}{...props}@@ -73,7 +73,7 @@ function EmptyDescription({ className, ...props }: React.ComponentProps<"p">) {<pdata-slot="empty-description"className={cn(- "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",+ "text-body/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",className)}{...props}@@ -86,7 +86,7 @@ function EmptyContent({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="empty-content"className={cn(- "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-body text-balance",className)}{...props}diff --git a/packages/ui/components/ui/field.tsx b/packages/ui/components/ui/field.tsxindex 74ece3ada0..edf65274ae 100644--- a/packages/ui/components/ui/field.tsx+++ b/packages/ui/components/ui/field.tsx@@ -30,7 +30,7 @@ function FieldLegend({data-slot="field-legend"data-variant={variant}className={cn(- "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",+ "mb-1.5 font-medium data-[variant=label]:text-body data-[variant=legend]:text-title-sm",className)}{...props}@@ -120,7 +120,7 @@ function FieldTitle({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="field-label"className={cn(- "flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50",+ "flex w-fit items-center gap-2 text-body leading-snug font-medium group-data-[disabled=true]/field:opacity-50",className)}{...props}@@ -133,7 +133,7 @@ function FieldDescription({ className, ...props }: React.ComponentProps<"p">) {<pdata-slot="field-description"className={cn(- "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",+ "text-left text-body leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5","last:mt-0 nth-last-2:-mt-1","[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",className@@ -155,7 +155,7 @@ function FieldSeparator({data-slot="field-separator"data-content={!!children}className={cn(- "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",+ "relative -my-2 h-5 text-body group-data-[variant=outline]/field-group:-mb-2",className)}{...props}@@ -216,7 +216,7 @@ function FieldError({<divrole="alert"data-slot="field-error"- className={cn("text-sm font-normal text-destructive", className)}+ className={cn("text-body font-normal text-destructive", className)}{...props}>{content}diff --git a/packages/ui/components/ui/hover-card.tsx b/packages/ui/components/ui/hover-card.tsxindex ed83f8f079..f703c5b749 100644--- a/packages/ui/components/ui/hover-card.tsx+++ b/packages/ui/components/ui/hover-card.tsx@@ -64,7 +64,7 @@ function HoverCardContent({onAuxClick={stop(onAuxClick)}onDoubleClick={stop(onDoubleClick)}className={cn(- "z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ "z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-2.5 text-body text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",className)}{...props}diff --git a/packages/ui/components/ui/input-group.tsx b/packages/ui/components/ui/input-group.tsxindex 8432d1b824..fb4e452c3d 100644--- a/packages/ui/components/ui/input-group.tsx+++ b/packages/ui/components/ui/input-group.tsx@@ -25,7 +25,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<"div">) {}const inputGroupAddonVariants = cva(- "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",+ "flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-body font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",{variants: {align: {@@ -77,7 +77,7 @@ function InputGroupAddon({}const inputGroupButtonVariants = cva(- "flex items-center gap-2 text-sm shadow-none",+ "flex items-center gap-2 text-body shadow-none",{variants: {size: {@@ -119,7 +119,7 @@ function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {return (<spanclassName={cn(- "flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",+ "flex items-center gap-2 text-body text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",className)}{...props}diff --git a/packages/ui/components/ui/input-otp.tsx b/packages/ui/components/ui/input-otp.tsxindex e448bacff3..c6b082acb0 100644--- a/packages/ui/components/ui/input-otp.tsx+++ b/packages/ui/components/ui/input-otp.tsx@@ -55,7 +55,7 @@ function InputOTPSlot({data-slot="input-otp-slot"data-active={isActive}className={cn(- "relative flex size-8 items-center justify-center border-y border-r border-input text-sm transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40",+ "relative flex size-8 items-center justify-center border-y border-r border-input text-body transition-all outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40",className)}{...props}diff --git a/packages/ui/components/ui/input.tsx b/packages/ui/components/ui/input.tsxindex 2977912eab..d34594342f 100644--- a/packages/ui/components/ui/input.tsx+++ b/packages/ui/components/ui/input.tsx@@ -9,7 +9,7 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {type={type}data-slot="input"className={cn(- "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",+ "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-title-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-body file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-body dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",className)}{...props}diff --git a/packages/ui/components/ui/item.tsx b/packages/ui/components/ui/item.tsxindex 4faeb2c1c1..748ba05e10 100644--- a/packages/ui/components/ui/item.tsx+++ b/packages/ui/components/ui/item.tsx@@ -35,7 +35,7 @@ function ItemSeparator({}const itemVariants = cva(- "group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",+ "group/item flex w-full flex-wrap items-center rounded-lg border text-body transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",{variants: {variant: {@@ -130,7 +130,7 @@ function ItemTitle({ className, ...props }: React.ComponentProps<"div">) {<divdata-slot="item-title"className={cn(- "font-heading line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",+ "font-heading line-clamp-1 flex w-fit items-center gap-2 text-body leading-snug font-medium underline-offset-4",className)}{...props}@@ -143,7 +143,7 @@ function ItemDescription({ className, ...props }: React.ComponentProps<"p">) {<pdata-slot="item-description"className={cn(- "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",+ "line-clamp-2 text-left text-body leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-caption [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",className)}{...props}diff --git a/packages/ui/components/ui/kbd.tsx b/packages/ui/components/ui/kbd.tsxindex 860888b090..439695a14c 100644--- a/packages/ui/components/ui/kbd.tsx+++ b/packages/ui/components/ui/kbd.tsx@@ -8,7 +8,7 @@ function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {// No in-tooltip color overrides: upstream shadcn inverts its tooltip// (dark surface in light mode), but our TooltipContent keeps the// popover surface, so the regular muted keycap colors stay readable.- "pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none [&_svg:not([class*='size-'])]:size-3",+ "pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-caption font-medium text-muted-foreground select-none [&_svg:not([class*='size-'])]:size-3",className)}{...props}diff --git a/packages/ui/components/ui/label.tsx b/packages/ui/components/ui/label.tsxindex 51e4da9427..b085f683c9 100644--- a/packages/ui/components/ui/label.tsx+++ b/packages/ui/components/ui/label.tsx@@ -9,7 +9,7 @@ function Label({ className, ...props }: React.ComponentProps<"label">) {<labeldata-slot="label"className={cn(- "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",+ "flex items-center gap-2 text-body leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",className)}{...props}diff --git a/packages/ui/components/ui/list-grid.tsx b/packages/ui/components/ui/list-grid.tsxindex 683ed115e9..84553e69a2 100644--- a/packages/ui/components/ui/list-grid.tsx+++ b/packages/ui/components/ui/list-grid.tsx@@ -87,7 +87,7 @@ function ListGridHeaderCell({<divrole="columnheader"className={cn(- "flex min-w-0 items-center px-2 text-xs text-muted-foreground",+ "flex min-w-0 items-center px-2 text-caption text-muted-foreground",align === "right" && "justify-end",className,)}@@ -119,7 +119,7 @@ function ListGridHeaderCell({type="button"onClick={onSort}className={cn(- "group/sort flex h-6 items-center gap-0.5 rounded-md text-xs transition-colors",+ "group/sort flex h-6 items-center gap-0.5 rounded-md text-caption transition-colors",// Active sort column: emphasis via weight + full foreground color// only — no background, so the header row stays quiet.sorteddiff --git a/packages/ui/components/ui/menubar.tsx b/packages/ui/components/ui/menubar.tsxindex 25bb7a80d4..9ad056e6ce 100644--- a/packages/ui/components/ui/menubar.tsx+++ b/packages/ui/components/ui/menubar.tsx@@ -59,7 +59,7 @@ function MenubarTrigger({<DropdownMenuTriggerdata-slot="menubar-trigger"className={cn(- "flex items-center rounded-sm px-1.5 py-[2px] text-sm font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted",+ "flex items-center rounded-sm px-1.5 py-[2px] text-body font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted",className)}{...props}@@ -98,7 +98,7 @@ function MenubarItem({data-inset={inset}data-variant={variant}className={cn(- "group/menubar-item gap-1.5 rounded-md px-1.5 py-1 text-sm focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4",+ "group/menubar-item gap-1.5 rounded-md px-1.5 py-1 text-body focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -120,7 +120,7 @@ function MenubarCheckboxItem({data-slot="menubar-checkbox-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",className)}checked={checked}@@ -156,7 +156,7 @@ function MenubarRadioItem({data-slot="menubar-radio-item"data-inset={inset}className={cn(- "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -184,7 +184,7 @@ function MenubarLabel({data-slot="menubar-label"data-inset={inset}className={cn(- "px-1.5 py-1 text-sm font-medium data-inset:pl-7",+ "px-1.5 py-1 text-body font-medium data-inset:pl-7",className)}{...props}@@ -213,7 +213,7 @@ function MenubarShortcut({<DropdownMenuShortcutdata-slot="menubar-shortcut"className={cn(- "ml-auto text-xs tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground",+ "ml-auto text-caption tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground",className)}{...props}@@ -239,7 +239,7 @@ function MenubarSubTrigger({data-slot="menubar-sub-trigger"data-inset={inset}className={cn(- "gap-1.5 rounded-md px-1.5 py-1 text-sm focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",+ "gap-1.5 rounded-md px-1.5 py-1 text-body focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg:not([class*='size-'])]:size-4",className)}{...props}diff --git a/packages/ui/components/ui/native-select.tsx b/packages/ui/components/ui/native-select.tsxindex c007ac4f88..304e589f9c 100644--- a/packages/ui/components/ui/native-select.tsx+++ b/packages/ui/components/ui/native-select.tsx@@ -24,7 +24,7 @@ function NativeSelect({<selectdata-slot="native-select"data-size={size}- className="h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40"+ className="h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-body transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40"{...props}/><ChevronDownIcon className="pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none" aria-hidden="true" data-slot="native-select-icon" />diff --git a/packages/ui/components/ui/navigation-menu.tsx b/packages/ui/components/ui/navigation-menu.tsxindex b451db9709..87eac25371 100644--- a/packages/ui/components/ui/navigation-menu.tsx+++ b/packages/ui/components/ui/navigation-menu.tsx@@ -56,7 +56,7 @@ function NavigationMenuItem({}const navigationMenuTriggerStyle = cva(- "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg bg-background px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted"+ "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg bg-background px-2.5 py-1.5 text-body font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted")function NavigationMenuTrigger({@@ -129,7 +129,7 @@ function NavigationMenuLink({<NavigationMenuPrimitive.Linkdata-slot="navigation-menu-link"className={cn(- "flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4",+ "flex items-center gap-2 rounded-lg p-2 text-body transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4",className)}{...props}diff --git a/packages/ui/components/ui/popover.tsx b/packages/ui/components/ui/popover.tsxindex af5dc90bd7..8d1f34f31a 100644--- a/packages/ui/components/ui/popover.tsx+++ b/packages/ui/components/ui/popover.tsx@@ -43,7 +43,7 @@ function PopoverContent({<PopoverPrimitive.Popupdata-slot="popover-content"className={cn(- "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-surface-raised p-2.5 text-sm text-popover-foreground shadow-[var(--menu-shadow)] ring-1 ring-surface-border outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-surface-raised p-2.5 text-body text-popover-foreground shadow-[var(--menu-shadow)] ring-1 ring-surface-border outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",className)}{...props}@@ -57,7 +57,7 @@ function PopoverHeader({ className, ...props }: React.ComponentProps<"div">) {return (<divdata-slot="popover-header"- className={cn("flex flex-col gap-0.5 text-sm", className)}+ className={cn("flex flex-col gap-0.5 text-body", className)}{...props}/>)diff --git a/packages/ui/components/ui/progress.tsx b/packages/ui/components/ui/progress.tsxindex 353f4bef9b..55510905a9 100644--- a/packages/ui/components/ui/progress.tsx+++ b/packages/ui/components/ui/progress.tsx@@ -54,7 +54,7 @@ function ProgressIndicator({function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props) {return (<ProgressPrimitive.Label- className={cn("text-sm font-medium", className)}+ className={cn("text-body font-medium", className)}data-slot="progress-label"{...props}/>@@ -65,7 +65,7 @@ function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props) {return (<ProgressPrimitive.ValueclassName={cn(- "ml-auto text-sm text-muted-foreground tabular-nums",+ "ml-auto text-body text-muted-foreground tabular-nums",className)}data-slot="progress-value"diff --git a/packages/ui/components/ui/select.tsx b/packages/ui/components/ui/select.tsxindex c3cb5e45ba..0c1c966645 100644--- a/packages/ui/components/ui/select.tsx+++ b/packages/ui/components/ui/select.tsx@@ -56,7 +56,7 @@ function SelectTrigger({data-slot="select-trigger"data-size={size}className={cn(- "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-body whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className)}{...props}@@ -117,7 +117,7 @@ function SelectLabel({return (<SelectPrimitive.GroupLabeldata-slot="select-label"- className={cn("px-1.5 py-1 text-xs text-muted-foreground", className)}+ className={cn("px-1.5 py-1 text-caption text-muted-foreground", className)}{...props}/>)@@ -132,7 +132,7 @@ function SelectItem({<SelectPrimitive.Itemdata-slot="select-item"className={cn(- "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",+ "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-body outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",className)}{...props}diff --git a/packages/ui/components/ui/sheet.tsx b/packages/ui/components/ui/sheet.tsxindex ae69a10997..5b4a6dbc07 100644--- a/packages/ui/components/ui/sheet.tsx+++ b/packages/ui/components/ui/sheet.tsx@@ -53,7 +53,7 @@ function SheetContent({data-slot="sheet-content"data-side={side}className={cn(- "fixed z-50 flex flex-col gap-4 border-surface-border bg-surface-raised bg-clip-padding text-sm text-popover-foreground shadow-[var(--floating-shadow)] transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",+ "fixed z-50 flex flex-col gap-4 border-surface-border bg-surface-raised bg-clip-padding text-body text-popover-foreground shadow-[var(--floating-shadow)] transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",className)}{...props}@@ -105,7 +105,7 @@ function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) {<SheetPrimitive.Titledata-slot="sheet-title"className={cn(- "font-heading text-base font-medium text-foreground",+ "font-heading text-title-sm font-medium text-foreground",className)}{...props}@@ -120,7 +120,7 @@ function SheetDescription({return (<SheetPrimitive.Descriptiondata-slot="sheet-description"- className={cn("text-sm text-muted-foreground", className)}+ className={cn("text-body text-muted-foreground", className)}{...props}/>)diff --git a/packages/ui/components/ui/sidebar.tsx b/packages/ui/components/ui/sidebar.tsxindex 3bdd0be3b4..dfee669a85 100644--- a/packages/ui/components/ui/sidebar.tsx+++ b/packages/ui/components/ui/sidebar.tsx@@ -563,7 +563,7 @@ function SidebarGroupLabel({props: mergeProps<"div">({className: cn(- "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",+ "flex h-8 shrink-0 items-center rounded-md px-2 text-caption font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",className),},@@ -609,7 +609,7 @@ function SidebarGroupContent({<divdata-slot="sidebar-group-content"data-sidebar="group-content"- className={cn("w-full text-sm", className)}+ className={cn("w-full text-body", className)}{...props}/>)@@ -638,7 +638,7 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {}const sidebarMenuButtonVariants = cva(- "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",+ "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-body ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",{variants: {variant: {@@ -647,9 +647,9 @@ const sidebarMenuButtonVariants = cva("bg-background shadow-[0_0_0_1px_var(--color-sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--color-sidebar-accent)]",},size: {- default: "h-8 text-sm",- sm: "h-7 text-xs",- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!",+ default: "h-8 text-body",+ sm: "h-7 text-caption",+ lg: "h-12 text-body group-data-[collapsible=icon]:p-0!",},},defaultVariants: {@@ -752,7 +752,7 @@ function SidebarMenuBadge({data-slot="sidebar-menu-badge"data-sidebar="menu-badge"className={cn(- "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",+ "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-caption font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",className)}{...props}@@ -842,7 +842,7 @@ function SidebarMenuSubButton({props: mergeProps<"a">({className: cn(- "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",+ "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-body data-[size=sm]:text-caption data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",className),},diff --git a/packages/ui/components/ui/table.tsx b/packages/ui/components/ui/table.tsxindex c0f8a15037..e31d6157c0 100644--- a/packages/ui/components/ui/table.tsx+++ b/packages/ui/components/ui/table.tsx@@ -12,7 +12,7 @@ function Table({ className, ...props }: React.ComponentProps<"table">) {><tabledata-slot="table"- className={cn("w-full caption-bottom text-sm", className)}+ className={cn("w-full caption-bottom text-body", className)}{...props}/></div>@@ -98,7 +98,7 @@ function TableCaption({return (<captiondata-slot="table-caption"- className={cn("mt-4 text-sm text-muted-foreground", className)}+ className={cn("mt-4 text-body text-muted-foreground", className)}{...props}/>)diff --git a/packages/ui/components/ui/tabs.tsx b/packages/ui/components/ui/tabs.tsxindex 73fb91867d..d4d87b1a08 100644--- a/packages/ui/components/ui/tabs.tsx+++ b/packages/ui/components/ui/tabs.tsx@@ -58,7 +58,7 @@ function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props) {<TabsPrimitive.Tabdata-slot="tabs-trigger"className={cn(- "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-[color,background-color,border-color,box-shadow] group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-body font-medium whitespace-nowrap text-foreground/60 transition-[color,background-color,border-color,box-shadow] group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent","data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",@@ -73,7 +73,7 @@ function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props) {return (<TabsPrimitive.Paneldata-slot="tabs-content"- className={cn("flex-1 text-sm outline-none", className)}+ className={cn("flex-1 text-body outline-none", className)}{...props}/>)diff --git a/packages/ui/components/ui/textarea.tsx b/packages/ui/components/ui/textarea.tsxindex 576be0a08d..6f129d33e8 100644--- a/packages/ui/components/ui/textarea.tsx+++ b/packages/ui/components/ui/textarea.tsx@@ -7,7 +7,7 @@ function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {<textareadata-slot="textarea"className={cn(- "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",+ "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-title-sm transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-body dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",className)}{...props}diff --git a/packages/ui/components/ui/time-input.tsx b/packages/ui/components/ui/time-input.tsxindex b0fccf0178..3fe44cb7a5 100644--- a/packages/ui/components/ui/time-input.tsx+++ b/packages/ui/components/ui/time-input.tsx@@ -145,7 +145,7 @@ const SegmentInput = React.forwardRef<HTMLInputElement, SegmentInputProps>(funct// "1" typed here and a "5" typed after a detour through another control// would pair up into 15.onBlur={() => setPendingFirst(null)}- className="w-7 bg-transparent text-center text-sm tabular-nums outline-none caret-transparent focus:text-foreground disabled:opacity-50"+ className="w-7 bg-transparent text-center text-body tabular-nums outline-none caret-transparent focus:text-foreground disabled:opacity-50"/>);});@@ -209,7 +209,7 @@ export function TimeInput({}}}className={cn(- "flex h-8 items-center gap-1 rounded-lg border border-input bg-transparent px-2.5 text-sm transition-colors",+ "flex h-8 items-center gap-1 rounded-lg border border-input bg-transparent px-2.5 text-body transition-colors","focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50","dark:bg-input/30",disabled && "pointer-events-none cursor-not-allowed opacity-50",diff --git a/packages/ui/components/ui/toggle.tsx b/packages/ui/components/ui/toggle.tsxindex 88186674d6..68b43b0202 100644--- a/packages/ui/components/ui/toggle.tsx+++ b/packages/ui/components/ui/toggle.tsx@@ -6,7 +6,7 @@ import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@multica/ui/lib/utils"const toggleVariants = cva(- "group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-body font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants: {variant: {@@ -15,7 +15,7 @@ const toggleVariants = cva(},size: {default: "h-8 min-w-8 px-2",- sm: "h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-1.5 text-[0.8rem]",+ sm: "h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-1.5 text-label",lg: "h-9 min-w-9 px-2.5",},},diff --git a/packages/ui/components/ui/tooltip.tsx b/packages/ui/components/ui/tooltip.tsxindex 3172605caa..e7927c293b 100644--- a/packages/ui/components/ui/tooltip.tsx+++ b/packages/ui/components/ui/tooltip.tsx@@ -52,7 +52,7 @@ function TooltipContent({<TooltipPrimitive.Popupdata-slot="tooltip-content"className={cn(- "z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-lg border border-border bg-popover px-2.5 py-1 text-xs text-popover-foreground has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",+ "z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-lg border border-border bg-popover px-2.5 py-1 text-caption text-popover-foreground has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",className)}{...props}diff --git a/packages/ui/lib/utils.ts b/packages/ui/lib/utils.tsindex bd0c391ddd..f56c18a2e6 100644--- a/packages/ui/lib/utils.ts+++ b/packages/ui/lib/utils.ts@@ -1,5 +1,41 @@import { clsx, type ClassValue } from "clsx"-import { twMerge } from "tailwind-merge"+import { extendTailwindMerge } from "tailwind-merge"++/**+ * The type scale's steps are role-named (`text-body`, `text-caption`), so+ * tailwind-merge cannot tell them apart from a colour utility: `text-<x>` is+ * ambiguous, and its built-in table only lists Tailwind's default sizes. Left+ * unconfigured it files every role step under text-colour, and then drops+ * whichever of `text-body` / `text-muted-foreground` came first as a conflict —+ * silently, so an element renders at the inherited 16px or in the wrong colour+ * with nothing in the source to explain it.+ *+ * Registering the steps as font-size restores the real conflict groups: size+ * beats size, colour beats colour, and the two coexist. Keep this list in sync+ * with the `--text-*` steps in `packages/ui/styles/tokens.css`.+ */+const twMerge = extendTailwindMerge({+ extend: {+ classGroups: {+ "font-size": [+ {+ text: [+ "micro",+ "caption",+ "label",+ "body",+ "body-lg",+ "title-sm",+ "title",+ "title-lg",+ "display-sm",+ "display",+ ],+ },+ ],+ },+ },+})export function cn(...inputs: ClassValue[]) {return twMerge(clsx(inputs))diff --git a/packages/ui/markdown/CodeBlock.tsx b/packages/ui/markdown/CodeBlock.tsxindex 1520b77d34..c0c2979ee4 100644--- a/packages/ui/markdown/CodeBlock.tsx+++ b/packages/ui/markdown/CodeBlock.tsx@@ -144,7 +144,7 @@ export function CodeBlock({// Terminal mode: raw monospace with minimal stylingif (mode === 'terminal') {return (- <pre className={cn('font-mono text-sm whitespace-pre-wrap', CODE_LIGATURE_CLASS, className)}>+ <pre className={cn('font-mono text-body whitespace-pre-wrap', CODE_LIGATURE_CLASS, className)}><code className={cn('font-mono', CODE_LIGATURE_CLASS)}>{code}</code></pre>)@@ -154,7 +154,7 @@ export function CodeBlock({if (mode === 'minimal') {if (isLoading || !highlighted) {return (- <pre className={cn('font-mono text-sm whitespace-pre-wrap', CODE_LIGATURE_CLASS, className)}>+ <pre className={cn('font-mono text-body whitespace-pre-wrap', CODE_LIGATURE_CLASS, className)}><code className={cn('font-mono', CODE_LIGATURE_CLASS)}>{code}</code></pre>)@@ -163,7 +163,7 @@ export function CodeBlock({return (<divclassName={cn(- 'font-mono text-sm [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:whitespace-pre-wrap [&_pre]:break-all [&_code]:!bg-transparent [&_code]:font-mono [&_pre]:font-mono',+ 'font-mono text-body [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:whitespace-pre-wrap [&_pre]:break-all [&_code]:!bg-transparent [&_code]:font-mono [&_pre]:font-mono',CODE_LIGATURE_CLASS,CODE_LIGATURE_DESCENDANT_CLASS,className@@ -182,7 +182,7 @@ export function CodeBlock({)}>{/* Language label + copy button */}- <div className="flex items-center justify-between px-3 py-1.5 bg-muted/50 border-b text-xs">+ <div className="flex items-center justify-between px-3 py-1.5 bg-muted/50 border-b text-caption"><span className="text-muted-foreground font-medium uppercase tracking-wide">{resolvedLang !== 'text' ? resolvedLang : t(($) => $.plain_text)}</span>@@ -211,13 +211,13 @@ export function CodeBlock({{/* Code content */}<div className="p-3 overflow-x-auto">{isLoading || !highlighted ? (- <pre className={cn('font-mono text-sm whitespace-pre-wrap break-all', CODE_LIGATURE_CLASS)}>+ <pre className={cn('font-mono text-body whitespace-pre-wrap break-all', CODE_LIGATURE_CLASS)}><code className={cn('font-mono', CODE_LIGATURE_CLASS)}>{code}</code></pre>) : (<divclassName={cn(- 'font-mono text-sm [&_pre]:!bg-transparent [&_pre]:!m-0 [&_pre]:!p-0 [&_pre]:whitespace-pre-wrap [&_pre]:break-all [&_code]:!bg-transparent [&_code]:font-mono [&_pre]:font-mono',+ 'font-mono text-body [&_pre]:!bg-transparent [&_pre]:!m-0 [&_pre]:!p-0 [&_pre]:whitespace-pre-wrap [&_pre]:break-all [&_code]:!bg-transparent [&_code]:font-mono [&_pre]:font-mono',CODE_LIGATURE_CLASS,CODE_LIGATURE_DESCENDANT_CLASS)}@@ -243,7 +243,7 @@ export function InlineCode({return (<codeclassName={cn(- 'px-1.5 py-0.5 rounded bg-foreground/[0.03] border border-foreground/[0.05] font-mono text-sm text-foreground/75',+ 'px-1.5 py-0.5 rounded bg-foreground/[0.03] border border-foreground/[0.05] font-mono text-body text-foreground/75',CODE_LIGATURE_CLASS,className)}diff --git a/packages/ui/markdown/Markdown.tsx b/packages/ui/markdown/Markdown.tsxindex beaa5d53e8..30fb7f1889 100644--- a/packages/ui/markdown/Markdown.tsx+++ b/packages/ui/markdown/Markdown.tsx@@ -118,7 +118,7 @@ function createComponents(<div className="my-1 flex items-center gap-2 rounded-md border border-border bg-muted/50 px-2.5 py-1 transition-colors hover:bg-muted"><FileText className="size-4 shrink-0 text-muted-foreground" /><div className="min-w-0 flex-1">- <p className="truncate text-sm">{filename}</p>+ <p className="truncate text-body">{filename}</p></div>{href && (<button@@ -232,7 +232,7 @@ function createComponents(ol: ({ children }) => <ol className="list-decimal list-inside my-1">{children}</ol>,li: ({ children }) => <li className="my-0.5">{children}</li>,// Plain tables- table: ({ children }) => <table className="my-2 font-mono text-sm">{children}</table>,+ table: ({ children }) => <table className="my-2 font-mono text-body">{children}</table>,th: ({ children }) => <th className="text-left pr-4">{children}</th>,td: ({ children }) => <td className="pr-4">{children}</td>}@@ -271,7 +271,7 @@ function createComponents(// Clean tablestable: ({ children }) => (<div className="my-3 overflow-x-auto">- <table className="min-w-full text-sm">{children}</table>+ <table className="min-w-full text-body">{children}</table></div>),thead: ({ children }) => <thead className="border-b">{children}</thead>,@@ -280,12 +280,12 @@ function createComponents(),td: ({ children }) => <td className="py-2 px-3 border-b border-border/50">{children}</td>,// Headings - H1/H2 same size, differentiated by weight- h1: ({ children }) => <h1 className="font-sans text-base font-bold mt-5 mb-3">{children}</h1>,+ h1: ({ children }) => <h1 className="font-sans text-title-sm font-bold mt-5 mb-3">{children}</h1>,h2: ({ children }) => (- <h2 className="font-sans text-base font-semibold mt-4 mb-3">{children}</h2>+ <h2 className="font-sans text-title-sm font-semibold mt-4 mb-3">{children}</h2>),h3: ({ children }) => (- <h3 className="font-sans text-sm font-semibold mt-4 mb-2">{children}</h3>+ <h3 className="font-sans text-body font-semibold mt-4 mb-2">{children}</h3>),// Blockquotesblockquote: ({ children }) => (@@ -336,16 +336,16 @@ function createComponents(),thead: ({ children }) => <thead className="bg-muted/50">{children}</thead>,tbody: ({ children }) => <tbody className="divide-y divide-border">{children}</tbody>,- th: ({ children }) => <th className="text-left py-3 px-4 font-semibold text-sm">{children}</th>,- td: ({ children }) => <td className="py-3 px-4 text-sm">{children}</td>,+ th: ({ children }) => <th className="text-left py-3 px-4 font-semibold text-body">{children}</th>,+ td: ({ children }) => <td className="py-3 px-4 text-body">{children}</td>,tr: ({ children }) => <tr className="hover:bg-muted/30 transition-colors">{children}</tr>,// Rich headings- h1: ({ children }) => <h1 className="font-sans text-base font-bold mt-7 mb-4">{children}</h1>,+ h1: ({ children }) => <h1 className="font-sans text-title-sm font-bold mt-7 mb-4">{children}</h1>,h2: ({ children }) => (- <h2 className="font-sans text-base font-semibold mt-6 mb-3">{children}</h2>+ <h2 className="font-sans text-title-sm font-semibold mt-6 mb-3">{children}</h2>),- h3: ({ children }) => <h3 className="font-sans text-sm font-semibold mt-5 mb-3">{children}</h3>,- h4: ({ children }) => <h4 className="text-sm font-semibold mt-3 mb-1">{children}</h4>,+ h3: ({ children }) => <h3 className="font-sans text-body font-semibold mt-5 mb-3">{children}</h3>,+ h4: ({ children }) => <h4 className="text-body font-semibold mt-3 mb-1">{children}</h4>,// Styled blockquotesblockquote: ({ children }) => (<blockquote className="border-l-4 border-foreground/30 bg-muted/30 pl-4 pr-3 py-2 my-3 rounded-r-md">diff --git a/packages/ui/styles/tokens.css b/packages/ui/styles/tokens.cssindex 2865cf04aa..f302f3b602 100644--- a/packages/ui/styles/tokens.css+++ b/packages/ui/styles/tokens.css@@ -59,6 +59,63 @@--radius-4xl: calc(var(--radius) * 2.6);}+/* Type scale — the only font sizes product UI may use.+ *+ * There was no `--text-*` token here before, so sizes grew ad hoc: 51 distinct+ * font sizes across web + desktop, 370 of them written as arbitrary values,+ * including half-pixel steps (10.5 / 11.5 / 12.5 / 13.5 / 14.5 / 15.5px) that+ * nobody chose deliberately — they appeared because there was no step to reach+ * for. Hierarchy does not come from having more sizes; past a handful, every+ * extra size makes the hierarchy blurrier, because two values a pixel apart+ * read as "the same, but wrong" rather than as two levels.+ *+ * The steps are named for the role the text plays, not for a t-shirt size.+ * That is what keeps the scale from drifting again: "what is this text for"+ * has an answer a reader can check, "is this sm or base" does not.+ *+ * Six of the ten steps replace Tailwind's default scale and deliberately keep+ * that scale's exact size/line-height pairs, so `text-sm` -> `text-body` moves+ * nothing on screen. Only the steps that fill the old gaps — micro (11), label+ * (13), body-lg (15) — are new sizes; those are the gaps the arbitrary values+ * were papering over. Every step carries its own line-height so leading cannot+ * fragment the way size did; a `leading-*` utility still wins where a specific+ * block needs to override it.+ *+ * Landing-page display type (rem/clamp, 2.2-6.4rem) is marketing typography on+ * a separate ramp and stays out of this scale on purpose. */+@theme {+ /* counters, badges, timestamps, overline labels */+ --text-micro: 11px;+ --text-micro--line-height: 15px;+ /* secondary and helper text — was text-xs */+ --text-caption: 12px;+ --text-caption--line-height: 16px;+ /* dense labels: table headers, metadata rows */+ --text-label: 13px;+ --text-label--line-height: 18px;+ /* UI body, the workhorse — was text-sm */+ --text-body: 14px;+ --text-body--line-height: 20px;+ /* roomier body: dialog copy, onboarding prose */+ --text-body-lg: 15px;+ --text-body-lg--line-height: 22px;+ /* small headings — was text-base */+ --text-title-sm: 16px;+ --text-title-sm--line-height: 24px;+ /* section headings — was text-lg */+ --text-title: 18px;+ --text-title--line-height: 28px;+ /* card and dialog titles — was text-xl */+ --text-title-lg: 20px;+ --text-title-lg--line-height: 28px;+ /* page titles — was text-2xl */+ --text-display-sm: 24px;+ --text-display-sm--line-height: 32px;+ /* hero numbers and empty-state headlines — was text-3xl (30px) */+ --text-display: 36px;+ --text-display--line-height: 40px;+}+:root {color-scheme: light;/* Surface system: the app shell is the quiet outer frame; the page canvasdiff --git a/packages/views/agents/components/agent-activity-hover-content.tsx b/packages/views/agents/components/agent-activity-hover-content.tsxindex 4d19e0e93c..96393f28b6 100644--- a/packages/views/agents/components/agent-activity-hover-content.tsx+++ b/packages/views/agents/components/agent-activity-hover-content.tsx@@ -97,7 +97,7 @@ function AgentActivityTaskRow({: task.created_at;return (- <div className="flex items-center gap-2 text-xs">+ <div className="flex items-center gap-2 text-caption"><ActorAvatarBasename={getActorName("agent", task.agent_id)}initials={getActorInitials("agent", task.agent_id)}@@ -141,7 +141,7 @@ export function AgentActivityHoverContent({return (<div className="flex flex-col gap-2">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{/* One row per task, so count tasks — not agents. A single agent canrun several tasks at once, so an agent-worded header here woulddisagree with the row count below. */}@@ -199,7 +199,7 @@ export function WorkspaceAgentActivityHoverContent({if (issues.length === 0) {return (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.agent_activity.empty_hover)}</p>);@@ -207,7 +207,7 @@ export function WorkspaceAgentActivityHoverContent({return (<div className="flex flex-col gap-2.5">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{`${t(($) => $.agent_activity.issues_count, {count: issues.length,})} · ${t(($) => $.agent_activity.tasks_count, { count: taskCount })}`}@@ -215,8 +215,8 @@ export function WorkspaceAgentActivityHoverContent({<div className="flex flex-col gap-2.5">{issues.map((issue) => (<div key={issue.id} className="flex flex-col gap-1.5">- <div className="flex items-baseline gap-1.5 text-xs">- <span className="shrink-0 font-mono text-[10px] text-muted-foreground">+ <div className="flex items-baseline gap-1.5 text-caption">+ <span className="shrink-0 font-mono text-micro text-muted-foreground">{issue.identifier}</span><span className="truncate">{issue.title}</span>diff --git a/packages/views/agents/components/agent-batch-toolbar.tsx b/packages/views/agents/components/agent-batch-toolbar.tsxindex 9c02f9b080..38a0dd6736 100644--- a/packages/views/agents/components/agent-batch-toolbar.tsx+++ b/packages/views/agents/components/agent-batch-toolbar.tsx@@ -172,7 +172,7 @@ export function AgentBatchToolbar({}}><div className="mr-1 flex items-center gap-1.5 border-r pl-1 pr-2">- <span className="text-sm font-medium">+ <span className="text-body font-medium">{t(($) => $.actions.selected, { count: rows.length })}</span><buttondiff --git a/packages/views/agents/components/agent-creation-studio.tsx b/packages/views/agents/components/agent-creation-studio.tsxindex 5b867165b7..6dc528780b 100644--- a/packages/views/agents/components/agent-creation-studio.tsx+++ b/packages/views/agents/components/agent-creation-studio.tsx@@ -842,19 +842,19 @@ export function AgentCreationStudio() {<ArrowLeft className="size-4" aria-hidden="true" /></Button><div className="min-w-0">- <h1 className="truncate text-sm font-semibold">+ <h1 className="truncate text-body font-semibold">{duplicateAgent? t(($) => $.creation_studio.duplicate_title, { name: duplicateAgent.name }): squadId? t(($) => $.creation_studio.squad_title): t(($) => $.creation_studio.title)}</h1>- <p className="truncate text-xs text-muted-foreground">+ <p className="truncate text-caption text-muted-foreground">{currentModeLabel}</p></div>{mode !== "choose" && mode !== "templates" && (- <div className="ml-auto hidden items-center gap-2 text-xs text-muted-foreground sm:flex">+ <div className="ml-auto hidden items-center gap-2 text-caption text-muted-foreground sm:flex"><span className="rounded-full bg-muted px-2 py-1">{sourceTemplate?.name ?? (mode === "ai" ? t(($) => $.creation_studio.modes.ai.title) : t(($) => $.creation_studio.modes.blank.title))}</span>@@ -906,12 +906,12 @@ export function AgentCreationStudio() {<div className="min-h-0 flex-1 overflow-y-auto"><div className="mx-auto w-full max-w-4xl px-5 py-8 sm:px-8">{duplicateAgent && (- <div className="mb-5 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3 text-sm">+ <div className="mb-5 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3 text-body">{t(($) => $.creation_studio.duplicate_env_notice)}</div>)}{duplicateRuntimeReset && (- <div className="mb-5 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3 text-sm">+ <div className="mb-5 rounded-lg border border-warning/30 bg-warning/5 px-4 py-3 text-body">{t(($) => $.creation_studio.duplicate_runtime_reset_notice)}</div>)}@@ -975,10 +975,10 @@ export function AgentCreationStudio() {<div className="min-h-0 overflow-y-auto border-l bg-muted/10"><div className="mx-auto max-w-2xl px-5 py-6"><div className="mb-6">- <h2 className="text-base font-semibold tracking-tight">+ <h2 className="text-title-sm font-semibold tracking-tight">{t(($) => $.creation_studio.live_draft)}</h2>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.creation_studio.live_draft_hint)}</p></div>@@ -1042,13 +1042,13 @@ export function ModeChooser({<main className="flex min-h-0 flex-1 items-center justify-center overflow-y-auto px-5 py-10"><div className="w-full max-w-5xl"><div className="mx-auto max-w-2xl text-center">- <div className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{t(($) => $.creation_studio.eyebrow)}</div>- <h2 className="mt-2 text-balance text-2xl font-semibold tracking-tight sm:text-3xl">+ <h2 className="mt-2 text-balance text-display-sm font-semibold tracking-tight sm:text-display">{t(($) => $.creation_studio.choose_title)}</h2>- <p className="mt-3 text-pretty text-sm text-muted-foreground">+ <p className="mt-3 text-pretty text-body text-muted-foreground">{t(($) => $.creation_studio.choose_description)}</p></div>@@ -1066,16 +1066,16 @@ export function ModeChooser({)}>{recommended && (- <span className="absolute right-4 top-4 rounded-full bg-primary/10 px-2 py-1 text-[10px] font-medium text-primary">+ <span className="absolute right-4 top-4 rounded-full bg-primary/10 px-2 py-1 text-micro font-medium text-primary">{t(($) => $.creation_studio.recommended)}</span>)}<span className="flex size-11 items-center justify-center rounded-lg bg-muted text-muted-foreground group-hover:text-foreground"><Icon className="size-5" aria-hidden="true" /></span>- <span className="mt-7 text-base font-semibold">{title}</span>- <span className="mt-2 text-sm leading-6 text-muted-foreground">{description}</span>- <span className="mt-auto flex items-center gap-1 pt-5 text-xs font-medium text-foreground">+ <span className="mt-7 text-title-sm font-semibold">{title}</span>+ <span className="mt-2 text-body leading-6 text-muted-foreground">{description}</span>+ <span className="mt-auto flex items-center gap-1 pt-5 text-caption font-medium text-foreground">{t(($) => $.creation_studio.continue)}<ChevronRight className="size-3.5 transition-transform group-hover:translate-x-0.5" aria-hidden="true" /></span>@@ -1130,7 +1130,7 @@ function TemplateChooser({{loading ? (<div className="flex justify-center py-16"><Loader2 className="size-5 animate-spin text-muted-foreground" /></div>) : templates.length === 0 ? (- <div className="py-16 text-center text-sm text-muted-foreground">{t(($) => $.creation_studio.templates.empty)}</div>+ <div className="py-16 text-center text-body text-muted-foreground">{t(($) => $.creation_studio.templates.empty)}</div>) : (<div className="space-y-2">{templates.map((template) => (@@ -1147,10 +1147,10 @@ function TemplateChooser({<span className="flex size-9 shrink-0 items-center justify-center rounded-md bg-muted"><Bot className="size-4" /></span><span className="min-w-0 flex-1"><span className="flex items-center gap-2">- <span className="truncate text-sm font-medium">{template.name}</span>- {template.category && <span className="ml-auto shrink-0 text-[10px] text-muted-foreground">{template.category}</span>}+ <span className="truncate text-body font-medium">{template.name}</span>+ {template.category && <span className="ml-auto shrink-0 text-micro text-muted-foreground">{template.category}</span>}</span>- <span className="mt-1 line-clamp-2 block text-xs leading-5 text-muted-foreground">{template.description}</span>+ <span className="mt-1 line-clamp-2 block text-caption leading-5 text-muted-foreground">{template.description}</span></span></button>))}@@ -1162,18 +1162,18 @@ function TemplateChooser({{!selected ? (<div className="flex h-full min-h-80 flex-col items-center justify-center px-8 text-center text-muted-foreground"><Bot className="size-8" />- <p className="mt-3 text-sm">{t(($) => $.creation_studio.templates.select_hint)}</p>+ <p className="mt-3 text-body">{t(($) => $.creation_studio.templates.select_hint)}</p></div>) : (<div className="mx-auto max-w-3xl p-6 sm:p-8"><div className="flex items-start gap-4"><span className="flex size-12 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary"><Bot className="size-6" /></span>- <div><h2 className="text-xl font-semibold">{selected.name}</h2><p className="mt-1 text-sm leading-6 text-muted-foreground">{selected.description}</p></div>+ <div><h2 className="text-title-lg font-semibold">{selected.name}</h2><p className="mt-1 text-body leading-6 text-muted-foreground">{selected.description}</p></div></div>{selected.skills.length > 0 && (- <div className="mt-7"><h3 className="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.creation_studio.templates.skills)}</h3><div className="mt-3 space-y-2">{selected.skills.map((skill) => <div key={skill.source_url} className="flex items-start gap-2 rounded-lg border bg-card p-3"><Check className="mt-0.5 size-4 shrink-0 text-success" /><div><div className="text-sm font-medium">{skill.cached_name}</div><div className="mt-0.5 text-xs text-muted-foreground">{skill.cached_description}</div></div></div>)}</div></div>+ <div className="mt-7"><h3 className="text-caption font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.creation_studio.templates.skills)}</h3><div className="mt-3 space-y-2">{selected.skills.map((skill) => <div key={skill.source_url} className="flex items-start gap-2 rounded-lg border bg-card p-3"><Check className="mt-0.5 size-4 shrink-0 text-success" /><div><div className="text-body font-medium">{skill.cached_name}</div><div className="mt-0.5 text-caption text-muted-foreground">{skill.cached_description}</div></div></div>)}</div></div>)}- <div className="mt-7"><h3 className="text-xs font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.creation_studio.templates.instructions)}</h3><div className="mt-3 max-h-80 overflow-y-auto whitespace-pre-wrap rounded-lg border bg-muted/30 p-4 text-sm leading-6">{detailLoading ? <Loader2 className="size-4 animate-spin" /> : detail?.instructions}</div></div>+ <div className="mt-7"><h3 className="text-caption font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.creation_studio.templates.instructions)}</h3><div className="mt-3 max-h-80 overflow-y-auto whitespace-pre-wrap rounded-lg border bg-muted/30 p-4 text-body leading-6">{detailLoading ? <Loader2 className="size-4 animate-spin" /> : detail?.instructions}</div></div><div className="mt-7 flex justify-end"><Button onClick={onUse} disabled={detailLoading || !detail}>{t(($) => $.creation_studio.templates.use)}<ChevronRight className="size-4" /></Button></div></div>)}@@ -1309,7 +1309,7 @@ function ConfigurationPanel({onChange={(event) => set("instructions", event.target.value)}placeholder={t(($) => $.create_dialog.instructions.editor_placeholder)}rows={compact ? 9 : 12}- className="min-h-44 resize-y font-mono text-[13px] leading-6"+ className="min-h-44 resize-y font-mono text-label leading-6"/></DraftFieldRow><div className="px-4 py-4">@@ -1341,7 +1341,7 @@ function ConfigurationPanel({user reaches for it exactly when the current runtime has gonewrong, so say what unblocks it instead of just refusing. */}{runtimeSwitchPending && (- <p className="mt-1.5 text-xs text-muted-foreground">+ <p className="mt-1.5 text-caption text-muted-foreground">{t(($) => $.creation_studio.builder.switch_runtime_pending)}</p>)}@@ -1406,10 +1406,10 @@ function ConfigurationPanel({) : null}</span><span className="min-w-0">- <span className="block text-sm font-medium">+ <span className="block text-body font-medium">{t(($) => $.creation_studio.access[scope].title)}</span>- <span className="mt-0.5 block text-xs leading-5 text-muted-foreground">+ <span className="mt-0.5 block text-caption leading-5 text-muted-foreground">{t(($) => $.creation_studio.access[scope].description)}</span></span>@@ -1440,14 +1440,14 @@ function ConfigurationPanel({actorId={member.user_id}size="sm"/>- <span className="min-w-0 flex-1 truncate text-sm">+ <span className="min-w-0 flex-1 truncate text-body">{member.name}</span></label>);})}{draft.memberIds.size === 0 ? (- <p className="px-2 py-1 text-xs text-destructive">+ <p className="px-2 py-1 text-caption text-destructive">{t(($) => $.creation_studio.access.members.required)}</p>) : null}@@ -1500,7 +1500,7 @@ export function AgentNameField({placeholder={t(($) => $.create_dialog.name_placeholder)}/>{error ? (- <p id={errorId} className="text-xs text-destructive">+ <p id={errorId} className="text-caption text-destructive">{error}</p>) : null}@@ -1579,11 +1579,11 @@ function DraftFieldRow({)}>{htmlFor ? (- <label htmlFor={htmlFor} className="text-sm font-medium">+ <label htmlFor={htmlFor} className="text-body font-medium">{label}</label>) : (- <div className="text-sm font-medium">{label}</div>+ <div className="text-body font-medium">{label}</div>)}<div className="min-w-0">{children}</div></div>@@ -1593,7 +1593,7 @@ function DraftFieldRow({function BuilderSetup({ draft, onChange, runtimes, runtimesLoading, members, currentUserId, selectedRuntime, starting, error, onStart, onConnectRuntime }: { draft: AgentDraft; onChange: (draft: AgentDraft) => void; runtimes: RuntimeDevice[]; runtimesLoading: boolean; members: MemberWithUser[]; currentUserId: string | null; selectedRuntime: RuntimeDevice | null; starting: boolean; error: string | null; onStart: () => void; onConnectRuntime: () => void; }) {const { t } = useT("agents");const hasOnline = runtimes.some((runtime) => runtime.status === "online" && isRuntimeUsableForUser(runtime, currentUserId));- return <main className="flex min-h-0 flex-1 items-center justify-center overflow-y-auto px-5 py-10"><div className="w-full max-w-xl rounded-xl border bg-card p-6 shadow-sm"><span className="flex size-11 items-center justify-center rounded-lg bg-primary/10 text-primary"><MessageSquare className="size-5" /></span><h2 className="mt-5 text-xl font-semibold">{t(($) => $.creation_studio.builder.setup_title)}</h2><p className="mt-2 text-sm leading-6 text-muted-foreground">{t(($) => $.creation_studio.builder.setup_description)}</p><div className="mt-6 space-y-4"><RuntimePicker runtimes={runtimes} runtimesLoading={runtimesLoading} members={members} currentUserId={currentUserId} selectedRuntimeId={draft.runtimeId} onSelect={(runtimeId) => { if (runtimeId !== draft.runtimeId) onChange(applyDraftRuntimeChange(draft, runtimeId)); }} /><ModelDropdown runtimeId={selectedRuntime?.id ?? null} runtimeOnline={selectedRuntime?.status === "online"} value={draft.model} onChange={(model) => onChange(applyDraftModelChange(draft, model))} disabled={!selectedRuntime} /></div>{error && <div role="alert" className="mt-4 text-sm text-destructive">{error}</div>}<div className="mt-6 flex justify-end">{hasOnline ? <Button onClick={onStart} disabled={starting || selectedRuntime?.status !== "online"}>{starting && <Loader2 className="size-4 animate-spin" />}{t(($) => $.creation_studio.builder.start)}</Button> : <Button onClick={onConnectRuntime}>{t(($) => $.creation_studio.builder.connect_runtime)}</Button>}</div></div></main>;+ return <main className="flex min-h-0 flex-1 items-center justify-center overflow-y-auto px-5 py-10"><div className="w-full max-w-xl rounded-xl border bg-card p-6 shadow-sm"><span className="flex size-11 items-center justify-center rounded-lg bg-primary/10 text-primary"><MessageSquare className="size-5" /></span><h2 className="mt-5 text-title-lg font-semibold">{t(($) => $.creation_studio.builder.setup_title)}</h2><p className="mt-2 text-body leading-6 text-muted-foreground">{t(($) => $.creation_studio.builder.setup_description)}</p><div className="mt-6 space-y-4"><RuntimePicker runtimes={runtimes} runtimesLoading={runtimesLoading} members={members} currentUserId={currentUserId} selectedRuntimeId={draft.runtimeId} onSelect={(runtimeId) => { if (runtimeId !== draft.runtimeId) onChange(applyDraftRuntimeChange(draft, runtimeId)); }} /><ModelDropdown runtimeId={selectedRuntime?.id ?? null} runtimeOnline={selectedRuntime?.status === "online"} value={draft.model} onChange={(model) => onChange(applyDraftModelChange(draft, model))} disabled={!selectedRuntime} /></div>{error && <div role="alert" className="mt-4 text-body text-destructive">{error}</div>}<div className="mt-6 flex justify-end">{hasOnline ? <Button onClick={onStart} disabled={starting || selectedRuntime?.status !== "online"}>{starting && <Loader2 className="size-4 animate-spin" />}{t(($) => $.creation_studio.builder.start)}</Button> : <Button onClick={onConnectRuntime}>{t(($) => $.creation_studio.builder.connect_runtime)}</Button>}</div></div></main>;}function BuilderConversation({@@ -1634,14 +1634,14 @@ function BuilderConversation({<section className="flex min-h-0 flex-col bg-background @container"><header className="flex min-h-14 shrink-0 items-center justify-between gap-4 border-b px-5 py-2.5"><div className="min-w-0">- <h2 className="truncate text-sm font-semibold">+ <h2 className="truncate text-body font-semibold">{t(($) => $.creation_studio.builder.chat_title)}</h2>- <p className="truncate text-xs text-muted-foreground">+ <p className="truncate text-caption text-muted-foreground">{t(($) => $.creation_studio.builder.chat_hint)}</p></div>- <div className="flex shrink-0 items-center gap-1.5 text-xs text-muted-foreground">+ <div className="flex shrink-0 items-center gap-1.5 text-caption text-muted-foreground"><spanclassName={cn("size-2 rounded-full",@@ -1667,10 +1667,10 @@ function BuilderConversation({) : (<div className="flex min-h-0 flex-1 items-center justify-center overflow-y-auto px-5 py-8"><div className="w-full max-w-xl text-center">- <h3 className="text-balance text-lg font-semibold">+ <h3 className="text-balance text-title font-semibold">{t(($) => $.creation_studio.builder.empty_title)}</h3>- <p className="mx-auto mt-2 max-w-md text-pretty text-sm leading-6 text-muted-foreground">+ <p className="mx-auto mt-2 max-w-md text-pretty text-body leading-6 text-muted-foreground">{t(($) => $.creation_studio.builder.empty_description)}</p><div className="mt-5 flex flex-wrap justify-center gap-2">@@ -1679,7 +1679,7 @@ function BuilderConversation({key={prompt}type="button"onClick={() => void onSend(prompt)}- className="rounded-full border bg-background px-3 py-1.5 text-xs transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"+ className="rounded-full border bg-background px-3 py-1.5 text-caption transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{prompt}</button>@@ -1693,7 +1693,7 @@ function BuilderConversation({<divrole="alert"aria-live="polite"- className="mx-5 mb-3 rounded-md bg-destructive/5 px-3 py-2 text-sm text-destructive"+ className="mx-5 mb-3 rounded-md bg-destructive/5 px-3 py-2 text-body text-destructive">{error}</div>@@ -1733,7 +1733,7 @@ export function StudioFooter({{error ? (<prole="alert"- className="min-w-0 flex-1 break-words text-sm text-destructive"+ className="min-w-0 flex-1 break-words text-body text-destructive">{error}</p>diff --git a/packages/views/agents/components/agent-detail-inspector.tsx b/packages/views/agents/components/agent-detail-inspector.tsxindex fc74e78b44..ac25d841ad 100644--- a/packages/views/agents/components/agent-detail-inspector.tsx+++ b/packages/views/agents/components/agent-detail-inspector.tsx@@ -195,7 +195,7 @@ export function AgentDetailInspector({aria-invalid={nameInvalid || undefined}/>{nameInvalid ? (- <p className="mt-1 text-xs text-destructive">+ <p className="mt-1 text-caption text-destructive">{t(($) => $.inspector.rename_required)}</p>) : null}@@ -374,7 +374,7 @@ function ConcurrencyField({aria-label={t(($) => $.inspector.prop_concurrency)}className="font-mono tabular-nums"/>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.pickers.concurrency_range, {min: AGENT_MAX_CONCURRENT_TASKS_MIN,max: AGENT_MAX_CONCURRENT_TASKS_MAX,diff --git a/packages/views/agents/components/agent-detail-page.tsx b/packages/views/agents/components/agent-detail-page.tsxindex c33de67d90..3e565c225d 100644--- a/packages/views/agents/components/agent-detail-page.tsx+++ b/packages/views/agents/components/agent-detail-page.tsx@@ -197,8 +197,8 @@ export function AgentDetailPage({ agentId }: AgentDetailPageProps) {<div className="flex flex-1 flex-col items-center justify-center gap-3 px-6 py-16 text-center"><Lock className="h-8 w-8 text-muted-foreground" /><div>- <p className="text-sm font-medium">{t(($) => $.detail.no_access_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.detail.no_access_title)}</p>+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.detail.no_access_hint)}</p></div>@@ -222,8 +222,8 @@ export function AgentDetailPage({ agentId }: AgentDetailPageProps) {<div className="flex flex-1 flex-col items-center justify-center gap-3 px-6 py-16 text-center"><AlertCircle className="h-8 w-8 text-destructive" /><div>- <p className="text-sm font-medium">{t(($) => $.detail.not_found_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.detail.not_found_title)}</p>+ <p className="mt-1 text-caption text-muted-foreground">{agentsError instanceof Error? agentsError.message: t(($) => $.detail.not_found_default)}@@ -303,7 +303,7 @@ export function AgentDetailPage({ agentId }: AgentDetailPageProps) {)}{isArchived && (- <div className="flex shrink-0 items-center gap-2 border-b bg-muted/50 px-6 py-2 text-xs text-muted-foreground">+ <div className="flex shrink-0 items-center gap-2 border-b bg-muted/50 px-6 py-2 text-caption text-muted-foreground"><AlertCircle className="h-3.5 w-3.5 shrink-0" /><span className="flex-1">{t(($) => $.detail.archived_banner)}@@ -312,7 +312,7 @@ export function AgentDetailPage({ agentId }: AgentDetailPageProps) {<Buttonvariant="outline"size="sm"- className="h-6 text-xs"+ className="h-6 text-caption"onClick={() => handleRestore(agent.id)}>{t(($) => $.detail.restore)}@@ -349,10 +349,10 @@ export function AgentDetailPage({ agentId }: AgentDetailPageProps) {<AlertCircle className="h-5 w-5 text-destructive" /></div><DialogHeader className="flex-1 gap-1">- <DialogTitle className="text-sm font-semibold">+ <DialogTitle className="text-body font-semibold">{t(($) => $.detail.archive_dialog_title)}</DialogTitle>- <DialogDescription className="text-xs">+ <DialogDescription className="text-caption">{t(($) => $.detail.archive_dialog_description, { name: agent.name })}</DialogDescription></DialogHeader>@@ -412,7 +412,7 @@ function DetailHeader({return (<header className="shrink-0 border-b bg-background px-4 pb-5 pt-3 sm:px-6"><div className="mx-auto max-w-[1440px]">- <div className="flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">+ <div className="flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground"><AppLinkhref={backHref}className="rounded-sm transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"@@ -434,7 +434,7 @@ function DetailHeader({/><div className="min-w-0 pt-0.5"><div className="flex flex-wrap items-center gap-x-3 gap-y-1.5">- <h1 className="min-w-0 text-balance text-xl font-semibold tracking-tight sm:text-2xl">+ <h1 className="min-w-0 text-balance text-title-lg font-semibold tracking-tight sm:text-display-sm">{agent.name}</h1><AgentPresenceIndicator detail={presence} />@@ -443,7 +443,7 @@ function DetailHeader({{agent.description ||t(($) => $.inspector.no_description_placeholder)}</ExpandableDescription>- <div className="mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-xs text-muted-foreground">+ <div className="mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-caption text-muted-foreground"><span className="inline-flex min-w-0 items-center gap-1.5"><Bot className="h-3.5 w-3.5 shrink-0" aria-hidden="true" /><span className="truncate">{agent.model || t(($) => $.pickers.model_default)}</span>@@ -519,7 +519,7 @@ function BackHeader({ paths, title }: { paths: string; title: string }) {<div className="flex items-center gap-2"><AppLinkhref={paths}- className="inline-flex h-7 items-center gap-1 rounded-md px-2 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"+ className="inline-flex h-7 items-center gap-1 rounded-md px-2 text-caption text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"><ArrowLeft className="h-3.5 w-3.5" />{title}diff --git a/packages/views/agents/components/agent-list-toolbar.tsx b/packages/views/agents/components/agent-list-toolbar.tsxindex 8fae0d4575..62ddd27078 100644--- a/packages/views/agents/components/agent-list-toolbar.tsx+++ b/packages/views/agents/components/agent-list-toolbar.tsx@@ -198,7 +198,7 @@ export function AgentListToolbar({const sortLabel = SORT_LABELS[sortField];const countBadge = (n: number) => (- <span className="ml-auto pl-3 text-xs text-muted-foreground">{n}</span>+ <span className="ml-auto pl-3 text-caption text-muted-foreground">{n}</span>);return (@@ -216,7 +216,7 @@ export function AgentListToolbar({onChange={(e) => onSearchChange(e.target.value)}aria-label={t(($) => $.page.search_placeholder)}placeholder={t(($) => $.page.search_placeholder)}- className="h-8 w-56 pl-8 text-sm"+ className="h-8 w-56 pl-8 text-body"/></div>@@ -234,7 +234,7 @@ export function AgentListToolbar({onClick={() => onScopeChange(s)}>{SCOPE_LABELS[s]}- <span className="tabular-nums text-xs text-muted-foreground/70">+ <span className="tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></Button>@@ -262,7 +262,7 @@ export function AgentListToolbar({{AGENT_SCOPES.map((s) => (<DropdownMenuRadioItem key={s} value={s}>{SCOPE_LABELS[s]}- <span className="ml-2 tabular-nums text-xs text-muted-foreground/70">+ <span className="ml-2 tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></DropdownMenuRadioItem>@@ -274,7 +274,7 @@ export function AgentListToolbar({{(hasActiveFilters || hasSearch) && (<spantitle={t(($) => $.toolbar.result_count_title)}- className="hidden shrink-0 text-xs tabular-nums text-muted-foreground md:inline"+ className="hidden shrink-0 text-caption tabular-nums text-muted-foreground md:inline">{visibleCount} / {allRows.length}</span>@@ -339,7 +339,7 @@ export function AgentListToolbar({{t(($) => $.toolbar.section_availability)}</span>{filters.availability.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.availability.length}</span>)}@@ -378,7 +378,7 @@ export function AgentListToolbar({{t(($) => $.toolbar.section_access)}</span>{filters.access.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.access.length}</span>)}@@ -414,7 +414,7 @@ export function AgentListToolbar({{t(($) => $.toolbar.section_runtime)}</span>{filters.runtimes.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.runtimes.length}</span>)}@@ -444,7 +444,7 @@ export function AgentListToolbar({{t(($) => $.toolbar.section_owner)}</span>{filters.owners.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.owners.length}</span>)}@@ -484,7 +484,7 @@ export function AgentListToolbar({{t(($) => $.toolbar.section_model)}</span>{filters.models.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.models.length}</span>)}@@ -537,7 +537,7 @@ export function AgentListToolbar({</Tooltip><PopoverContent align="end" className="w-64 p-0"><div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span><div className="mt-2 flex items-center gap-1.5">@@ -547,7 +547,7 @@ export function AgentListToolbar({<Buttonvariant="outline"size="sm"- className="flex-1 justify-between text-xs"+ className="flex-1 justify-between text-caption">{sortLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -593,7 +593,7 @@ export function AgentListToolbar({</div><div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span><div className="mt-2 space-y-2">@@ -602,7 +602,7 @@ export function AgentListToolbar({key={key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{COLUMN_LABELS[key]}</span>+ <span className="text-body">{COLUMN_LABELS[key]}</span><Switchsize="sm"checked={!hiddenColumns.includes(key)}diff --git a/packages/views/agents/components/agent-live-peek-card.tsx b/packages/views/agents/components/agent-live-peek-card.tsxindex 1401db0a08..510fd07f54 100644--- a/packages/views/agents/components/agent-live-peek-card.tsx+++ b/packages/views/agents/components/agent-live-peek-card.tsx@@ -53,7 +53,7 @@ export function AgentLivePeekCard({ agentId }: AgentLivePeekCardProps) {if (!agent) {return (- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.profile_card.unavailable)}</div>);@@ -94,14 +94,14 @@ export function AgentLivePeekCard({ agentId }: AgentLivePeekCardProps) {size="xl"/><div className="min-w-0 flex-1">- <p className="truncate text-sm font-semibold">{agent.name}</p>+ <p className="truncate text-body font-semibold">{agent.name}</p><div className="mt-0.5 inline-flex items-center gap-1.5">{isArchived ? (<><archivedVisual.iconclassName={`h-3 w-3 shrink-0 ${archivedVisual.textClass}`}/>- <span className={`text-xs ${archivedVisual.textClass}`}>+ <span className={`text-caption ${archivedVisual.textClass}`}>{t(($) => $.availability.archived)}</span></>@@ -110,7 +110,7 @@ export function AgentLivePeekCard({ agentId }: AgentLivePeekCardProps) {<workloadVisual.iconclassName={`h-3 w-3 shrink-0 ${workloadVisual.textClass}`}/>- <span className={`text-xs ${workloadVisual.textClass}`}>+ <span className={`text-caption ${workloadVisual.textClass}`}>{t(($) => $.workload[workload!])}</span></>@@ -122,7 +122,7 @@ export function AgentLivePeekCard({ agentId }: AgentLivePeekCardProps) {</div>{/* Meta rows. */}- <div className="flex flex-col gap-1.5 text-xs">+ <div className="flex flex-col gap-1.5 text-caption"><CurrentIssueRowwsId={wsId}issueId={currentIssueId}@@ -193,7 +193,7 @@ function CurrentIssueRow({className="min-w-0 truncate text-brand hover:underline"title={`${issue.identifier} ${issue.title}`}>- <span className="mr-1 font-mono text-[11px]">{issue.identifier}</span>+ <span className="mr-1 font-mono text-micro">{issue.identifier}</span><span>{issue.title}</span></AppLink>) : (@@ -230,7 +230,7 @@ function LastActivityRow({// matching the project's deliberate split between current and// historical state.<span- className="inline-flex items-center gap-0.5 rounded bg-warning/10 px-1 py-0.5 text-[10px] font-medium text-warning"+ className="inline-flex items-center gap-0.5 rounded bg-warning/10 px-1 py-0.5 text-micro font-medium text-warning"title={failedLabel}><AlertTriangle className="h-2.5 w-2.5" />diff --git a/packages/views/agents/components/agent-overview-pane.tsx b/packages/views/agents/components/agent-overview-pane.tsxindex dad3fa20b5..1bb283da35 100644--- a/packages/views/agents/components/agent-overview-pane.tsx+++ b/packages/views/agents/components/agent-overview-pane.tsx@@ -322,7 +322,7 @@ export function AgentOverviewPane({aria-selected={activeSection === tab.id}onClick={() => requestSection(tab.id)}className={cn(- "relative shrink-0 py-3 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",+ "relative shrink-0 py-3 text-body font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",activeSection === tab.id? "text-foreground after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-foreground": "text-muted-foreground hover:text-foreground",@@ -383,7 +383,7 @@ export function AgentOverviewPane({aria-selected={active}onClick={() => requestView(tab.id)}className={cn(- "flex h-8 shrink-0 items-center rounded-md px-2.5 text-left text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring md:w-full",+ "flex h-8 shrink-0 items-center rounded-md px-2.5 text-left text-caption transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring md:w-full",active? "bg-surface-selected font-medium text-surface-selected-foreground hover:bg-surface-selected": "text-muted-foreground hover:bg-surface-hover hover:text-foreground",@@ -399,7 +399,7 @@ export function AgentOverviewPane({<section className="min-w-0 flex-1 md:overflow-y-auto"><div className="mx-auto w-full max-w-3xl p-4 sm:p-6 md:p-8"><header>- <h2 className="text-base font-medium text-balance">+ <h2 className="text-title-sm font-medium text-balance">{t(($) => $.tabs[activeSecondaryTab.labelKey])}</h2></header>diff --git a/packages/views/agents/components/agent-overview-summary.tsx b/packages/views/agents/components/agent-overview-summary.tsxindex d38986ca44..c174ee6d6e 100644--- a/packages/views/agents/components/agent-overview-summary.tsx+++ b/packages/views/agents/components/agent-overview-summary.tsx@@ -34,10 +34,10 @@ export function AgentOverviewSummary({return (<aside className="self-start rounded-xl border border-surface-border bg-surface p-5 shadow-[var(--surface-shadow)] xl:sticky xl:top-6"><section>- <h2 className="text-sm font-medium">+ <h2 className="text-body font-medium">{t(($) => $.overview.agent_context)}</h2>- <dl className="mt-4 space-y-3 text-xs">+ <dl className="mt-4 space-y-3 text-caption">{owner && (<SummaryRow label={t(($) => $.inspector.prop_owner)}><span className="flex min-w-0 items-center gap-1.5">@@ -87,10 +87,10 @@ export function AgentOverviewSummary({<section className="mt-5 border-t pt-5"><div className="flex items-center justify-between gap-3">- <h2 className="text-sm font-medium">+ <h2 className="text-body font-medium">{t(($) => $.inspector.section_skills)}</h2>- <span className="font-mono text-xs tabular-nums text-muted-foreground">+ <span className="font-mono text-caption tabular-nums text-muted-foreground">{agent.skills.length}</span></div>@@ -99,14 +99,14 @@ export function AgentOverviewSummary({{agent.skills.map((skill) => (<spankey={skill.id}- className="max-w-full truncate rounded-md border border-surface-border bg-surface-hover px-2 py-1 text-xs text-muted-foreground"+ className="max-w-full truncate rounded-md border border-surface-border bg-surface-hover px-2 py-1 text-caption text-muted-foreground">{skill.name}</span>))}</div>) : (- <p className="mt-3 text-xs text-muted-foreground">+ <p className="mt-3 text-caption text-muted-foreground">{t(($) => $.tab_body.skills.empty_title)}</p>)}diff --git a/packages/views/agents/components/agent-presence-indicator.tsx b/packages/views/agents/components/agent-presence-indicator.tsxindex a16485b226..2e6871be27 100644--- a/packages/views/agents/components/agent-presence-indicator.tsx+++ b/packages/views/agents/components/agent-presence-indicator.tsx@@ -75,7 +75,7 @@ export function AgentPresenceIndicator({{/* Availability — dot + label. Single dimension, single colour. */}<span className="inline-flex items-center gap-1.5"><span className={`h-1.5 w-1.5 shrink-0 rounded-full ${av.dotClass}`} />- <span className={`text-xs ${av.textClass}`}>{availabilityLabel}</span>+ <span className={`text-caption ${av.textClass}`}>{availabilityLabel}</span></span>{/* Workload — separator + label, with counts when working/queued.@@ -86,21 +86,21 @@ export function AgentPresenceIndicator({"Archived" already says everything; "Archived · Idle" is noise. */}{detail.availability !== "archived" && (<span className="inline-flex items-center gap-1">- <span className="text-xs text-muted-foreground">·</span>+ <span className="text-caption text-muted-foreground">·</span><span- className={`text-xs ${+ className={`text-caption ${isQueued ? queuedTone : wl.textClass}`}>{workloadLabel}</span>{isWorking && (- <span className="font-mono text-xs tabular-nums text-muted-foreground">+ <span className="font-mono text-caption tabular-nums text-muted-foreground">{detail.runningCount} / {detail.capacity}</span>)}{showQueueBadge && (- <span className="rounded-md bg-muted px-1 py-0 text-xs font-medium text-muted-foreground">+ <span className="rounded-md bg-muted px-1 py-0 text-caption font-medium text-muted-foreground">{t(($) => $.presence.queue_badge, { count: detail.queuedCount })}</span>)}@@ -108,7 +108,7 @@ export function AgentPresenceIndicator({there's no running/capacity ratio to anchor on. Honestlysurfaces "stuck" on offline runtimes. */}{isQueued && (- <span className="font-mono text-xs tabular-nums text-muted-foreground">+ <span className="font-mono text-caption tabular-nums text-muted-foreground">{detail.queuedCount}</span>)}diff --git a/packages/views/agents/components/agent-profile-card.tsx b/packages/views/agents/components/agent-profile-card.tsxindex 57e48caac7..5d4a60be5d 100644--- a/packages/views/agents/components/agent-profile-card.tsx+++ b/packages/views/agents/components/agent-profile-card.tsx@@ -49,7 +49,7 @@ export function AgentProfileCard({ agentId }: AgentProfileCardProps) {if (!agent) {return (- <div className="text-xs text-muted-foreground">{t(($) => $.profile_card.unavailable)}</div>+ <div className="text-caption text-muted-foreground">{t(($) => $.profile_card.unavailable)}</div>);}@@ -84,10 +84,10 @@ export function AgentProfileCard({ agentId }: AgentProfileCardProps) {/><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <p className="truncate text-sm font-semibold">{agent.name}</p>+ <p className="truncate text-body font-semibold">{agent.name}</p>{!isArchived && <VisibilityBadge value={agent.visibility} compact />}{isArchived && (- <span className="rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{t(($) => $.row.archived)}</span>)}@@ -99,7 +99,7 @@ export function AgentProfileCard({ agentId }: AgentProfileCardProps) {{!isArchived && (<AppLinkhref={p.agentDetail(agent.id)}- className="mr-1 mt-0.5 shrink-0 text-xs font-normal text-brand opacity-0 transition-opacity group-hover:opacity-100"+ className="mr-1 mt-0.5 shrink-0 text-caption font-normal text-brand opacity-0 transition-opacity group-hover:opacity-100">{t(($) => $.profile_card.detail_link)}</AppLink>@@ -108,7 +108,7 @@ export function AgentProfileCard({ agentId }: AgentProfileCardProps) {{/* Description */}{agent.description && (- <p className="line-clamp-2 text-xs text-muted-foreground">+ <p className="line-clamp-2 text-caption text-muted-foreground">{agent.description}</p>)}@@ -117,7 +117,7 @@ export function AgentProfileCard({ agentId }: AgentProfileCardProps) {skills (what it knows), owner (who manages it). Model + effortare surfaced here so a quick hover answers "which model is thisagent running?" without opening the detail page. */}- <div className="flex flex-col gap-1.5 text-xs">+ <div className="flex flex-col gap-1.5 text-caption"><RuntimeRow agent={agent} runtime={runtime} /><ModelRow model={agent.model} thinkingLevel={agent.thinking_level} />{agent.skills.length > 0 && (@@ -149,7 +149,7 @@ function AgentAvailabilityLine({return (<div className="mt-0.5 inline-flex items-center gap-1.5"><span className={`h-1.5 w-1.5 rounded-full ${av.dotClass}`} />- <span className={`text-xs ${av.textClass}`}>{t(($) => $.availability[detail.availability])}</span>+ <span className={`text-caption ${av.textClass}`}>{t(($) => $.availability[detail.availability])}</span></div>);}@@ -217,7 +217,7 @@ function ModelRow({{t(($) => $.profile_card.model_label)}</span>{hasModel ? (- <span className="min-w-0 truncate font-mono text-[11px]" title={model}>+ <span className="min-w-0 truncate font-mono text-micro" title={model}>{model}</span>) : (@@ -226,7 +226,7 @@ function ModelRow({</span>)}{effort && (- <span className="shrink-0 rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{effort}</span>)}@@ -246,7 +246,7 @@ function MetaRow({return (<div className="flex items-center gap-1.5"><span className="w-12 shrink-0 text-muted-foreground">{label}</span>- <span className={`truncate ${mono ? "font-mono text-[11px]" : ""}`} title={value}>+ <span className={`truncate ${mono ? "font-mono text-micro" : ""}`} title={value}>{value}</span></div>@@ -270,14 +270,14 @@ function SkillsRow({ skills }: { skills: string[] }) {{visible.map((s) => (<spankey={s}- className="max-w-full truncate rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground"+ className="max-w-full truncate rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground"title={s}>{s}</span>))}{overflow > 0 && (- <span className="shrink-0 rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">+{overflow}</span>)}diff --git a/packages/views/agents/components/agents-page.tsx b/packages/views/agents/components/agents-page.tsxindex 2a2660e6fc..e47a858c1b 100644--- a/packages/views/agents/components/agents-page.tsx+++ b/packages/views/agents/components/agents-page.tsx@@ -380,7 +380,7 @@ function NameCell({ row }: { row: AgentListRow }) {<div className="min-w-0 flex-1"><div className="flex min-w-0 items-center gap-2"><span- className={`min-w-0 truncate text-sm font-medium ${+ className={`min-w-0 truncate text-body font-medium ${isArchived ? "text-muted-foreground" : ""}`}>@@ -397,13 +397,13 @@ function NameCell({ row }: { row: AgentListRow }) {</Tooltip>)}{isOwnedByMe && (- <span className="shrink-0 rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded bg-muted px-1 text-micro font-medium text-muted-foreground">{t(($) => $.row.you)}</span>)}</div>{agent.description ? (- <div className="mt-0.5 truncate text-xs text-muted-foreground">+ <div className="mt-0.5 truncate text-caption text-muted-foreground">{agent.description}</div>) : null}@@ -420,7 +420,7 @@ function StatusCell({ row }: { row: AgentListRow }) {if (agent.archived_at) {return (<ListGridCell>- <span className="text-xs text-muted-foreground/60">+ <span className="text-caption text-muted-foreground/60">{t(($) => $.row.archived)}</span></ListGridCell>@@ -429,7 +429,7 @@ function StatusCell({ row }: { row: AgentListRow }) {if (!presence) {return (<ListGridCell>- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span></ListGridCell>);}@@ -438,7 +438,7 @@ function StatusCell({ row }: { row: AgentListRow }) {return (<ListGridCell className="gap-1.5"><span className={`size-1.5 shrink-0 rounded-full ${visual.dotClass}`} />- <span className={`truncate text-xs ${visual.textClass}`}>+ <span className={`truncate text-caption ${visual.textClass}`}>{t(($) => $.availability[presence.availability])}{active > 0 && (<span className="text-muted-foreground">@@ -459,14 +459,14 @@ function OwnerCell({ row }: { row: AgentListRow }) {if (!agent.owner_id) {return (<ListGridCell className="hidden @2xl:flex">- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span></ListGridCell>);}return (<ListGridCell className="hidden gap-1.5 @2xl:flex"><ActorAvatar actorType="member" actorId={agent.owner_id} size="sm" />- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{owner?.name ?? agent.owner_id.slice(0, 8)}</span></ListGridCell>@@ -495,7 +495,7 @@ export function AccessCell({ row }: { row: AgentListRow }) {);return (<ListGridCell className="hidden @2xl:flex">- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{label}</span></ListGridCell>@@ -507,11 +507,11 @@ function RuntimeCell({ row }: { row: AgentListRow }) {return (<ListGridCell className="hidden @2xl:flex">{runtime ? (- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{runtimeDisplayLabel(runtime)}</span>) : (- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span>)}</ListGridCell>);@@ -523,11 +523,11 @@ function LastActiveCell({ row }: { row: AgentListRow }) {return (<ListGridCell className="hidden @2xl:flex">{days === null ? (- <span className="truncate text-xs text-muted-foreground/40">+ <span className="truncate text-caption text-muted-foreground/40">{row.agent.archived_at ? "—" : t(($) => $.last_active.none)}</span>) : (- <span className="whitespace-nowrap text-xs tabular-nums text-muted-foreground">+ <span className="whitespace-nowrap text-caption tabular-nums text-muted-foreground">{days === 0? t(($) => $.last_active.today): t(($) => $.last_active.days_ago, { count: days })}@@ -1059,7 +1059,7 @@ export function AgentsPage(_props: AgentsPageProps = {}) {}}>{rows.length === 0 && (- <div className="col-span-full py-16 text-center text-sm text-muted-foreground">+ <div className="col-span-full py-16 text-center text-body text-muted-foreground">{noMatchText}</div>)}@@ -1105,7 +1105,7 @@ export function AgentsPage(_props: AgentsPageProps = {}) {<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("runs") ? (- <ListGridCell className="hidden justify-end font-mono text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden justify-end font-mono text-caption tabular-nums text-muted-foreground @2xl:flex">{row.runCount.toLocaleString()}</ListGridCell>) : (@@ -1113,7 +1113,7 @@ export function AgentsPage(_props: AgentsPageProps = {}) {)}{isColVisible("model") ? (<ListGridCell className="hidden @2xl:flex">- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{row.agent.model || "—"}</span></ListGridCell>@@ -1121,7 +1121,7 @@ export function AgentsPage(_props: AgentsPageProps = {}) {<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("created") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{new Date(row.agent.created_at,).toLocaleDateString()}diff --git a/packages/views/agents/components/char-counter.tsx b/packages/views/agents/components/char-counter.tsxindex cebdebf659..39cb8df2f1 100644--- a/packages/views/agents/components/char-counter.tsx+++ b/packages/views/agents/components/char-counter.tsx@@ -16,7 +16,7 @@ export function CharCounter({ length, max }: { length: number; max: number }) {? "text-warning": "text-muted-foreground";return (- <div className={`text-right text-xs tabular-nums ${tone}`}>+ <div className={`text-right text-caption tabular-nums ${tone}`}>{length} / {max}{over && t(($) => $.char_counter.over_limit, { count: length - max })}</div>diff --git a/packages/views/agents/components/create-agent-dialog.tsx b/packages/views/agents/components/create-agent-dialog.tsxindex d90efadcd0..0cf298d77a 100644--- a/packages/views/agents/components/create-agent-dialog.tsx+++ b/packages/views/agents/components/create-agent-dialog.tsx@@ -296,14 +296,14 @@ export function CreateAgentDialog({<Dialog open onOpenChange={(v) => { if (!v) onClose(); }}><DialogContent className="p-0 gap-0 flex flex-col overflow-hidden !top-1/2 !left-1/2 !-translate-x-1/2 !-translate-y-1/2 !w-full !max-w-2xl !h-[85vh]"><DialogHeader className="border-b px-5 py-3 space-y-0">- <DialogTitle className="text-base font-semibold">{headerTitle}</DialogTitle>+ <DialogTitle className="text-title-sm font-semibold">{headerTitle}</DialogTitle>{isDuplicate && template && (- <DialogDescription className="mt-1 text-xs">+ <DialogDescription className="mt-1 text-caption">{t(($) => $.create_dialog.description_duplicate, { name: template.name })}</DialogDescription>)}{!isDuplicate && (- <DialogDescription className="mt-1 text-xs">+ <DialogDescription className="mt-1 text-caption">{t(($) => $.create_dialog.description_create)}</DialogDescription>)}@@ -328,7 +328,7 @@ export function CreateAgentDialog({/><div className="flex-1 min-w-0 space-y-3"><div>- <Label className="text-xs text-muted-foreground">{t(($) => $.create_dialog.name_label)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_dialog.name_label)}</Label><InputautoFocustype="text"@@ -344,7 +344,7 @@ export function CreateAgentDialog({</div><div>- <Label className="text-xs text-muted-foreground">{t(($) => $.create_dialog.description_label)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_dialog.description_label)}</Label><Inputtype="text"value={description}@@ -376,12 +376,12 @@ export function CreateAgentDialog({/>) : (<div>- <Label className="text-xs text-muted-foreground">{t(($) => $.create_dialog.visibility_label)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_dialog.visibility_label)}</Label><div className="mt-1.5 flex gap-2"><buttontype="button"onClick={() => setVisibility("workspace")}- className={`flex flex-1 items-center gap-2 rounded-lg border px-3 py-2.5 text-sm transition-colors ${+ className={`flex flex-1 items-center gap-2 rounded-lg border px-3 py-2.5 text-body transition-colors ${visibility === "workspace"? "border-primary bg-primary/5": "border-border hover:bg-muted"@@ -390,7 +390,7 @@ export function CreateAgentDialog({<Globe className="h-4 w-4 shrink-0 text-muted-foreground" /><div className="text-left"><div className="font-medium">{VISIBILITY_LABEL.workspace}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{VISIBILITY_DESCRIPTION.workspace}</div></div>@@ -398,7 +398,7 @@ export function CreateAgentDialog({<buttontype="button"onClick={() => setVisibility("private")}- className={`flex flex-1 items-center gap-2 rounded-lg border px-3 py-2.5 text-sm transition-colors ${+ className={`flex flex-1 items-center gap-2 rounded-lg border px-3 py-2.5 text-body transition-colors ${visibility === "private"? "border-primary bg-primary/5": "border-border hover:bg-muted"@@ -407,7 +407,7 @@ export function CreateAgentDialog({<Lock className="h-4 w-4 shrink-0 text-muted-foreground" /><div className="text-left"><div className="font-medium">{VISIBILITY_LABEL.private}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{VISIBILITY_DESCRIPTION.private}</div></div>@@ -538,7 +538,7 @@ function AccessSection({return (<div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_dialog.access.label)}</Label><fieldset className="mt-1.5 grid gap-2 sm:grid-cols-3">@@ -579,7 +579,7 @@ function AccessSection({<div className="mt-2 rounded-lg border bg-muted/30 px-3 py-2"><div>{otherMembers.length === 0 ? (- <div className="py-1 text-xs text-muted-foreground">+ <div className="py-1 text-caption text-muted-foreground">{t(($) => $.create_dialog.access.public_members_empty)}</div>) : (@@ -589,7 +589,7 @@ function AccessSection({return (<labelkey={m.user_id}- className="flex cursor-pointer items-center gap-2 rounded-md px-1 py-1 text-sm hover:bg-background/60"+ className="flex cursor-pointer items-center gap-2 rounded-md px-1 py-1 text-body hover:bg-background/60"><Checkboxchecked={checked}@@ -612,7 +612,7 @@ function AccessSection({</div>{selectedMemberIds.size === 0 && (- <div className="mt-2 text-xs text-destructive" role="alert">+ <div className="mt-2 text-caption text-destructive" role="alert">{t(($) => $.access.shared_target_required)}</div>)}@@ -639,7 +639,7 @@ function CompactAccessChoice({}) {return (<label- className={`flex min-w-0 cursor-pointer items-start gap-2 rounded-lg border px-3 py-2.5 text-sm transition-colors hover:bg-muted ${+ className={`flex min-w-0 cursor-pointer items-start gap-2 rounded-lg border px-3 py-2.5 text-body transition-colors hover:bg-muted ${selected ? "border-primary bg-primary/5" : "border-border"}`}>@@ -657,7 +657,7 @@ function CompactAccessChoice({/><span className="min-w-0"><span className="block font-medium">{title}</span>- <span className="mt-0.5 block text-xs leading-4 text-muted-foreground">+ <span className="mt-0.5 block text-caption leading-4 text-muted-foreground">{description}</span></span>diff --git a/packages/views/agents/components/inspector/access-picker.tsx b/packages/views/agents/components/inspector/access-picker.tsxindex f06d6cc6cf..d33c38b50d 100644--- a/packages/views/agents/components/inspector/access-picker.tsx+++ b/packages/views/agents/components/inspector/access-picker.tsx@@ -223,8 +223,8 @@ export function AccessPicker({<Lock className="size-4" aria-hidden="true" /></span><div className="min-w-0">- <p className="text-sm font-medium">{summaryLabel}</p>- <p className="mt-0.5 text-xs leading-5 text-muted-foreground">+ <p className="text-body font-medium">{summaryLabel}</p>+ <p className="mt-0.5 text-caption leading-5 text-muted-foreground">{t(($) => $.access.owner_only_readonly)}</p></div>@@ -270,7 +270,7 @@ export function AccessPicker({<div className="border-t border-surface-border bg-muted/20 px-4 py-5 sm:px-6"><div>{editableMembers.length === 0 ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.access.members_empty)}</p>) : (@@ -298,7 +298,7 @@ export function AccessPicker({actorId={member.user_id}size="sm"/>- <span className="min-w-0 flex-1 truncate text-sm">+ <span className="min-w-0 flex-1 truncate text-body">{member.name}</span></label>@@ -310,7 +310,7 @@ export function AccessPicker({</div>{!hasMemberTarget ? (- <p className="mt-3 text-xs text-destructive" role="alert">+ <p className="mt-3 text-caption text-destructive" role="alert">{t(($) => $.access.shared_target_required)}</p>) : null}@@ -319,7 +319,7 @@ export function AccessPicker({{hasComposioAllowlist && persistedPrivate && draftScope !== "private" ? (<div className="border-t border-surface-border bg-muted/20 px-4 py-4 sm:px-6">- <p className="border-l-2 border-warning pl-3 text-xs leading-5 text-muted-foreground">+ <p className="border-l-2 border-warning pl-3 text-caption leading-5 text-muted-foreground">{t(($) => $.access.composio_switch_hint)}</p></div>@@ -379,8 +379,8 @@ function AccessChoice({<Icon className="size-4" aria-hidden="true" /></span><span className="min-w-0 flex-1">- <span className="block text-sm font-medium">{title}</span>- <span className="mt-0.5 block text-xs leading-5 text-muted-foreground">+ <span className="block text-body font-medium">{title}</span>+ <span className="mt-0.5 block text-caption leading-5 text-muted-foreground">{description}</span></span>diff --git a/packages/views/agents/components/inspector/chip.ts b/packages/views/agents/components/inspector/chip.tsindex a3d97c726b..227215d610 100644--- a/packages/views/agents/components/inspector/chip.ts+++ b/packages/views/agents/components/inspector/chip.ts@@ -15,4 +15,4 @@* obvious.*/export const CHIP_CLASS =- "group flex min-w-0 cursor-pointer items-center gap-1.5 rounded-md px-1.5 py-0.5 text-xs transition-colors hover:bg-accent";+ "group flex min-w-0 cursor-pointer items-center gap-1.5 rounded-md px-1.5 py-0.5 text-caption transition-colors hover:bg-accent";diff --git a/packages/views/agents/components/inspector/concurrency-picker.tsx b/packages/views/agents/components/inspector/concurrency-picker.tsxindex 419ba2b030..09ac5ccab7 100644--- a/packages/views/agents/components/inspector/concurrency-picker.tsx+++ b/packages/views/agents/components/inspector/concurrency-picker.tsx@@ -35,7 +35,7 @@ export function ConcurrencyPicker({if (!canEdit) {return (- <span className="font-mono text-xs tabular-nums text-muted-foreground">+ <span className="font-mono text-caption tabular-nums text-muted-foreground">{value}</span>);@@ -65,7 +65,7 @@ export function ConcurrencyPicker({}><div className="space-y-2 p-2">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.pickers.concurrency_range, { min: MIN, max: MAX })}</p><div className="flex items-center gap-2">@@ -82,7 +82,7 @@ export function ConcurrencyPicker({}}}autoFocus- className="h-8 w-20 font-mono text-xs"+ className="h-8 w-20 font-mono text-caption"/><Button size="sm" onClick={() => void commit()}>{t(($) => $.inspector.save)}diff --git a/packages/views/agents/components/inspector/model-picker.tsx b/packages/views/agents/components/inspector/model-picker.tsxindex 76f1046f67..6dc8706910 100644--- a/packages/views/agents/components/inspector/model-picker.tsx+++ b/packages/views/agents/components/inspector/model-picker.tsx@@ -87,7 +87,7 @@ export function ModelPicker({if (!supported && !modelsQuery.isLoading) {if (variant === "field") {const control = (- <div className="flex min-h-10 items-center gap-2 rounded-lg border border-dashed border-input bg-input/50 px-3 text-sm text-muted-foreground">+ <div className="flex min-h-10 items-center gap-2 rounded-lg border border-dashed border-input bg-input/50 px-3 text-body text-muted-foreground"><Cpu className="h-4 w-4 shrink-0" aria-hidden="true" /><span className="truncate italic">{t(($) => $.pickers.model_managed_by_runtime)}@@ -112,7 +112,7 @@ export function ModelPicker({if (!canEdit) {if (variant === "field") {const control = (- <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-sm text-muted-foreground">+ <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-body text-muted-foreground"><Cpu className="h-4 w-4 shrink-0" aria-hidden="true" /><span className="min-w-0 truncate font-mono">{triggerLabel}</span></div>@@ -127,7 +127,7 @@ export function ModelPicker({}return (<span- className="min-w-0 truncate px-1.5 py-0.5 font-mono text-[11px] text-muted-foreground"+ className="min-w-0 truncate px-1.5 py-0.5 font-mono text-micro text-muted-foreground"title={triggerTitle}>{triggerLabel}@@ -151,7 +151,7 @@ export function ModelPicker({type="button"className={variant === "field"- ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`+ ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-body transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`: CHIP_CLASS}aria-label={triggerTitle}@@ -169,7 +169,7 @@ export function ModelPicker({className={variant === "field"? "min-w-0 flex-1 truncate font-mono"- : "min-w-0 truncate font-mono text-[11px]"+ : "min-w-0 truncate font-mono text-micro"}>{triggerLabel}@@ -194,13 +194,13 @@ export function ModelPicker({placeholder={t(($) => $.pickers.model_search_placeholder)}value={search}onChange={(e) => setSearch(e.target.value)}- className="h-7 text-xs"+ className="h-7 text-caption"/></div>}>{modelsQuery.isLoading && (- <div className="flex items-center gap-2 p-3 text-xs text-muted-foreground">+ <div className="flex items-center gap-2 p-3 text-caption text-muted-foreground"><Loader2className="h-3 w-3 animate-spin motion-reduce:animate-none"aria-hidden="true"@@ -228,9 +228,9 @@ export function ModelPicker({`<span block text-left>` to keep layout deterministic —matches the fix already applied in thinking-picker.tsx. */}<span className="block min-w-0 flex-1 text-left">- <span className="block truncate text-[13px] font-medium">{m.label}</span>+ <span className="block truncate text-label font-medium">{m.label}</span>{m.label !== m.id && (- <span className="mt-0.5 block truncate font-mono text-[10px] leading-snug text-muted-foreground">+ <span className="mt-0.5 block truncate font-mono text-micro leading-snug text-muted-foreground">{m.id}</span>)}@@ -239,7 +239,7 @@ export function ModelPicker({))}{!modelsQuery.isLoading && filtered.length === 0 && !canCreate && (- <p className="px-3 py-3 text-center text-xs text-muted-foreground">+ <p className="px-3 py-3 text-center text-caption text-muted-foreground">{t(($) => $.pickers.model_empty)}</p>)}@@ -261,7 +261,7 @@ export function ModelPicker({<buttontype="button"onClick={() => void select("")}- className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-xs text-muted-foreground transition-colors hover:bg-accent/50"+ className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-caption text-muted-foreground transition-colors hover:bg-accent/50"title={t(($) => $.pickers.model_clear_title)}>{t(($) => $.pickers.model_clear)}diff --git a/packages/views/agents/components/inspector/runtime-picker.tsx b/packages/views/agents/components/inspector/runtime-picker.tsxindex e55c26ecd7..2ce2df855c 100644--- a/packages/views/agents/components/inspector/runtime-picker.tsx+++ b/packages/views/agents/components/inspector/runtime-picker.tsx@@ -123,7 +123,7 @@ export function RuntimePicker({);if (variant === "field") {const control = (- <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-sm text-muted-foreground">+ <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-body text-muted-foreground">{icon}<span className="min-w-0 flex-1 truncate">{combinedLabel}</span>{selected ? (@@ -145,7 +145,7 @@ export function RuntimePicker({);}return (- <span className="inline-flex min-w-0 items-center gap-1.5 px-1.5 py-0.5 text-xs text-muted-foreground">+ <span className="inline-flex min-w-0 items-center gap-1.5 px-1.5 py-0.5 text-caption text-muted-foreground">{selected ? (<ProviderLogoprovider={selected.provider}@@ -250,7 +250,7 @@ export function RuntimePicker({type="button"className={variant === "field"- ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`+ ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-body transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`: CHIP_CLASS}aria-label={triggerTitle}@@ -319,13 +319,13 @@ export function RuntimePicker({type="button"onClick={() => setMachineId(null)}aria-label={t(($) => $.pickers.runtime_back_to_machines)}- className="flex w-full items-center gap-2 px-2 py-2 text-left text-sm transition-colors hover:bg-muted/60"+ className="flex w-full items-center gap-2 px-2 py-2 text-left text-body transition-colors hover:bg-muted/60"><ChevronLeft className="h-4 w-4 shrink-0 text-muted-foreground" /><span className="min-w-0 flex-1 truncate font-medium">{drilled.title}</span>- <span className="shrink-0 text-xs tabular-nums text-muted-foreground">+ <span className="shrink-0 text-caption tabular-nums text-muted-foreground">{onlineCountLabel(drilled)}</span></button>@@ -378,16 +378,16 @@ export function RuntimePicker({provider={rt.provider}className="h-4 w-4 shrink-0"/>- <span className="min-w-0 flex-1 truncate text-sm font-medium">+ <span className="min-w-0 flex-1 truncate text-body font-medium">{label}</span>{rt.runtime_mode === "cloud" && (- <span className="shrink-0 rounded bg-info/10 px-1 text-[10px] font-medium text-info">+ <span className="shrink-0 rounded bg-info/10 px-1 text-micro font-medium text-info">{t(($) => $.create_dialog.runtime_cloud_badge)}</span>)}{locked && (- <span className="shrink-0 inline-flex items-center gap-0.5 rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 inline-flex items-center gap-0.5 rounded bg-muted px-1 text-micro font-medium text-muted-foreground"><Lock className="h-2.5 w-2.5" />{t(($) => $.create_dialog.runtime_private_badge)}</span>@@ -402,7 +402,7 @@ export function RuntimePicker({);})) : machines.length === 0 ? (- <p className="px-2 py-3 text-center text-xs text-muted-foreground">+ <p className="px-2 py-3 text-center text-caption text-muted-foreground">{t(($) => $.pickers.runtime_empty)}</p>) : (@@ -419,20 +419,20 @@ export function RuntimePicker({type="button"data-picker-itemonClick={() => setMachineId(machine.id)}- className="flex w-full items-center gap-3 rounded-md px-2 py-1.5 text-left text-sm transition-colors hover:bg-accent"+ className="flex w-full items-center gap-3 rounded-md px-2 py-1.5 text-left text-body transition-colors hover:bg-accent"><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <span className="truncate text-sm font-medium">+ <span className="truncate text-body font-medium">{machine.title}</span>{machine.mode === "cloud" && (- <span className="shrink-0 rounded bg-info/10 px-1 text-[10px] font-medium text-info">+ <span className="shrink-0 rounded bg-info/10 px-1 text-micro font-medium text-info">{t(($) => $.create_dialog.runtime_cloud_badge)}</span>)}</div>- <div className="mt-0.5 flex items-center gap-1.5 text-xs text-muted-foreground">+ <div className="mt-0.5 flex items-center gap-1.5 text-caption text-muted-foreground">{owner && (<span className="flex min-w-0 items-center gap-1"><ActorAvatar@@ -458,7 +458,7 @@ export function RuntimePicker({/>))}{extraProviders > 0 && (- <span className="text-[10px] tabular-nums">+ <span className="text-micro tabular-nums">+{extraProviders}</span>)}@@ -466,7 +466,7 @@ export function RuntimePicker({)}</div></div>- <span className="shrink-0 text-xs tabular-nums text-muted-foreground">+ <span className="shrink-0 text-caption tabular-nums text-muted-foreground">{onlineCountLabel(machine)}</span>{containsSelection && (@@ -506,7 +506,7 @@ function FilterButton({<buttontype="button"onClick={onClick}- className={`flex-1 rounded px-2 py-0.5 text-xs font-medium transition-colors ${+ className={`flex-1 rounded px-2 py-0.5 text-caption font-medium transition-colors ${active? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"diff --git a/packages/views/agents/components/inspector/service-tier-setting-field.tsx b/packages/views/agents/components/inspector/service-tier-setting-field.tsxindex 0173b6b98d..cb17a205dc 100644--- a/packages/views/agents/components/inspector/service-tier-setting-field.tsx+++ b/packages/views/agents/components/inspector/service-tier-setting-field.tsx@@ -84,7 +84,7 @@ function ServiceTierPicker({};const display = (- <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-sm text-muted-foreground">+ <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-body text-muted-foreground"><Gauge className="h-4 w-4 shrink-0" aria-hidden="true" /><span className="min-w-0 truncate">{triggerLabel}</span></div>@@ -101,7 +101,7 @@ function ServiceTierPicker({triggerRender={<buttontype="button"- className="flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50"+ className="flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-body transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50"aria-label={triggerTitle}/>}@@ -128,11 +128,11 @@ function ServiceTierPicker({onClick={() => void select(tier.id)}><span className="block min-w-0 flex-1 text-left">- <span className="truncate text-[13px] font-medium">+ <span className="truncate text-label font-medium">{tier.name}</span>{tier.description ? (- <span className="mt-0.5 block text-[11px] leading-snug text-muted-foreground">+ <span className="mt-0.5 block text-micro leading-snug text-muted-foreground">{tier.description}</span>) : null}@@ -143,7 +143,7 @@ function ServiceTierPicker({<buttontype="button"onClick={() => void select("")}- className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-xs text-muted-foreground transition-colors hover:bg-accent/50"+ className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-caption text-muted-foreground transition-colors hover:bg-accent/50"title={t(($) => $.pickers.service_tier_clear_title)}>{t(($) => $.pickers.service_tier_clear)}diff --git a/packages/views/agents/components/inspector/skill-attach.tsx b/packages/views/agents/components/inspector/skill-attach.tsxindex 8a9783e54e..5622385174 100644--- a/packages/views/agents/components/inspector/skill-attach.tsx+++ b/packages/views/agents/components/inspector/skill-attach.tsx@@ -45,7 +45,7 @@ export function SkillAttach({onClick={() => setOpen(true)}aria-label={t(($) => $.skill_attach.trigger_aria)}title={t(($) => $.skill_attach.trigger_aria)}- className="inline-flex cursor-pointer items-center gap-0.5 rounded-md border border-dashed border-muted-foreground/30 px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground/70 transition-colors hover:border-muted-foreground/60 hover:bg-accent/50 hover:text-muted-foreground"+ className="inline-flex cursor-pointer items-center gap-0.5 rounded-md border border-dashed border-muted-foreground/30 px-1.5 py-0.5 text-micro font-medium text-muted-foreground/70 transition-colors hover:border-muted-foreground/60 hover:bg-accent/50 hover:text-muted-foreground"><Plus className="h-2.5 w-2.5" />{t(($) => $.skill_attach.trigger_label)}diff --git a/packages/views/agents/components/inspector/thinking-picker.tsx b/packages/views/agents/components/inspector/thinking-picker.tsxindex 2304461752..b341aa0626 100644--- a/packages/views/agents/components/inspector/thinking-picker.tsx+++ b/packages/views/agents/components/inspector/thinking-picker.tsx@@ -69,7 +69,7 @@ export function ThinkingPicker({if (!canEdit) {if (variant === "field") {const control = (- <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-sm text-muted-foreground">+ <div className="flex min-h-10 items-center gap-2 rounded-lg border border-input bg-input/50 px-3 text-body text-muted-foreground"><Brain className="h-4 w-4 shrink-0" aria-hidden="true" /><span className="min-w-0 truncate">{triggerLabel}</span></div>@@ -84,7 +84,7 @@ export function ThinkingPicker({}return (<span- className="min-w-0 truncate px-1.5 py-0.5 font-mono text-[11px] text-muted-foreground"+ className="min-w-0 truncate px-1.5 py-0.5 font-mono text-micro text-muted-foreground"title={triggerTitle}>{triggerLabel}@@ -108,7 +108,7 @@ export function ThinkingPicker({type="button"className={variant === "field"- ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`+ ? `${showLabel ? "mt-1.5 " : ""}flex min-h-10 w-full min-w-0 items-center gap-2 rounded-lg border border-input bg-transparent px-3 text-left text-body transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50`: CHIP_CLASS}aria-label={triggerTitle}@@ -126,7 +126,7 @@ export function ThinkingPicker({className={variant === "field"? "min-w-0 flex-1 truncate"- : "min-w-0 truncate font-mono text-[11px]"+ : "min-w-0 truncate font-mono text-micro"}>{triggerLabel}@@ -160,9 +160,9 @@ export function ThinkingPicker({factory default is irrelevant to what actually fires, soflagging one option as "default" was misleading. */}<span className="block min-w-0 flex-1 text-left">- <span className="truncate text-[13px] font-medium">{l.label}</span>+ <span className="truncate text-label font-medium">{l.label}</span>{l.description && (- <span className="mt-0.5 block text-[11px] leading-snug text-muted-foreground">+ <span className="mt-0.5 block text-micro leading-snug text-muted-foreground">{l.description}</span>)}@@ -174,7 +174,7 @@ export function ThinkingPicker({<buttontype="button"onClick={() => void select("")}- className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-xs text-muted-foreground transition-colors hover:bg-accent/50"+ className="mt-1 flex w-full items-center border-t px-3 py-2 text-left text-caption text-muted-foreground transition-colors hover:bg-accent/50"title={t(($) => $.pickers.thinking_clear_title)}>{t(($) => $.pickers.thinking_clear)}diff --git a/packages/views/agents/components/inspector/visibility-picker.tsx b/packages/views/agents/components/inspector/visibility-picker.tsxindex 5b28e9118e..52919ab13c 100644--- a/packages/views/agents/components/inspector/visibility-picker.tsx+++ b/packages/views/agents/components/inspector/visibility-picker.tsx@@ -64,7 +64,7 @@ export function VisibilityPicker({<Globe className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><div className="text-left"><div className="font-medium">{VISIBILITY_LABEL.workspace}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{VISIBILITY_DESCRIPTION.workspace}</div></div>@@ -76,7 +76,7 @@ export function VisibilityPicker({<Lock className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><div className="text-left"><div className="font-medium">{VISIBILITY_LABEL.private}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{VISIBILITY_DESCRIPTION.private}</div></div>diff --git a/packages/views/agents/components/instructions-editor.tsx b/packages/views/agents/components/instructions-editor.tsxindex e74e03372d..c1db658652 100644--- a/packages/views/agents/components/instructions-editor.tsx+++ b/packages/views/agents/components/instructions-editor.tsx@@ -53,7 +53,7 @@ export function InstructionsEditor({if (!expanded) {return (<div>- <div className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{label}</div><button@@ -65,11 +65,11 @@ export function InstructionsEditor({<div className="min-w-0 flex-1">{value.trim() ? (// Preview: first 2 lines of markdown, ellipsised.- <div className="line-clamp-2 whitespace-pre-wrap text-sm text-foreground/80">+ <div className="line-clamp-2 whitespace-pre-wrap text-body text-foreground/80">{value}</div>) : (- <div className="text-sm text-muted-foreground">{resolvedPlaceholder}</div>+ <div className="text-body text-muted-foreground">{resolvedPlaceholder}</div>)}</div><ChevronDown className="h-3.5 w-3.5 shrink-0 text-muted-foreground/40" />@@ -81,7 +81,7 @@ export function InstructionsEditor({return (<div><div className="flex items-center justify-between">- <div className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{label}</div><Button@@ -89,7 +89,7 @@ export function InstructionsEditor({variant="ghost"size="sm"onClick={() => setExpanded(false)}- className="h-6 gap-1 px-2 text-xs"+ className="h-6 gap-1 px-2 text-caption"><X className="h-3 w-3" />{t(($) => $.create_dialog.instructions.collapse)}@@ -106,7 +106,7 @@ export function InstructionsEditor({defaultValue={value}onUpdate={onChange}placeholder={t(($) => $.create_dialog.instructions.editor_placeholder)}- className="min-h-[160px] max-h-[320px] overflow-y-auto px-3 py-2.5 text-sm"+ className="min-h-[160px] max-h-[320px] overflow-y-auto px-3 py-2.5 text-body"showBubbleMenu={true}disableMentions={true}/>diff --git a/packages/views/agents/components/model-dropdown.tsx b/packages/views/agents/components/model-dropdown.tsxindex 2154581c18..9a5bcb4446 100644--- a/packages/views/agents/components/model-dropdown.tsx+++ b/packages/views/agents/components/model-dropdown.tsx@@ -100,13 +100,13 @@ export function ModelDropdown({return (<div className="flex flex-col min-w-0"><div className="flex h-6 items-center">- <Label className="text-xs text-muted-foreground">{t(($) => $.model_dropdown.label)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.model_dropdown.label)}</Label></div>- <div className="mt-1.5 flex items-start gap-2 rounded-lg border border-dashed border-border bg-muted/30 px-3 py-2.5 text-sm text-muted-foreground">+ <div className="mt-1.5 flex items-start gap-2 rounded-lg border border-dashed border-border bg-muted/30 px-3 py-2.5 text-body text-muted-foreground"><Info className="mt-0.5 h-4 w-4 shrink-0" /><div className="min-w-0"><div>{t(($) => $.model_dropdown.managed_by_runtime_title)}</div>- <div className="mt-0.5 text-xs">+ <div className="mt-0.5 text-caption">{t(($) => $.model_dropdown.managed_by_runtime_hint)}</div></div>@@ -118,15 +118,15 @@ export function ModelDropdown({return (<div className="flex flex-col min-w-0"><div className="flex h-6 items-center justify-between">- <Label className="text-xs text-muted-foreground">{t(($) => $.model_dropdown.label)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.model_dropdown.label)}</Label>{modelsQuery.isError && (- <span className="text-xs text-muted-foreground">{t(($) => $.model_dropdown.discovery_failed)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.model_dropdown.discovery_failed)}</span>)}</div><Popover open={open} onOpenChange={setOpen}><PopoverTriggerdisabled={disabled}- className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1.5 text-left text-sm transition-colors hover:bg-muted disabled:pointer-events-none disabled:opacity-50"+ className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1.5 text-left text-body transition-colors hover:bg-muted disabled:pointer-events-none disabled:opacity-50"><Cpu className="h-4 w-4 shrink-0 text-muted-foreground" /><div className="min-w-0 flex-1">@@ -137,7 +137,7 @@ export function ModelDropdown({<span className="truncate font-medium">{triggerLabel}</span></div>{value && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{modelLabel(models, value)}</div>)}@@ -161,7 +161,7 @@ export function ModelDropdown({</div><div className="max-h-72 overflow-y-auto p-1">{modelsQuery.isLoading && (- <div className="flex items-center gap-2 px-3 py-6 text-sm text-muted-foreground">+ <div className="flex items-center gap-2 px-3 py-6 text-body text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />{t(($) => $.pickers.model_discovering)}</div>@@ -171,7 +171,7 @@ export function ModelDropdown({Object.entries(filtered).map(([provider, list]) => (<div key={provider} className="mb-1">{provider && (- <div className="px-2 pt-1.5 pb-0.5 text-xs font-medium uppercase tracking-wide text-muted-foreground">+ <div className="px-2 pt-1.5 pb-0.5 text-caption font-medium uppercase tracking-wide text-muted-foreground">{provider}</div>)}@@ -180,14 +180,14 @@ export function ModelDropdown({type="button"key={m.id}onClick={() => select(m.id)}- className={`flex w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm transition-colors ${+ className={`flex w-full items-center gap-2 rounded-md px-3 py-2 text-left text-body transition-colors ${m.id === value ? "bg-accent" : "hover:bg-accent/50"}`}><div className="min-w-0 flex-1"><div className="truncate font-medium">{m.label}</div>{m.label !== m.id && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{m.id}</div>)}@@ -203,7 +203,7 @@ export function ModelDropdown({{!modelsQuery.isLoading &&Object.keys(filtered).length === 0 &&!canCreate && (- <div className="px-3 py-6 text-center text-sm text-muted-foreground">+ <div className="px-3 py-6 text-center text-body text-muted-foreground">{t(($) => $.pickers.model_empty_with_dot)}</div>)}@@ -212,7 +212,7 @@ export function ModelDropdown({<buttontype="button"onClick={() => select(trimmedSearch)}- className="flex w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-primary transition-colors hover:bg-accent/50"+ className="flex w-full items-center gap-2 rounded-md px-3 py-2 text-left text-body text-primary transition-colors hover:bg-accent/50"><Plus className="h-4 w-4 shrink-0" /><span className="truncate">@@ -225,7 +225,7 @@ export function ModelDropdown({<buttontype="button"onClick={() => select("")}- className="mt-1 flex w-full items-center gap-2 border-t border-border px-3 py-2 text-left text-xs text-muted-foreground transition-colors hover:bg-accent/50"+ className="mt-1 flex w-full items-center gap-2 border-t border-border px-3 py-2 text-left text-caption text-muted-foreground transition-colors hover:bg-accent/50">{t(($) => $.model_dropdown.clear_full)}</button>diff --git a/packages/views/agents/components/runtime-machine-filter-dropdown.tsx b/packages/views/agents/components/runtime-machine-filter-dropdown.tsxindex f5b6e8c4c1..54bb5b3cd0 100644--- a/packages/views/agents/components/runtime-machine-filter-dropdown.tsx+++ b/packages/views/agents/components/runtime-machine-filter-dropdown.tsx@@ -61,7 +61,7 @@ export function RuntimeMachineFilterDropdown({<Buttonvariant="outline"size="sm"- className="h-8 gap-1.5 px-2 text-xs"+ className="h-8 gap-1.5 px-2 text-caption"data-testid="agents-runtime-filter"/>}@@ -125,7 +125,7 @@ function RuntimeMachineFilterMenu({/>{grouped.map((group) => (<div key={group.section}>- <div className="flex items-center gap-2 px-3 pb-1 pt-3 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">+ <div className="flex items-center gap-2 px-3 pb-1 pt-3 text-micro font-medium uppercase tracking-wider text-muted-foreground"><span>{t(($) => $.runtime_filter[`section_${group.section}`])}</span><span className="h-px flex-1 bg-border" /></div>@@ -142,7 +142,7 @@ function RuntimeMachineFilterMenu({</div>))}{machines.length === 0 && (- <div className="px-3 py-2 text-xs text-muted-foreground">+ <div className="px-3 py-2 text-caption text-muted-foreground">{t(($) => $.runtime_filter.empty)}</div>)}@@ -174,7 +174,7 @@ function RuntimeMachineFilterItem({onClick={onClick}data-active={active || undefined}data-testid={active ? "agents-runtime-filter-active" : undefined}- className={`flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs transition-colors ${+ className={`flex w-full items-center gap-2 px-3 py-1.5 text-left text-caption transition-colors ${active? "bg-accent text-accent-foreground": "text-foreground hover:bg-muted/60 data-highlighted:bg-muted/60"@@ -183,7 +183,7 @@ function RuntimeMachineFilterItem({<span className="min-w-0 flex-1 truncate"><span className="block truncate font-medium">{label}</span>{subtitle && (- <span className="block truncate text-[11px] font-normal text-muted-foreground">+ <span className="block truncate text-micro font-normal text-muted-foreground">{subtitle}</span>)}diff --git a/packages/views/agents/components/runtime-picker.tsx b/packages/views/agents/components/runtime-picker.tsxindex d43a6a8729..b11df09e0e 100644--- a/packages/views/agents/components/runtime-picker.tsx+++ b/packages/views/agents/components/runtime-picker.tsx@@ -109,7 +109,7 @@ export function RuntimePicker({return (<div className="flex flex-col min-w-0"><div className="flex h-6 items-center justify-between">- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_dialog.runtime_label)}</Label>{hasOtherRuntimes && (@@ -121,7 +121,7 @@ export function RuntimePicker({type="button"disabled={disabled}onClick={() => handleFilterChange("mine")}- className={`rounded px-2 py-0.5 text-xs font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 ${+ className={`rounded px-2 py-0.5 text-caption font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 ${filter === "mine"? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"@@ -133,7 +133,7 @@ export function RuntimePicker({type="button"disabled={disabled}onClick={() => handleFilterChange("all")}- className={`rounded px-2 py-0.5 text-xs font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 ${+ className={`rounded px-2 py-0.5 text-caption font-medium transition-colors disabled:pointer-events-none disabled:opacity-50 ${filter === "all"? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"@@ -154,7 +154,7 @@ export function RuntimePicker({><PopoverTriggerdisabled={disabled || (runtimes.length === 0 && !runtimesLoading)}- className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1.5 text-left text-sm transition-colors hover:bg-muted disabled:pointer-events-none disabled:opacity-50"+ className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1.5 text-left text-body transition-colors hover:bg-muted disabled:pointer-events-none disabled:opacity-50">{runtimesLoading ? (<Loader2 className="h-4 w-4 shrink-0 animate-spin text-muted-foreground" />@@ -176,13 +176,13 @@ export function RuntimePicker({: t(($) => $.create_dialog.runtime_none)}</span>{selectedRuntime?.runtime_mode === "cloud" && (- <span className="shrink-0 rounded bg-info/10 px-1.5 py-0.5 text-xs font-medium text-info">+ <span className="shrink-0 rounded bg-info/10 px-1.5 py-0.5 text-caption font-medium text-info">{t(($) => $.create_dialog.runtime_cloud_badge)}</span>)}</div>{selectedRuntime && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{getOwnerMember(selectedRuntime.owner_id)?.name ??selectedRuntime.device_info}</div>@@ -207,13 +207,13 @@ export function RuntimePicker({value={search}onChange={(e) => setSearch(e.target.value)}placeholder={t(($) => $.create_dialog.runtime_search_placeholder)}- className="w-full rounded-md border border-border bg-background py-1.5 pl-8 pr-2 text-sm outline-none focus:ring-1 focus:ring-ring"+ className="w-full rounded-md border border-border bg-background py-1.5 pl-8 pr-2 text-body outline-none focus:ring-1 focus:ring-ring"/></div>)}<div className="min-h-0 flex-1 overflow-y-auto">{machines.length === 0 ? (- <div className="px-3 py-6 text-center text-xs text-muted-foreground">+ <div className="px-3 py-6 text-center text-caption text-muted-foreground">{t(($) => $.create_dialog.runtime_no_results)}</div>) : (@@ -223,7 +223,7 @@ export function RuntimePicker({single-machine workspace narrows it to one group — so thegrouping stays consistent instead of collapsing to a flatlist. */}- <div className="flex items-center justify-between gap-2 px-2 pb-0.5 pt-2 text-[11px] font-medium text-muted-foreground">+ <div className="flex items-center justify-between gap-2 px-2 pb-0.5 pt-2 text-micro font-medium text-muted-foreground"><span className="truncate">{machine.title}</span><span className="shrink-0 tabular-nums">{t(($) => $.create_dialog.runtime_group_online, {@@ -252,7 +252,7 @@ export function RuntimePicker({onSelect(device.id);setOpen(false);}}- className={`flex w-full items-center gap-3 rounded-md px-3 py-2.5 text-left text-sm transition-colors ${+ className={`flex w-full items-center gap-3 rounded-md px-3 py-2.5 text-left text-body transition-colors ${disabled? "cursor-not-allowed opacity-50": device.id === selectedRuntimeId@@ -270,18 +270,18 @@ export function RuntimePicker({{runtimeRowLabel(device, machine.title)}</span>{device.runtime_mode === "cloud" && (- <span className="shrink-0 rounded bg-info/10 px-1.5 py-0.5 text-xs font-medium text-info">+ <span className="shrink-0 rounded bg-info/10 px-1.5 py-0.5 text-caption font-medium text-info">{t(($) => $.create_dialog.runtime_cloud_badge)}</span>)}{disabled && (- <span className="shrink-0 inline-flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 inline-flex items-center gap-1 rounded bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground"><Lock className="h-3 w-3" />{t(($) => $.create_dialog.runtime_private_badge)}</span>)}</div>- <div className="mt-0.5 flex items-center gap-1 text-xs text-muted-foreground">+ <div className="mt-0.5 flex items-center gap-1 text-caption text-muted-foreground">{ownerMember ? (<><ActorAvatardiff --git a/packages/views/agents/components/skill-add-dialog.tsx b/packages/views/agents/components/skill-add-dialog.tsxindex e141ce24ea..27c9241b34 100644--- a/packages/views/agents/components/skill-add-dialog.tsx+++ b/packages/views/agents/components/skill-add-dialog.tsx@@ -99,10 +99,10 @@ export function SkillAddDialog({<Dialog open={open} onOpenChange={handleOpenChange}><DialogContent className="max-w-md"><DialogHeader>- <DialogTitle className="text-sm">+ <DialogTitle className="text-body">{t(($) => $.tab_body.skills.add_dialog_title)}</DialogTitle>- <DialogDescription className="text-xs">+ <DialogDescription className="text-caption">{t(($) => $.tab_body.skills.add_dialog_description)}</DialogDescription></DialogHeader>diff --git a/packages/views/agents/components/skill-multi-select.tsx b/packages/views/agents/components/skill-multi-select.tsxindex 44ee6c2a79..c752c67f7a 100644--- a/packages/views/agents/components/skill-multi-select.tsx+++ b/packages/views/agents/components/skill-multi-select.tsx@@ -47,7 +47,7 @@ export function SkillMultiSelect({if (!expanded) {return (<div>- <div className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{label}</div><button@@ -56,7 +56,7 @@ export function SkillMultiSelect({className="mt-1.5 flex w-full items-center gap-2.5 rounded-lg border bg-card px-3 py-3 text-left transition-colors hover:border-primary/40 hover:bg-accent/40"><Plus className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />- <div className="min-w-0 flex-1 truncate text-sm text-muted-foreground">+ <div className="min-w-0 flex-1 truncate text-body text-muted-foreground">{selectedIds.size > 0? t(($) => $.create_dialog.skills_section.selected, {count: selectedIds.size,@@ -72,7 +72,7 @@ export function SkillMultiSelect({return (<div><div className="flex items-center justify-between">- <div className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{label}{selectedIds.size > 0 ? (<span className="ml-2 text-foreground/60">({selectedIds.size})</span>@@ -83,7 +83,7 @@ export function SkillMultiSelect({variant="ghost"size="sm"onClick={() => setExpanded(false)}- className="h-6 gap-1 px-2 text-xs"+ className="h-6 gap-1 px-2 text-caption"><X className="h-3 w-3" />{t(($) => $.create_dialog.skills_section.collapse)}diff --git a/packages/views/agents/components/skill-picker-list.tsx b/packages/views/agents/components/skill-picker-list.tsxindex 04a1447e6f..5f59193312 100644--- a/packages/views/agents/components/skill-picker-list.tsx+++ b/packages/views/agents/components/skill-picker-list.tsx@@ -85,7 +85,7 @@ export function SkillPickerList({value={query}onChange={(e) => setQuery(e.target.value)}placeholder={t(($) => $.create_dialog.skills_section.search_placeholder)}- className="h-8 pl-7 text-xs"+ className="h-8 pl-7 text-caption"/></div></div>@@ -93,13 +93,13 @@ export function SkillPickerList({<div className="max-h-64 space-y-0.5 overflow-y-auto p-1.5">{loading ? (- <div className="py-6 text-center text-xs text-muted-foreground">+ <div className="py-6 text-center text-caption text-muted-foreground">{t(($) => $.create_dialog.skills_section.list_loading)}</div>) : skills.length === 0 ? (- <div className="py-6 text-center text-xs text-muted-foreground">{resolvedEmpty}</div>+ <div className="py-6 text-center text-caption text-muted-foreground">{resolvedEmpty}</div>) : filtered.length === 0 ? (- <div className="py-6 text-center text-xs text-muted-foreground">{resolvedNoMatch}</div>+ <div className="py-6 text-center text-caption text-muted-foreground">{resolvedNoMatch}</div>) : (filtered.map((skill) => {const isSelected = selectedIds.has(skill.id);@@ -124,9 +124,9 @@ export function SkillPickerList({/><FileText className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><div className="min-w-0 flex-1">- <div className="truncate text-sm font-medium">{skill.name}</div>+ <div className="truncate text-body font-medium">{skill.name}</div>{skill.description ? (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{skill.description}</div>) : null}diff --git a/packages/views/agents/components/tabs/activity-tab.tsx b/packages/views/agents/components/tabs/activity-tab.tsxindex 6cb27c943d..27ed6b06de 100644--- a/packages/views/agents/components/tabs/activity-tab.tsx+++ b/packages/views/agents/components/tabs/activity-tab.tsx@@ -217,11 +217,11 @@ export function AgentPerformanceSummary({ agent }: { agent: Agent }) {return (<section className="mt-5 border-t pt-5">- <h2 className="text-sm font-medium">+ <h2 className="text-body font-medium">{t(($) => $.tab_body.activity.section_last_30d)}</h2>{summary.totalRuns === 0 ? (- <p className="mt-3 text-xs text-muted-foreground">+ <p className="mt-3 text-caption text-muted-foreground">{t(($) => $.tab_body.activity.empty_30d)}</p>) : (@@ -271,13 +271,13 @@ function Metric({return (<div className="min-w-0"><div- className={`text-lg font-semibold tabular-nums ${+ className={`text-title font-semibold tabular-nums ${destructive ? "text-destructive" : "text-foreground"}`}>{value}</div>- <div className="truncate text-[11px] text-muted-foreground">{label}</div>+ <div className="truncate text-micro text-muted-foreground">{label}</div></div>);}@@ -344,13 +344,13 @@ function Last30dSection({locales={locales}format={{ maximumFractionDigits: 0 }}aria-label={String(totalRuns)}- className="text-3xl font-bold leading-none"+ className="text-display font-bold leading-none"/>- <span className="text-sm text-muted-foreground">+ <span className="text-body text-muted-foreground">{t(($) => $.tab_body.activity.runs, { count: totalRuns })}</span></div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.tab_body.activity.success_pct, { percent: successPct })}{avgDurationMs > 0 && (<>@@ -429,7 +429,7 @@ function RecentWorkSection({<buttontype="button"onClick={onShowMore}- className="mt-2 self-start rounded text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="mt-2 self-start rounded text-caption text-muted-foreground transition-colors hover:text-foreground">{t(($) => $.tab_body.activity.show_more)}</button>@@ -623,7 +623,7 @@ function TaskRow({aria-label={sourceLabel}/>{issue && (- <span className="shrink-0 font-mono text-xs text-muted-foreground">+ <span className="shrink-0 font-mono text-caption text-muted-foreground">{issue.identifier}</span>)}@@ -636,7 +636,7 @@ function TaskRow({<Tooltip><TooltipTriggerrender={- <span className="truncate text-sm">+ <span className="truncate text-body">{issue?.title ??(hasIssue? t(($) => $.tab_body.activity.issue_short_fallback, { prefix: task.issue_id.slice(0, 8) })@@ -645,16 +645,16 @@ function TaskRow({}/><TooltipContent className="max-w-md">- <div className="text-[10px] font-medium uppercase tracking-wider text-muted-foreground/80">+ <div className="text-micro font-medium uppercase tracking-wider text-muted-foreground/80">{t(($) => $.tab_body.activity.triggered_by)}</div>- <div className="mt-0.5 whitespace-pre-wrap text-xs">+ <div className="mt-0.5 whitespace-pre-wrap text-caption">{task.trigger_summary}</div></TooltipContent></Tooltip>) : (- <span className="truncate text-sm">+ <span className="truncate text-body">{issue?.title ??(hasIssue? t(($) => $.tab_body.activity.issue_short_fallback, { prefix: task.issue_id.slice(0, 8) })@@ -662,7 +662,7 @@ function TaskRow({</span>)}</div>- <div className="mt-0.5 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-muted-foreground">+ <div className="mt-0.5 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-caption text-muted-foreground"><span className={cfg.color}>{taskStatusLabel(task.status, t)}</span>@@ -760,10 +760,10 @@ function Section({return (<section className="flex flex-col gap-3 border-b pb-6 last:border-b-0 last:pb-0"><div className="flex items-baseline gap-2">- <h2 className="text-sm font-semibold text-foreground">+ <h2 className="text-body font-semibold text-foreground">{title}</h2>- <span className="text-[11px] text-muted-foreground/70">{subtitle}</span>+ <span className="text-micro text-muted-foreground/70">{subtitle}</span></div>{children}</section>@@ -771,7 +771,7 @@ function Section({}function EmptyText({ children }: { children: ReactNode }) {- return <p className="text-xs italic text-muted-foreground/60">{children}</p>;+ return <p className="text-caption italic text-muted-foreground/60">{children}</p>;}function Sep() {diff --git a/packages/views/agents/components/tabs/agent-mcp-tab.tsx b/packages/views/agents/components/tabs/agent-mcp-tab.tsxindex 7cbbe2df4b..703c1c3d9d 100644--- a/packages/views/agents/components/tabs/agent-mcp-tab.tsx+++ b/packages/views/agents/components/tabs/agent-mcp-tab.tsx@@ -117,11 +117,11 @@ export function AgentMcpTab({ agent }: { agent: Agent }) {if (agent.composio_toolkit_allowlist_redacted === true) {return (<div className="space-y-3">- <p className="flex items-center gap-2 text-sm font-medium">+ <p className="flex items-center gap-2 text-body font-medium"><Lock className="h-3.5 w-3.5 text-muted-foreground" />{t(($) => $.tab_body.composio_mcp.redacted_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.composio_mcp.redacted_hint)}</p></div>@@ -130,14 +130,14 @@ export function AgentMcpTab({ agent }: { agent: Agent }) {return (<div className="space-y-4">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.composio_mcp.subtitle)}</p>{showSharedWarning && (<divrole="alert"- className="flex items-start gap-2 rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-400"+ className="flex items-start gap-2 rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-caption text-amber-700 dark:text-amber-400"><AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0" /><span>@@ -149,24 +149,24 @@ export function AgentMcpTab({ agent }: { agent: Agent }) {)}{connectionsQuery.isLoading ? (- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.tab_body.composio_mcp.loading)}</p>) : connectionsQuery.isError ? (- <p className="text-sm text-destructive">+ <p className="text-body text-destructive">{t(($) => $.tab_body.composio_mcp.load_failed)}</p>) : activeSlugs.length === 0 ? (<div className="space-y-2 rounded-lg border border-dashed p-6 text-center">- <p className="text-sm font-medium">+ <p className="text-body font-medium">{t(($) => $.tab_body.composio_mcp.empty_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.composio_mcp.empty_hint)}</p><AppLinkhref={settingsHref}- className="inline-flex items-center gap-1.5 text-xs font-medium text-primary hover:underline"+ className="inline-flex items-center gap-1.5 text-caption font-medium text-primary hover:underline"><Plug className="h-3 w-3" />{t(($) => $.tab_body.composio_mcp.empty_link_to_settings)}@@ -182,8 +182,8 @@ export function AgentMcpTab({ agent }: { agent: Agent }) {<li key={slug} className="flex items-center gap-3 p-3"><ComposioToolkitLogo slug={slug} name={name} fallbackLogo={tk?.logo} /><div className="min-w-0 flex-1">- <p className="truncate text-sm font-medium">{name}</p>- <p className="truncate text-[10px] uppercase tracking-wide text-emerald-600">+ <p className="truncate text-body font-medium">{name}</p>+ <p className="truncate text-micro uppercase tracking-wide text-emerald-600">{t(($) => $.tab_body.composio_mcp.connected)}</p></div>@@ -202,7 +202,7 @@ export function AgentMcpTab({ agent }: { agent: Agent }) {)}{updateAllowlist.isPending && (- <p className="flex items-center gap-1.5 text-xs text-muted-foreground">+ <p className="flex items-center gap-1.5 text-caption text-muted-foreground"><Loader2 className="h-3 w-3 animate-spin" />{t(($) => $.tab_body.composio_mcp.saving)}</p>diff --git a/packages/views/agents/components/tabs/custom-args-tab.tsx b/packages/views/agents/components/tabs/custom-args-tab.tsxindex 7e1dbdbd52..7340bf1783 100644--- a/packages/views/agents/components/tabs/custom-args-tab.tsx+++ b/packages/views/agents/components/tabs/custom-args-tab.tsx@@ -150,7 +150,7 @@ export function CustomArgsTab({? t(($) => $.tab_body.custom_args.new_argument_aria): t(($) => $.tab_body.custom_args.input_aria, { index })}- className="font-mono text-xs"+ className="font-mono text-caption"/><div className="mt-2 flex justify-end gap-2"><Button type="button" variant="ghost" size="sm" onClick={closeEditor}>@@ -172,7 +172,7 @@ export function CustomArgsTab({return (<div className="space-y-6">- <p className="max-w-2xl text-pretty text-sm leading-6 text-muted-foreground">+ <p className="max-w-2xl text-pretty text-body leading-6 text-muted-foreground">{t(($) => $.tab_body.custom_args.intro)}</p>@@ -199,10 +199,10 @@ export function CustomArgsTab({<span className="flex size-9 items-center justify-center rounded-lg bg-muted text-muted-foreground"><Terminal className="size-4" aria-hidden="true" /></span>- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{t(($) => $.tab_body.custom_args.empty_title)}</p>- <p className="mt-1 max-w-sm text-xs leading-5 text-muted-foreground">+ <p className="mt-1 max-w-sm text-caption leading-5 text-muted-foreground">{t(($) => $.tab_body.custom_args.empty_hint)}</p></div>@@ -215,11 +215,11 @@ export function CustomArgsTab({renderEditor(index + 1)) : (<div className="group flex min-w-0 items-center gap-3 rounded-lg bg-muted/45 px-3 py-2.5 transition-colors hover:bg-muted/70">- <span className="w-5 shrink-0 text-center text-[11px] font-medium tabular-nums text-muted-foreground">+ <span className="w-5 shrink-0 text-center text-micro font-medium tabular-nums text-muted-foreground">{index + 1}</span><code- className="min-w-0 flex-1 break-all font-mono text-xs leading-5"+ className="min-w-0 flex-1 break-all font-mono text-caption leading-5"translate="no">{entry.value}@@ -270,7 +270,7 @@ export function CustomArgsTab({<Terminal className="size-3.5" aria-hidden="true" /></span><code- className="min-w-0 break-all pt-1.5 font-mono text-xs leading-5"+ className="min-w-0 break-all pt-1.5 font-mono text-caption leading-5"translate="no">{launchCommand}@@ -282,7 +282,7 @@ export function CustomArgsTab({<div className="flex items-center justify-end gap-3 pt-1">{dirty ? (- <span role="status" className="text-xs text-muted-foreground">+ <span role="status" className="text-caption text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>) : null}diff --git a/packages/views/agents/components/tabs/env-tab.tsx b/packages/views/agents/components/tabs/env-tab.tsxindex 7639332143..951feafdc1 100644--- a/packages/views/agents/components/tabs/env-tab.tsx+++ b/packages/views/agents/components/tabs/env-tab.tsx@@ -176,7 +176,7 @@ export function EnvTab({<div className="space-y-4"><div className="flex items-start justify-between gap-3"><div className="space-y-1">- <p className="flex items-center gap-2 text-sm font-medium">+ <p className="flex items-center gap-2 text-body font-medium"><Lock className="h-3.5 w-3.5 text-muted-foreground" />{keyCount > 0? t(($) => $.tab_body.env.not_revealed_title, {@@ -184,7 +184,7 @@ export function EnvTab({}): t(($) => $.tab_body.env.not_revealed_empty)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.env.not_revealed_hint)}</p></div>@@ -214,13 +214,13 @@ export function EnvTab({return (<div className="space-y-4"><div className="flex items-start justify-between gap-3">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.env.intro_prefix)}- <code className="rounded bg-muted px-1 py-0.5 font-mono text-[11px]">+ <code className="rounded bg-muted px-1 py-0.5 font-mono text-micro">{"ANTHROPIC_API_KEY"}</code>{t(($) => $.tab_body.env.intro_separator)}- <code className="rounded bg-muted px-1 py-0.5 font-mono text-[11px]">+ <code className="rounded bg-muted px-1 py-0.5 font-mono text-micro">{"ANTHROPIC_BASE_URL"}</code>{t(($) => $.tab_body.env.intro_suffix)}@@ -245,7 +245,7 @@ export function EnvTab({value={entry.key}onChange={(e) => updateEnvEntry(index, "key", e.target.value)}placeholder={t(($) => $.tab_body.env.key_placeholder)}- className="w-[40%] font-mono text-xs"+ className="w-[40%] font-mono text-caption"/><div className="relative flex-1"><Input@@ -255,7 +255,7 @@ export function EnvTab({updateEnvEntry(index, "value", e.target.value)}placeholder={t(($) => $.tab_body.env.value_placeholder)}- className="pr-8 font-mono text-xs"+ className="pr-8 font-mono text-caption"/><buttontype="button"@@ -283,14 +283,14 @@ export function EnvTab({))}</div>) : (- <p className="text-xs italic text-muted-foreground">+ <p className="text-caption italic text-muted-foreground">{t(($) => $.tab_body.env.empty_editable)}</p>)}<div className="flex items-center justify-end gap-3">{dirty && (- <span className="text-xs text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>)}<Button onClick={handleSave} disabled={!dirty || saving} size="sm">{saving ? (diff --git a/packages/views/agents/components/tabs/instructions-tab.tsx b/packages/views/agents/components/tabs/instructions-tab.tsxindex 326b12c5a8..fc49e83481 100644--- a/packages/views/agents/components/tabs/instructions-tab.tsx+++ b/packages/views/agents/components/tabs/instructions-tab.tsx@@ -44,14 +44,14 @@ export function InstructionsTab({return (<div className="space-y-5">- <p className="max-w-2xl text-pretty text-sm leading-6 text-muted-foreground">+ <p className="max-w-2xl text-pretty text-body leading-6 text-muted-foreground">{t(($) => $.tab_body.instructions.intro)}</p><div className="space-y-2"><labelhtmlFor={`agent-system-prompt-${agent.id}`}- className="text-sm font-medium"+ className="text-body font-medium">{t(($) => $.tab_body.instructions.system_prompt_label)}</label>@@ -69,7 +69,7 @@ export function InstructionsTab({<div className="flex items-center justify-end gap-3">{isDirty && (- <span className="text-xs text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>)}<Buttonsize="sm"diff --git a/packages/views/agents/components/tabs/integrations-tab.tsx b/packages/views/agents/components/tabs/integrations-tab.tsxindex 27fa4f890b..3aa4ce120c 100644--- a/packages/views/agents/components/tabs/integrations-tab.tsx+++ b/packages/views/agents/components/tabs/integrations-tab.tsx@@ -81,10 +81,10 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {if (!canManageLark && !canManageSlack) {return (<div className="space-y-6">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.integrations.intro)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.integrations.members_note)}</p></div>@@ -93,7 +93,7 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {return (<div className="space-y-6">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.integrations.intro)}</p>@@ -103,8 +103,8 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {<Webhook className="h-4 w-4" /></span><div className="min-w-0 flex-1 space-y-1">- <h3 className="text-sm font-medium">{ts(($) => $.lark.section_title)}</h3>- <p className="text-xs leading-relaxed text-muted-foreground">+ <h3 className="text-body font-medium">{ts(($) => $.lark.section_title)}</h3>+ <p className="text-caption leading-relaxed text-muted-foreground">{ts(($) => $.lark.page_description)}</p></div>@@ -114,7 +114,7 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {// No at-rest key on this deployment. The tab is only mounted// when the feature is configured, so this is the rare "key was// removed after an install existed" race.- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{ts(($) => $.lark.not_enabled_title)}</p>) : !installSupported && !hasActiveInstall ? (@@ -125,8 +125,8 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {// governs NEW installs, so the bound state must still render below// (server/internal/handler/lark.go).<div className="space-y-1">- <p className="text-xs font-medium">{ts(($) => $.lark.preview_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption font-medium">{ts(($) => $.lark.preview_title)}</p>+ <p className="text-caption text-muted-foreground">{ts(($) => $.lark.preview_description)}</p></div>@@ -150,8 +150,8 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {<MessagesSquare className="h-4 w-4" /></span><div className="min-w-0 flex-1 space-y-1">- <h3 className="text-sm font-medium">{ts(($) => $.slack.section_title)}</h3>- <p className="text-xs leading-relaxed text-muted-foreground">+ <h3 className="text-body font-medium">{ts(($) => $.slack.section_title)}</h3>+ <p className="text-caption leading-relaxed text-muted-foreground">{ts(($) => $.slack.page_description)}</p></div>@@ -161,11 +161,11 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {// Slack install/revoke stay workspace owner/admin-only, so an// agent owner who is not an admin only gets the read-only note// here (unlike Lark above). Reuses the shared members note.- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.integrations.members_note)}</p>) : !slackConfigured ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{ts(($) => $.slack.not_enabled_title)}</p>) : !slackInstallSupported && !slackHasActiveInstall ? (@@ -173,8 +173,8 @@ export function IntegrationsTab({ agent }: { agent: Agent }) {// fresh "Connect Slack" would 503. Surface the "coming soon" notice// instead of a broken CTA; an already-bound agent still renders.<div className="space-y-1">- <p className="text-xs font-medium">{ts(($) => $.slack.preview_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-caption font-medium">{ts(($) => $.slack.preview_title)}</p>+ <p className="text-caption text-muted-foreground">{ts(($) => $.slack.preview_description)}</p></div>diff --git a/packages/views/agents/components/tabs/mcp-config-tab.tsx b/packages/views/agents/components/tabs/mcp-config-tab.tsxindex a96e0ed254..0a1698181c 100644--- a/packages/views/agents/components/tabs/mcp-config-tab.tsx+++ b/packages/views/agents/components/tabs/mcp-config-tab.tsx@@ -134,17 +134,17 @@ export function McpConfigTab({return (<div className="space-y-8">- <p className="max-w-2xl break-words text-pretty text-sm leading-6 text-muted-foreground">+ <p className="max-w-2xl break-words text-pretty text-body leading-6 text-muted-foreground">{t(($) => $.tab_body.mcp_config.intro)}</p><section className="space-y-3"><div className="flex items-start justify-between gap-4"><div>- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.tab_body.mcp_config.managed_title)}</h3>- <p className="mt-1 max-w-2xl text-xs leading-5 text-muted-foreground">+ <p className="mt-1 max-w-2xl text-caption leading-5 text-muted-foreground">{t(($) => $.tab_body.mcp_config.managed_hint)}</p></div>@@ -163,10 +163,10 @@ export function McpConfigTab({aria-hidden="true"/><div>- <p className="text-sm font-medium">+ <p className="text-body font-medium">{t(($) => $.tab_body.mcp_config.redacted_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.tab_body.mcp_config.redacted_hint)}</p></div>@@ -188,10 +188,10 @@ export function McpConfigTab({<section className="space-y-3"><div className="flex items-start justify-between gap-4"><div>- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.tab_body.mcp_config.runtime_title)}</h3>- <p className="mt-1 max-w-2xl text-xs leading-5 text-muted-foreground">+ <p className="mt-1 max-w-2xl text-caption leading-5 text-muted-foreground">{t(($) => $.tab_body.mcp_config.runtime_hint, {runtime: runtime ? runtimeDisplayLabel(runtime) : "Runtime",})}@@ -337,8 +337,8 @@ function McpServerList({<Server className="h-4 w-4" aria-hidden="true" /></span><div className="min-w-0 flex-1">- <p className="truncate text-sm font-medium">{server.name}</p>- <p className="text-xs text-muted-foreground">+ <p className="truncate text-body font-medium">{server.name}</p>+ <p className="text-caption text-muted-foreground"><span className="uppercase">{server.transport}</span>{server.source ? ` · ${server.source}` : null}</p>@@ -378,7 +378,7 @@ function McpServerList({function McpNotice({ text, loading = false }: { text: string; loading?: boolean }) {return (- <div className="flex items-center gap-2 rounded-lg border border-dashed px-4 py-6 text-xs text-muted-foreground">+ <div className="flex items-center gap-2 rounded-lg border border-dashed px-4 py-6 text-caption text-muted-foreground">{loading ? (<Loader2className="h-4 w-4 animate-spin motion-reduce:animate-none"diff --git a/packages/views/agents/components/tabs/mcp-server-dialog.tsx b/packages/views/agents/components/tabs/mcp-server-dialog.tsxindex 4d5e233135..952d38d1bb 100644--- a/packages/views/agents/components/tabs/mcp-server-dialog.tsx+++ b/packages/views/agents/components/tabs/mcp-server-dialog.tsx@@ -276,7 +276,7 @@ export function McpServerDialog({<TabsContent value="form" className="space-y-5 pt-2"><fieldset className="space-y-2">- <legend className="text-sm font-medium">+ <legend className="text-body font-medium">{t(($) => $.tab_body.mcp_config.dialog_type_label)}</legend><div className="grid grid-cols-2 gap-2">@@ -366,7 +366,7 @@ export function McpServerDialog({<TabsContent value="json" className="space-y-2 pt-2">{server?.container === "mcp" && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.mcp_config.dialog_native_json_hint)}</p>)}@@ -379,7 +379,7 @@ export function McpServerDialog({autoComplete="off"spellCheck={false}rows={12}- className="min-h-64 resize-y font-mono text-xs"+ className="min-h-64 resize-y font-mono text-caption"value={jsonText}onChange={(event) => setJsonText(event.target.value)}aria-invalid={!jsonResult.ok || undefined}@@ -389,7 +389,7 @@ export function McpServerDialog({</Tabs>{errorMessage && (- <p className="text-xs text-destructive" aria-live="polite">+ <p className="text-caption text-destructive" aria-live="polite">{errorMessage}</p>)}@@ -430,7 +430,7 @@ function StringListEditor({}) {return (<fieldset className="space-y-2">- <legend className="text-sm font-medium">{label}</legend>+ <legend className="text-body font-medium">{label}</legend>{values.map((value, index) => (<div key={index} className="flex gap-2"><Input@@ -479,7 +479,7 @@ function KeyValueEditor({}) {return (<fieldset className="space-y-2">- <legend className="text-sm font-medium">{label}</legend>+ <legend className="text-body font-medium">{label}</legend>{rows.map((row, index) => (<div key={index} className="grid grid-cols-[1fr_1fr_auto] gap-2"><Inputdiff --git a/packages/views/agents/components/tabs/runtime-config-tab.tsx b/packages/views/agents/components/tabs/runtime-config-tab.tsxindex ffe8328e55..ea8bf11780 100644--- a/packages/views/agents/components/tabs/runtime-config-tab.tsx+++ b/packages/views/agents/components/tabs/runtime-config-tab.tsx@@ -140,12 +140,12 @@ export function RuntimeConfigTab({return (<div className="flex h-full flex-col space-y-4">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.runtime_config.intro)}</p><fieldset className="space-y-2">- <Label className="text-xs font-medium">+ <Label className="text-caption font-medium">{t(($) => $.tab_body.runtime_config.mode_label)}</Label><div className="flex gap-2">@@ -165,7 +165,7 @@ export function RuntimeConfigTab({return { ...s, mode, tokenWasMasked: false };})}- className={`rounded-md border px-3 py-1.5 text-xs ${+ className={`rounded-md border px-3 py-1.5 text-caption ${state.mode === mode? "border-foreground bg-foreground text-background": "border-border bg-background text-foreground hover:bg-muted"@@ -175,7 +175,7 @@ export function RuntimeConfigTab({</button>))}</div>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{isGateway? t(($) => $.tab_body.runtime_config.mode_gateway_hint): t(($) => $.tab_body.runtime_config.mode_local_hint)}@@ -186,12 +186,12 @@ export function RuntimeConfigTab({className={`space-y-3 rounded-md border p-3 ${isGateway ? "" : "opacity-50"}`}disabled={!isGateway}>- <legend className="px-1 text-xs font-medium">+ <legend className="px-1 text-caption font-medium">{t(($) => $.tab_body.runtime_config.gateway_legend)}</legend><div className="space-y-1.5">- <Label htmlFor="openclaw-gw-host" className="text-xs">+ <Label htmlFor="openclaw-gw-host" className="text-caption">{t(($) => $.tab_body.runtime_config.host_label)}</Label><Input@@ -199,12 +199,12 @@ export function RuntimeConfigTab({value={state.host}onChange={(e) => setState((s) => ({ ...s, host: e.target.value }))}placeholder={t(($) => $.tab_body.runtime_config.host_placeholder)}- className="font-mono text-xs"+ className="font-mono text-caption"/></div><div className="space-y-1.5">- <Label htmlFor="openclaw-gw-port" className="text-xs">+ <Label htmlFor="openclaw-gw-port" className="text-caption">{t(($) => $.tab_body.runtime_config.port_label)}</Label><Input@@ -214,17 +214,17 @@ export function RuntimeConfigTab({placeholder="18789"inputMode="numeric"aria-invalid={!portValid || undefined}- className="font-mono text-xs"+ className="font-mono text-caption"/>{!portValid && (- <p className="text-xs text-destructive">+ <p className="text-caption text-destructive">{t(($) => $.tab_body.runtime_config.port_invalid)}</p>)}</div><div className="space-y-1.5">- <Label htmlFor="openclaw-gw-token" className="text-xs">+ <Label htmlFor="openclaw-gw-token" className="text-caption">{t(($) => $.tab_body.runtime_config.token_label)}</Label><Input@@ -247,16 +247,16 @@ export function RuntimeConfigTab({: t(($) => $.tab_body.runtime_config.token_placeholder)}autoComplete="off"- className="font-mono text-xs"+ className="font-mono text-caption"/></div><div className="flex items-center justify-between gap-2 pt-1"><div>- <Label htmlFor="openclaw-gw-tls" className="text-xs">+ <Label htmlFor="openclaw-gw-tls" className="text-caption">{t(($) => $.tab_body.runtime_config.tls_label)}</Label>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.tab_body.runtime_config.tls_hint)}</p></div>@@ -278,7 +278,7 @@ export function RuntimeConfigTab({<div className="flex items-center justify-end gap-3 pt-2">{dirty && (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.tab_body.common.unsaved_changes)}</span>)}diff --git a/packages/views/agents/components/tabs/skills-tab.tsx b/packages/views/agents/components/tabs/skills-tab.tsxindex 14b74849c7..c4451a2910 100644--- a/packages/views/agents/components/tabs/skills-tab.tsx+++ b/packages/views/agents/components/tabs/skills-tab.tsx@@ -139,7 +139,7 @@ export function SkillsTab({return (<div className="space-y-8">- <p className="text-sm leading-6 text-muted-foreground">+ <p className="text-body leading-6 text-muted-foreground">{t(($) => $.tab_body.skills.intro)}</p>@@ -187,10 +187,10 @@ export function SkillsTab({<FileText className="h-4 w-4" /></span><span className="min-w-0 flex-1">- <span className={cn("block text-sm font-medium", !enabled && "text-muted-foreground")}>+ <span className={cn("block text-body font-medium", !enabled && "text-muted-foreground")}>{skill.name}</span>- <span className="block truncate text-xs text-muted-foreground">+ <span className="block truncate text-caption text-muted-foreground">{skill.description || t(($) => $.tab_body.skills.no_description)}</span></span>@@ -306,13 +306,13 @@ export function SkillsTab({<span className="min-w-0 flex-1"><spanclassName={cn(- "block text-sm font-medium",+ "block text-body font-medium",disabled && "text-muted-foreground",)}>{skill.name}</span>- <span className="block truncate text-xs text-muted-foreground">+ <span className="block truncate text-caption text-muted-foreground">{skill.description || skill.source_path}</span></span>@@ -387,8 +387,8 @@ function CapabilitySection({<section className="space-y-3"><div className="flex items-start justify-between gap-4"><div>- <h3 className="text-sm font-medium">{title}</h3>- <p className="mt-1 text-xs leading-5 text-muted-foreground">{description}</p>+ <h3 className="text-body font-medium">{title}</h3>+ <p className="mt-1 text-caption leading-5 text-muted-foreground">{description}</p></div>{action}</div>@@ -401,15 +401,15 @@ function EmptyState({ icon, title, hint }: { icon: React.ReactNode; title: strinreturn (<div className="flex flex-col items-center justify-center rounded-lg border border-dashed py-10 text-muted-foreground"><span className="opacity-50">{icon}</span>- <p className="mt-3 text-sm">{title}</p>- <p className="mt-1 max-w-sm text-center text-xs">{hint}</p>+ <p className="mt-3 text-body">{title}</p>+ <p className="mt-1 max-w-sm text-center text-caption">{hint}</p></div>);}function RuntimeNotice({ text, loading = false }: { text: string; loading?: boolean }) {return (- <div className="flex items-center gap-2 rounded-lg border border-dashed px-4 py-6 text-xs text-muted-foreground">+ <div className="flex items-center gap-2 rounded-lg border border-dashed px-4 py-6 text-caption text-muted-foreground">{loading ? (<Loader2 className="h-4 w-4 animate-spin motion-reduce:animate-none" />) : (@@ -456,7 +456,7 @@ function SkillDetailDialog({{t(($) => $.tab_body.skills.detail_loading)}</div>) : runtimeSkill ? (- <dl className="grid grid-cols-[auto_1fr] gap-x-4 gap-y-3 rounded-lg border p-4 text-xs">+ <dl className="grid grid-cols-[auto_1fr] gap-x-4 gap-y-3 rounded-lg border p-4 text-caption"><dt className="text-muted-foreground">{t(($) => $.tab_body.skills.detail_source)}</dt><dd className="break-all">{runtimeSkill.source_path}</dd><dt className="text-muted-foreground">{t(($) => $.tab_body.skills.detail_provider)}</dt>@@ -473,13 +473,13 @@ function SkillDetailDialog({) : workspaceSkill ? (<div className="space-y-4"><div className="max-h-96 overflow-auto rounded-lg border bg-muted/30 p-4">- <pre className="whitespace-pre-wrap break-words font-mono text-xs leading-5">+ <pre className="whitespace-pre-wrap break-words font-mono text-caption leading-5">{workspaceSkill.content}</pre></div>{(workspaceSkill.files ?? []).length > 0 && (<div>- <h4 className="text-xs font-medium">{t(($) => $.tab_body.skills.detail_supporting_files)}</h4>+ <h4 className="text-caption font-medium">{t(($) => $.tab_body.skills.detail_supporting_files)}</h4><div className="mt-2 flex flex-wrap gap-2">{(workspaceSkill.files ?? []).map((file) => (<Badge key={file.id} variant="outline">{file.path}</Badge>diff --git a/packages/views/agents/components/visibility-badge.tsx b/packages/views/agents/components/visibility-badge.tsxindex ec50e72e4a..eebaeee6a2 100644--- a/packages/views/agents/components/visibility-badge.tsx+++ b/packages/views/agents/components/visibility-badge.tsx@@ -33,7 +33,7 @@ export function VisibilityBadge({<TooltipTriggerrender={<span- className={`inline-flex items-center gap-1 text-xs text-muted-foreground ${className}`}+ className={`inline-flex items-center gap-1 text-caption text-muted-foreground ${className}`}aria-label={tooltip}><Icon className="h-3 w-3 shrink-0" />diff --git a/packages/views/attachments/attachment-preview-page.tsx b/packages/views/attachments/attachment-preview-page.tsxindex 1135bba75f..cf97b4ef30 100644--- a/packages/views/attachments/attachment-preview-page.tsx+++ b/packages/views/attachments/attachment-preview-page.tsx@@ -50,12 +50,12 @@ export function AttachmentPreviewPage({return (<div className="flex h-full w-full flex-col bg-background">{isLoading ? (- <div className="flex flex-1 items-center justify-center text-sm text-muted-foreground">+ <div className="flex flex-1 items-center justify-center text-body text-muted-foreground">{t(($) => $.attachment.preview_loading)}</div>) : isError ? (<div- className="flex flex-1 items-center justify-center px-4 text-sm text-muted-foreground"+ className="flex flex-1 items-center justify-center px-4 text-body text-muted-foreground"data-testid="attachment-preview-page-error">{t(($) => $.attachment.preview_failed)}diff --git a/packages/views/auth/login-page.tsx b/packages/views/auth/login-page.tsxindex 9284395e17..e5499cc5e4 100644--- a/packages/views/auth/login-page.tsx+++ b/packages/views/auth/login-page.tsx@@ -296,7 +296,7 @@ export function LoginPage({<Card className="w-full max-w-sm"><CardHeader className="text-center">{logo && <div className="mx-auto mb-4">{logo}</div>}- <CardTitle className="text-2xl">+ <CardTitle className="text-display-sm">{t(($) => $.cli.title)}</CardTitle><CardDescription>@@ -340,7 +340,7 @@ export function LoginPage({<Card className="w-full max-w-sm"><CardHeader className="text-center">{logo && <div className="mx-auto mb-4">{logo}</div>}- <CardTitle className="text-2xl">+ <CardTitle className="text-display-sm">{t(($) => $.verify.title)}</CardTitle><CardDescription>@@ -368,9 +368,9 @@ export function LoginPage({</InputOTPGroup></InputOTP>{error && (- <p className="text-sm text-destructive">{error}</p>+ <p className="text-body text-destructive">{error}</p>)}- <div className="flex items-center gap-2 text-sm text-muted-foreground">+ <div className="flex items-center gap-2 text-body text-muted-foreground"><buttontype="button"onClick={handleResend}@@ -411,7 +411,7 @@ export function LoginPage({<Card className="w-full max-w-sm"><CardHeader className="text-center">{logo && <div className="mx-auto mb-4">{logo}</div>}- <CardTitle className="text-2xl">+ <CardTitle className="text-display-sm">{t(($) => $.signin.title)}</CardTitle><CardDescription>@@ -433,7 +433,7 @@ export function LoginPage({/></div>{error && (- <p className="text-sm text-destructive">{error}</p>+ <p className="text-body text-destructive">{error}</p>)}</form></CardContent>diff --git a/packages/views/autopilots/components/autopilot-access-manager.tsx b/packages/views/autopilots/components/autopilot-access-manager.tsxindex ed9939189e..1a7f375844 100644--- a/packages/views/autopilots/components/autopilot-access-manager.tsx+++ b/packages/views/autopilots/components/autopilot-access-manager.tsx@@ -82,7 +82,7 @@ export function AutopilotAccessManager({return (<div className="space-y-2"><div className="flex items-center justify-between">- <span className="text-xs font-medium uppercase tracking-wider text-muted-foreground">+ <span className="text-caption font-medium uppercase tracking-wider text-muted-foreground">{t(($) => $.access.current_label)}</span><PropertyPicker@@ -97,7 +97,7 @@ export function AutopilotAccessManager({searchPlaceholder={t(($) => $.access.search_placeholder)}onSearchChange={setFilter}trigger={- <span className="inline-flex cursor-pointer items-center gap-1 rounded-md border border-dashed px-2 py-1 text-xs text-muted-foreground transition-colors hover:border-primary/40 hover:text-foreground">+ <span className="inline-flex cursor-pointer items-center gap-1 rounded-md border border-dashed px-2 py-1 text-caption text-muted-foreground transition-colors hover:border-primary/40 hover:text-foreground"><Plus className="size-3" />{t(($) => $.access.add)}</span>@@ -124,7 +124,7 @@ export function AutopilotAccessManager({</div>{collaborators.length === 0 ? (- <p className="rounded-md border border-dashed px-3 py-4 text-center text-sm text-muted-foreground">+ <p className="rounded-md border border-dashed px-3 py-4 text-center text-body text-muted-foreground">{t(($) => $.access.empty)}</p>) : (@@ -136,7 +136,7 @@ export function AutopilotAccessManager({><span className="flex min-w-0 items-center gap-2"><ActorAvatar actorType="member" actorId={c.user_id} size="sm" />- <span className="truncate text-sm">+ <span className="truncate text-body">{getActorName("member", c.user_id)}</span></span>@@ -154,7 +154,7 @@ export function AutopilotAccessManager({</ul>)}- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.access.owner_note)}</p></div>diff --git a/packages/views/autopilots/components/autopilot-detail-page.tsx b/packages/views/autopilots/components/autopilot-detail-page.tsxindex 3d309cd626..b9e22b626e 100644--- a/packages/views/autopilots/components/autopilot-detail-page.tsx+++ b/packages/views/autopilots/components/autopilot-detail-page.tsx@@ -138,20 +138,20 @@ function RunRow({ run, agentId, agentName }: { run: AutopilotRun; agentId: strinconst content = (<><StatusIcon className={cn("h-4 w-4 shrink-0", visual.color, visual.spin && "animate-spin")} />- <span className={cn("w-24 shrink-0 text-xs font-medium", visual.color)}>+ <span className={cn("w-24 shrink-0 text-caption font-medium", visual.color)}>{t(($) => $.run_status[status])}</span>- <span className="w-20 shrink-0 text-xs text-muted-foreground">+ <span className="w-20 shrink-0 text-caption text-muted-foreground">{t(($) => $.run_source[run.source as "schedule" | "manual" | "webhook" | "api"]) ?? run.source}</span>- <span className="flex-1 min-w-0 text-xs text-muted-foreground truncate">+ <span className="flex-1 min-w-0 text-caption text-muted-foreground truncate">{run.issue_id ? (t(($) => $.run.issue_linked)) : run.failure_reason ? (<span className="text-destructive">{run.failure_reason}</span>) : null}</span>- <span className="w-32 shrink-0 text-right text-xs text-muted-foreground tabular-nums">+ <span className="w-32 shrink-0 text-right text-caption text-muted-foreground tabular-nums">{formatInTimeZone(run.triggered_at || run.created_at, undefined, i18n.language)}</span>{syntheticTask && !run.issue_id && (@@ -170,7 +170,7 @@ function RunRow({ run, agentId, agentName }: { run: AutopilotRun; agentId: strin</>);- const rowClass = "flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-accent/30 transition-colors";+ const rowClass = "flex items-center gap-3 px-4 py-2.5 text-body hover:bg-accent/30 transition-colors";if (run.issue_id) {return (@@ -225,20 +225,20 @@ function SkippedRunsGroup({<div className="border-t bg-muted/20"><buttontype="button"- className="flex w-full items-center gap-3 px-4 py-2.5 text-left text-sm hover:bg-accent/30 transition-colors"+ className="flex w-full items-center gap-3 px-4 py-2.5 text-left text-body hover:bg-accent/30 transition-colors"onClick={() => setOpen((value) => !value)}aria-expanded={open}><ToggleIcon className="h-4 w-4 shrink-0 text-muted-foreground" /><Ban className="h-4 w-4 shrink-0 text-muted-foreground" />- <span className="w-24 shrink-0 text-xs font-medium text-muted-foreground">+ <span className="w-24 shrink-0 text-caption font-medium text-muted-foreground">{t(($) => $.run.skipped_group.label)}</span>- <span className="flex-1 min-w-0 text-xs text-muted-foreground truncate">+ <span className="flex-1 min-w-0 text-caption text-muted-foreground truncate">{t(($) => $.run.skipped_group.summary, { count: runs.length })}</span>{latestRun && (- <span className="w-32 shrink-0 text-right text-xs text-muted-foreground tabular-nums">+ <span className="w-32 shrink-0 text-right text-caption text-muted-foreground tabular-nums">{formatInTimeZone(latestRun.triggered_at || latestRun.created_at, undefined, i18n.language)}</span>)}@@ -339,17 +339,17 @@ function TriggerRow({ trigger, autopilotId, canWrite }: { trigger: AutopilotTrig<Icon className="h-4 w-4 shrink-0 text-muted-foreground mt-0.5" /><div className="flex-1 min-w-0"><div className="flex items-center gap-2 flex-wrap">- <span className="text-sm font-medium">{t(($) => $.trigger_kind[trigger.kind])}</span>+ <span className="text-body font-medium">{t(($) => $.trigger_kind[trigger.kind])}</span>{trigger.label && (- <span className="text-xs text-muted-foreground">({trigger.label})</span>+ <span className="text-caption text-muted-foreground">({trigger.label})</span>)}{!trigger.enabled && (- <span className="text-xs bg-muted px-1.5 py-0.5 rounded">+ <span className="text-caption bg-muted px-1.5 py-0.5 rounded">{t(($) => $.trigger_row.disabled_badge)}</span>)}{isApi && (- <span className="text-xs bg-muted px-1.5 py-0.5 rounded">+ <span className="text-caption bg-muted px-1.5 py-0.5 rounded">{t(($) => $.trigger_row.deprecated_badge)}</span>)}@@ -358,21 +358,21 @@ function TriggerRow({ trigger, autopilotId, canWrite }: { trigger: AutopilotTrig// The plain-language line leads; the raw expression drops to a// secondary line so the two never run together as one blob.<div className="mt-0.5 space-y-0.5">- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{scheduleDescription ?? trigger.cron_expression}{trigger.timezone && ` (${trigger.timezone})`}</div>{scheduleDescription !== null && scheduleConfig !== null && (// Fields only: the zone already reads out in the sentence above,// where a person can use it — same rule as the editor's readback.- <div className="font-mono text-[11px] text-muted-foreground/60">+ <div className="font-mono text-micro text-muted-foreground/60">{cronFields(scheduleConfig)}</div>)}</div>)}{trigger.next_run_at && (- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.trigger_row.next_label, {date: formatInTimeZone(trigger.next_run_at,@@ -531,14 +531,14 @@ function AddTriggerDialog({would push the track past the dialog instead of truncating. */}<div className="min-w-0 space-y-4 pt-2"><div>- <label className="text-xs font-medium text-muted-foreground">+ <label className="text-caption font-medium text-muted-foreground">{t(($) => $.add_trigger_dialog.type_label)}</label><div className="mt-1"><SegmentedTogglevalue={kind}onChange={setKind}- buttonClassName="px-3 py-1.5 text-sm"+ buttonClassName="px-3 py-1.5 text-body"options={[["schedule",@@ -574,13 +574,13 @@ function AddTriggerDialog({disabled={submitting}/>) : (- <p className="rounded-md bg-muted/50 px-3 py-2 text-xs text-muted-foreground">+ <p className="rounded-md bg-muted/50 px-3 py-2 text-caption text-muted-foreground">{t(($) => $.add_trigger_dialog.webhook_help)}</p>)}<div>- <label className="text-xs font-medium text-muted-foreground">+ <label className="text-caption font-medium text-muted-foreground">{t(($) => $.add_trigger_dialog.label_field)}</label><input@@ -588,7 +588,7 @@ function AddTriggerDialog({value={label}onChange={(e) => setLabel(e.target.value)}placeholder={t(($) => $.add_trigger_dialog.label_placeholder)}- className="mt-1 w-full rounded-md border bg-background px-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring"+ className="mt-1 w-full rounded-md border bg-background px-3 py-2 text-body outline-none focus:ring-1 focus:ring-ring"/></div><div className="flex justify-end pt-1">@@ -616,7 +616,7 @@ function SubscriberChips({const members = (subscribers ?? []).filter((s) => s.user_type === "member");if (members.length === 0) {return (- <div className="mt-1 text-sm text-muted-foreground">+ <div className="mt-1 text-body text-muted-foreground">{t(($) => $.detail.field_subscribers_none)}</div>);@@ -626,7 +626,7 @@ function SubscriberChips({{members.map((s) => (<spankey={`${s.user_type}:${s.user_id}`}- className="inline-flex items-center gap-1 rounded-full border bg-background px-2 py-0.5 text-xs"+ className="inline-flex items-center gap-1 rounded-full border bg-background px-2 py-0.5 text-caption"><ActorAvatar actorType="member" actorId={s.user_id} size="xs" /><span className="max-w-[14rem] truncate">@@ -771,7 +771,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {segments={[{ href: wsPaths.autopilots(), label: t(($) => $.page.title) }]}leaf={<>- <h1 className="min-w-0 truncate text-sm font-medium text-foreground">{autopilot.title}</h1>+ <h1 className="min-w-0 truncate text-body font-medium text-foreground">{autopilot.title}</h1><div className="ml-1 flex items-center gap-1.5 shrink-0"><Switchsize="sm"@@ -785,7 +785,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {}/><span className={cn(- "text-xs font-medium hidden sm:inline",+ "text-caption font-medium hidden sm:inline",autopilot.status === "active" ? "text-emerald-500" :autopilot.status === "paused" ? "text-amber-500" :"text-muted-foreground",@@ -829,12 +829,12 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {<div className="max-w-4xl mx-auto p-6 space-y-8">{/* Properties */}<section className="space-y-4">- <h2 className="text-sm font-medium text-muted-foreground uppercase tracking-wider">+ <h2 className="text-body font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.detail.section_properties)}</h2>- <div className="grid grid-cols-2 gap-4 text-sm">+ <div className="grid grid-cols-2 gap-4 text-body"><div>- <label className="text-xs text-muted-foreground">{t(($) => $.detail.field_agent)}</label>+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_agent)}</label><div className="mt-1 flex items-center gap-2"><ActorAvataractorType={autopilot.assignee_type}@@ -849,7 +849,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {</div></div><div>- <label className="text-xs text-muted-foreground">{t(($) => $.detail.field_created_by)}</label>+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_created_by)}</label><div className="mt-1 flex items-center gap-2">{/* Creator may be a member or an agent: the HTTP create path stampsmember today, but backend logic also writes created_by_type=agent.@@ -867,14 +867,14 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {</div></div><div>- <label className="text-xs text-muted-foreground">{t(($) => $.detail.field_output_mode)}</label>+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_output_mode)}</label><div className="mt-1">{t(($) => $.execution_mode[autopilot.execution_mode as AutopilotExecutionMode])}</div></div>{autopilot.execution_mode === "create_issue" && (<div>- <label className="text-xs text-muted-foreground">{t(($) => $.detail.field_project)}</label>+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_project)}</label><div className="mt-1 min-w-0">{!autopilot.project_id ? (<span className="text-muted-foreground">{t(($) => $.detail.no_project)}</span>@@ -896,7 +896,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {)}{autopilot.execution_mode === "create_issue" && (<div className="col-span-2">- <label className="text-xs text-muted-foreground">+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_subscribers)}</label><SubscriberChips@@ -906,7 +906,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {)}{autopilot.description && (<div className="col-span-2">- <label className="text-xs text-muted-foreground">{t(($) => $.detail.field_prompt)}</label>+ <label className="text-caption text-muted-foreground">{t(($) => $.detail.field_prompt)}</label><div className="mt-1"><ReadonlyContent content={autopilot.description} /></div>@@ -918,7 +918,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {{/* Triggers */}<section className="space-y-3"><div className="flex items-center justify-between">- <h2 className="text-sm font-medium text-muted-foreground uppercase tracking-wider">+ <h2 className="text-body font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.detail.section_triggers)}</h2>{canWrite && (@@ -929,7 +929,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {)}</div>{triggers.length === 0 ? (- <div className="rounded-md border border-dashed p-4 text-center text-sm text-muted-foreground">+ <div className="rounded-md border border-dashed p-4 text-center text-body text-muted-foreground">{t(($) => $.detail.no_triggers)}</div>) : (@@ -951,7 +951,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {{/* Run History */}<section className="space-y-3">- <h2 className="text-sm font-medium text-muted-foreground uppercase tracking-wider">+ <h2 className="text-body font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.detail.section_run_history)}</h2>{runsLoading ? (@@ -961,7 +961,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {))}</div>) : runs.length === 0 ? (- <div className="rounded-md border border-dashed p-4 text-center text-sm text-muted-foreground">+ <div className="rounded-md border border-dashed p-4 text-center text-body text-muted-foreground">{t(($) => $.detail.no_runs)}</div>) : (@@ -976,7 +976,7 @@ export function AutopilotDetailPage({ autopilotId }: { autopilotId: string }) {{/* Danger zone */}{canWrite && (<section className="space-y-3 pt-4 border-t">- <h2 className="text-sm font-medium text-destructive uppercase tracking-wider">+ <h2 className="text-body font-medium text-destructive uppercase tracking-wider">{t(($) => $.detail.section_danger)}</h2><Button size="sm" variant="destructive" onClick={() => setDeleteConfirmOpen(true)}>diff --git a/packages/views/autopilots/components/autopilot-dialog.tsx b/packages/views/autopilots/components/autopilot-dialog.tsxindex 1c590f880e..a012c46184 100644--- a/packages/views/autopilots/components/autopilot-dialog.tsx+++ b/packages/views/autopilots/components/autopilot-dialog.tsx@@ -423,7 +423,7 @@ export function AutopilotDialog(props: AutopilotDialogProps) {{/* Header */}<div className="flex items-center justify-between px-5 pt-3 pb-2 shrink-0 border-b">- <div className="flex items-center gap-2 text-xs">+ <div className="flex items-center gap-2 text-caption"><div className="flex items-center gap-1.5"><span className="inline-flex size-5 items-center justify-center rounded-md bg-primary/15 text-primary"><Rocket className="size-3" />@@ -447,14 +447,14 @@ export function AutopilotDialog(props: AutopilotDialogProps) {{!isCreate && props.canManageAccess && (<><Popover>- <PopoverTrigger className="flex items-center gap-1.5 rounded-sm px-2 py-1 text-xs text-muted-foreground opacity-90 transition-all hover:bg-accent/60 hover:text-foreground hover:opacity-100 cursor-pointer">+ <PopoverTrigger className="flex items-center gap-1.5 rounded-sm px-2 py-1 text-caption text-muted-foreground opacity-90 transition-all hover:bg-accent/60 hover:text-foreground hover:opacity-100 cursor-pointer"><Users className="size-3.5" /><span>{t(($) => $.access.title)}</span></PopoverTrigger><PopoverContent align="end" sideOffset={6} keepMounted className="w-80"><PopoverHeader><PopoverTitle>{t(($) => $.access.title)}</PopoverTitle>- <PopoverDescription className="text-xs">+ <PopoverDescription className="text-caption">{t(($) => $.access.description)}</PopoverDescription></PopoverHeader>@@ -522,17 +522,17 @@ export function AutopilotDialog(props: AutopilotDialogProps) {autoFocus={isCreate}defaultValue={initial.title ?? ""}placeholder={t(($) => $.dialog.title_placeholder)}- className="text-2xl font-semibold tracking-tight"+ className="text-display-sm font-semibold tracking-tight"onChange={setTitle}onSubmit={handleSubmit}/></div><div className="px-6 pb-2 shrink-0 flex items-baseline gap-2">- <span className="text-[11px] font-semibold tracking-[0.08em] text-muted-foreground uppercase">+ <span className="text-micro font-semibold tracking-[0.08em] text-muted-foreground uppercase">{t(($) => $.dialog.runbook_label)}</span>- <span className="text-xs text-muted-foreground/80">+ <span className="text-caption text-muted-foreground/80">{t(($) => $.dialog.runbook_hint)}</span></div>@@ -616,7 +616,7 @@ export function AutopilotDialog(props: AutopilotDialogProps) {{/* Footer */}<div className="flex items-center justify-between gap-3 px-5 py-3 border-t shrink-0 bg-background">- <div className="flex items-center gap-1.5 text-xs text-muted-foreground min-w-0">+ <div className="flex items-center gap-1.5 text-caption text-muted-foreground min-w-0"><Zap className="size-3.5 text-amber-500 shrink-0" /><span className="truncate">{t(($) => $.dialog.auto_run_hint)}</span></div>@@ -648,7 +648,7 @@ export function AutopilotDialog(props: AutopilotDialogProps) {function SectionLabel({ children }: { children: React.ReactNode }) {return (- <div className="text-[11px] font-semibold tracking-[0.08em] text-muted-foreground uppercase mb-2">+ <div className="text-micro font-semibold tracking-[0.08em] text-muted-foreground uppercase mb-2">{children}</div>);@@ -697,11 +697,11 @@ function AgentSection({</span>)}<span className="flex-1 min-w-0">- <span className="block text-sm font-medium truncate">+ <span className="block text-body font-medium truncate">{selectedName ?? t(($) => $.dialog.select_assignee)}</span>{selectedDescription && (- <span className="block text-xs text-muted-foreground truncate">+ <span className="block text-caption text-muted-foreground truncate">{selectedDescription}</span>)}@@ -756,10 +756,10 @@ function OutputModeSection({)}</span><span className="flex-1 min-w-0">- <span className="block text-sm font-medium">+ <span className="block text-body font-medium">{t(($) => $.dialog.output_modes[key].label)}</span>- <span className="block text-xs text-muted-foreground">+ <span className="block text-caption text-muted-foreground">{t(($) => $.dialog.output_modes[key].description)}</span></span>@@ -803,7 +803,7 @@ function ProjectSection({<FolderKanban className="size-3.5" /></span>)}- <span className="flex-1 min-w-0 truncate text-sm font-medium">+ <span className="flex-1 min-w-0 truncate text-body font-medium">{selectedProject?.title ?? t(($) => $.dialog.no_project)}</span><ChevronDown className="size-3.5 text-muted-foreground shrink-0" />@@ -825,7 +825,7 @@ function SubscribersSection({return (<div><SectionLabel>{t(($) => $.dialog.section_subscribers)}</SectionLabel>- <p className="mb-2 text-[11px] text-muted-foreground">+ <p className="mb-2 text-micro text-muted-foreground">{t(($) => $.dialog.subscribers_hint)}</p><SubscriberMultiSelect@@ -855,7 +855,7 @@ function TriggerKindSection({<SegmentedTogglevalue={kind}onChange={onChange}- buttonClassName="px-3 py-1.5 text-sm"+ buttonClassName="px-3 py-1.5 text-body"options={[["schedule",@@ -891,7 +891,7 @@ function WebhookSection({<div className="space-y-3"><div><SectionLabel>{t(($) => $.dialog.section_webhook)}</SectionLabel>- <p className="rounded-md border bg-background px-3 py-2 text-xs text-muted-foreground leading-relaxed">+ <p className="rounded-md border bg-background px-3 py-2 text-caption text-muted-foreground leading-relaxed">{isCreate? t(($) => $.dialog.webhook_help_create): t(($) => $.dialog.webhook_help_edit)}@@ -936,22 +936,22 @@ function WebhookCreatedPanel({<span className="inline-flex size-9 items-center justify-center rounded-full bg-primary/15 text-primary"><Webhook className="size-4" /></span>- <h2 className="text-lg font-semibold tracking-tight">+ <h2 className="text-title font-semibold tracking-tight">{t(($) => $.dialog.webhook_created_title)}</h2></div>- <p className="text-sm text-muted-foreground leading-relaxed">+ <p className="text-body text-muted-foreground leading-relaxed">{t(($) => $.dialog.webhook_created_description)}</p><div>- <div className="text-[11px] font-semibold tracking-[0.08em] text-muted-foreground uppercase mb-2">+ <div className="text-micro font-semibold tracking-[0.08em] text-muted-foreground uppercase mb-2">{t(($) => $.trigger_row.webhook_url_label)}</div><WebhookUrlField url={url} size="md" /></div>- <div className="rounded-md border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-400 leading-relaxed">+ <div className="rounded-md border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-caption text-amber-700 dark:text-amber-400 leading-relaxed">{t(($) => $.dialog.webhook_created_warning)}</div></div>diff --git a/packages/views/autopilots/components/autopilot-list-actions.tsx b/packages/views/autopilots/components/autopilot-list-actions.tsxindex 6285b4076c..86c2948f7b 100644--- a/packages/views/autopilots/components/autopilot-list-actions.tsx+++ b/packages/views/autopilots/components/autopilot-list-actions.tsx@@ -81,7 +81,7 @@ export function DeleteAutopilotsDialog({})}</DialogDescription></DialogHeader>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.actions.delete_dialog.warning)}</p><DialogFooter>@@ -226,7 +226,7 @@ export function AutopilotBatchToolbar({skills batch toolbar for the rationale. */}<div className="absolute bottom-6 left-1/2 z-50 flex -translate-x-1/2 items-center gap-1 rounded-lg border bg-background px-2 py-1.5 shadow-lg"><div className="mr-1 flex items-center gap-1.5 border-r pl-1 pr-2">- <span className="text-sm font-medium">+ <span className="text-body font-medium">{t(($) => $.actions.selected, { count: rows.length })}</span><buttondiff --git a/packages/views/autopilots/components/autopilot-list-toolbar.tsx b/packages/views/autopilots/components/autopilot-list-toolbar.tsxindex 65a47da572..82cca0fad1 100644--- a/packages/views/autopilots/components/autopilot-list-toolbar.tsx+++ b/packages/views/autopilots/components/autopilot-list-toolbar.tsx@@ -187,7 +187,7 @@ export function AutopilotListToolbar({const sortLabel = SORT_LABELS[sortField];const countBadge = (n: number) => (- <span className="ml-auto pl-3 text-xs text-muted-foreground">{n}</span>+ <span className="ml-auto pl-3 text-caption text-muted-foreground">{n}</span>);return (@@ -213,7 +213,7 @@ export function AutopilotListToolbar({onClick={() => onScopeChange(s)}>{SCOPE_LABELS[s]}- <span className="tabular-nums text-xs text-muted-foreground/70">+ <span className="tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></Button>@@ -243,7 +243,7 @@ export function AutopilotListToolbar({{AUTOPILOT_SCOPES.map((s) => (<DropdownMenuRadioItem key={s} value={s}>{SCOPE_LABELS[s]}- <span className="ml-2 tabular-nums text-xs text-muted-foreground/70">+ <span className="ml-2 tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></DropdownMenuRadioItem>@@ -255,7 +255,7 @@ export function AutopilotListToolbar({{hasActiveFilters && (<spantitle={t(($) => $.toolbar.result_count_title)}- className="hidden shrink-0 text-xs tabular-nums text-muted-foreground md:inline"+ className="hidden shrink-0 text-caption tabular-nums text-muted-foreground md:inline">{visibleCount} / {allRows.length}</span>@@ -320,7 +320,7 @@ export function AutopilotListToolbar({{t(($) => $.toolbar.section_assignee)}</span>{filters.assignees.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.assignees.length}</span>)}@@ -357,7 +357,7 @@ export function AutopilotListToolbar({{t(($) => $.toolbar.section_trigger)}</span>{filters.triggerKinds.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.triggerKinds.length}</span>)}@@ -391,7 +391,7 @@ export function AutopilotListToolbar({{t(($) => $.toolbar.section_mode)}</span>{filters.modes.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.modes.length}</span>)}@@ -419,7 +419,7 @@ export function AutopilotListToolbar({{t(($) => $.toolbar.section_creator)}</span>{filters.creators.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.creators.length}</span>)}@@ -478,7 +478,7 @@ export function AutopilotListToolbar({</Tooltip><PopoverContent align="end" className="w-64 p-0"><div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span><div className="mt-2 flex items-center gap-1.5">@@ -488,7 +488,7 @@ export function AutopilotListToolbar({<Buttonvariant="outline"size="sm"- className="flex-1 justify-between text-xs"+ className="flex-1 justify-between text-caption">{sortLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -534,7 +534,7 @@ export function AutopilotListToolbar({</div><div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span><div className="mt-2 space-y-2">@@ -543,7 +543,7 @@ export function AutopilotListToolbar({key={key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{COLUMN_LABELS[key]}</span>+ <span className="text-body">{COLUMN_LABELS[key]}</span><Switchsize="sm"checked={!hiddenColumns.includes(key)}diff --git a/packages/views/autopilots/components/autopilots-page.tsx b/packages/views/autopilots/components/autopilots-page.tsxindex 8ecef18867..49f1a7eb56 100644--- a/packages/views/autopilots/components/autopilots-page.tsx+++ b/packages/views/autopilots/components/autopilots-page.tsx@@ -244,7 +244,7 @@ function NameCell({ autopilot }: { autopilot: Autopilot }) {const { t } = useT("autopilots");return (<ListGridCell className="gap-1.5">- <span className="min-w-0 truncate text-sm font-medium">+ <span className="min-w-0 truncate text-body font-medium">{autopilot.title}</span>{/* Paused marker: in the "all" scope active and paused rows mix, so a@@ -272,7 +272,7 @@ function AssigneeCell({ autopilot }: { autopilot: Autopilot }) {enableHoverCard={autopilot.assignee_type === "agent"}showStatusDot={autopilot.assignee_type === "agent"}/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{getActorName(autopilot.assignee_type, autopilot.assignee_id)}</span></ListGridCell>@@ -291,7 +291,7 @@ function TriggerCell({ autopilot }: { autopilot: Autopilot }) {if (kinds.length === 0) {return (<ListGridCell className="hidden @2xl:flex">- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span></ListGridCell>);}@@ -307,7 +307,7 @@ function TriggerCell({ autopilot }: { autopilot: Autopilot }) {return (<spankey={kind}- className="flex min-w-0 items-center gap-1 text-xs text-muted-foreground"+ className="flex min-w-0 items-center gap-1 text-caption text-muted-foreground"><Icon className="size-3 shrink-0" /><span className="truncate">{label}</span>@@ -342,7 +342,7 @@ function LastRunCell({ autopilot }: { autopilot: Autopilot }) {if (!autopilot.last_run_at) {return (<ListGridCell className="hidden @2xl:flex">- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span></ListGridCell>);}@@ -361,7 +361,7 @@ function LastRunCell({ autopilot }: { autopilot: Autopilot }) {title={knownStatus ? t(($) => $.run_status[knownStatus]) : status ?? undefined}className={`size-1.5 shrink-0 rounded-full ${runStatusDotClass(status)}`}/>- <span className="whitespace-nowrap text-xs tabular-nums text-muted-foreground">+ <span className="whitespace-nowrap text-caption tabular-nums text-muted-foreground">{timeAgo(autopilot.last_run_at)}</span></ListGridCell>@@ -374,11 +374,11 @@ function NextRunCell({ autopilot }: { autopilot: Autopilot }) {return (<ListGridCell className="hidden @2xl:flex">{next ? (- <span className="whitespace-nowrap text-xs tabular-nums text-muted-foreground">+ <span className="whitespace-nowrap text-caption tabular-nums text-muted-foreground">{formatInTimeZone(next, undefined, i18n.language)}</span>) : (- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span>)}</ListGridCell>);@@ -393,7 +393,7 @@ function ModeCell({ autopilot }: { autopilot: Autopilot }) {: mode;return (<ListGridCell className="hidden @2xl:flex">- <span className="truncate text-xs text-muted-foreground">{label}</span>+ <span className="truncate text-caption text-muted-foreground">{label}</span></ListGridCell>);}@@ -407,7 +407,7 @@ function CreatorCell({ autopilot }: { autopilot: Autopilot }) {actorId={autopilot.created_by_id}size="sm"/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{getActorName(autopilot.created_by_type, autopilot.created_by_id)}</span></ListGridCell>@@ -799,10 +799,10 @@ export function AutopilotsPage() {) : showEmpty ? (<div className="flex flex-col items-center px-5 py-16"><Zap className="mb-3 h-10 w-10 text-muted-foreground opacity-30" />- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.page.empty.title)}</p>- <p className="mb-6 mt-1 text-xs text-muted-foreground">+ <p className="mb-6 mt-1 text-caption text-muted-foreground">{t(($) => $.page.empty.hint)}</p><div className="grid w-full max-w-3xl grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3">@@ -817,10 +817,10 @@ export function AutopilotsPage() {><Icon className="mt-0.5 h-5 w-5 shrink-0 text-muted-foreground" /><div className="min-w-0">- <div className="text-sm font-medium">+ <div className="text-body font-medium">{t(($) => $.templates[tpl.id].title)}</div>- <div className="mt-0.5 line-clamp-2 text-xs text-muted-foreground">+ <div className="mt-0.5 line-clamp-2 text-caption text-muted-foreground">{t(($) => $.templates[tpl.id].summary)}</div></div>@@ -881,7 +881,7 @@ export function AutopilotsPage() {}}>{rows.length === 0 && (- <div className="col-span-full py-16 text-center text-sm text-muted-foreground">+ <div className="col-span-full py-16 text-center text-body text-muted-foreground">{t(($) => $.page.no_matches)}</div>)}@@ -932,7 +932,7 @@ export function AutopilotsPage() {<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("created") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{new Date(autopilot.created_at).toLocaleDateString()}</ListGridCell>) : (diff --git a/packages/views/autopilots/components/pickers/timezone-picker.tsx b/packages/views/autopilots/components/pickers/timezone-picker.tsxindex 28829a642b..5dbeb05673 100644--- a/packages/views/autopilots/components/pickers/timezone-picker.tsx+++ b/packages/views/autopilots/components/pickers/timezone-picker.tsx@@ -103,7 +103,7 @@ export function TimezonePicker({: `${ariaLabel}: ${[selectedCity, selectedOffset].filter(Boolean).join(" ")}`}className={cn(- "flex h-8 w-full items-center gap-1.5 rounded-lg border border-input bg-transparent px-2.5 text-sm transition-colors outline-none",+ "flex h-8 w-full items-center gap-1.5 rounded-lg border border-input bg-transparent px-2.5 text-body transition-colors outline-none","hover:bg-accent/30","focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50","disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",@@ -117,7 +117,7 @@ export function TimezonePicker({<Globe className="size-3.5 shrink-0 text-muted-foreground" /><span className="flex-1 truncate text-left">{selectedCity}</span>{selectedOffset && (- <span className="shrink-0 text-xs text-muted-foreground tabular-nums">+ <span className="shrink-0 text-caption text-muted-foreground tabular-nums">{selectedOffset}</span>)}@@ -144,7 +144,7 @@ export function TimezonePicker({onChange(tz);setOpen(false);}}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-accent"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body transition-colors hover:bg-accent"><span className="flex size-3.5 shrink-0 items-center justify-center">{isSelected && (@@ -153,7 +153,7 @@ export function TimezonePicker({</span><span className="flex-1 truncate text-left">{cityLabel(tz)}</span>{off && (- <span className="shrink-0 text-xs text-muted-foreground tabular-nums">+ <span className="shrink-0 text-caption text-muted-foreground tabular-nums">{off}</span>)}diff --git a/packages/views/autopilots/components/schedule-editor/schedule-editor.tsx b/packages/views/autopilots/components/schedule-editor/schedule-editor.tsxindex fd9e11dc0d..4552408a78 100644--- a/packages/views/autopilots/components/schedule-editor/schedule-editor.tsx+++ b/packages/views/autopilots/components/schedule-editor/schedule-editor.tsx@@ -231,7 +231,7 @@ function ScheduleField({disabled={disabled}className={cn("flex min-w-0 flex-col gap-1.5 border-0 p-0", disabled && "opacity-60")}>- <p className="text-xs font-medium text-muted-foreground">{label}</p>+ <p className="text-caption font-medium text-muted-foreground">{label}</p>{/* flex gap, not space-y: Base UI's Select appends a hidden fixed-positionform input after the trigger, which space-y counts as the last child —handing its 8px to the visible control and inflating the block. */}@@ -753,7 +753,7 @@ export function ScheduleEditor({// change a chip's size.className={cn("inline-flex h-6.5 min-w-0 flex-1 items-center justify-center rounded-md",- "text-[11px] font-medium leading-none transition-colors",+ "text-micro font-medium leading-none transition-colors",selected? "bg-foreground text-background": "bg-muted text-muted-foreground hover:text-foreground",@@ -766,7 +766,7 @@ export function ScheduleEditor({</div>)}{value.days.kind === "monthly" && value.days.dayOfMonth >= 29 && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.schedule_editor.monthly_short_month_hint, {day: value.days.dayOfMonth,})}@@ -791,7 +791,7 @@ export function ScheduleEditor({result of the fields above, not more fields alongside them. The cronline inside it doubles as the advanced editing entry — clicking itswaps the text for an input, and the form dims while raw mode holds. */}- <div className="rounded-md bg-muted/40 p-2.5 text-xs text-muted-foreground">+ <div className="rounded-md bg-muted/40 p-2.5 text-caption text-muted-foreground"><div className="space-y-2">{/* The plain-language sentence leads: it is the line a person reads,so it takes the panel's entry and the foreground color, and the@@ -812,7 +812,7 @@ export function ScheduleEditor({// Its own row above the fields, mirroring the closed readback:// a long zone name and long fields truncate independently// instead of splitting one line between them.- <InputGroupAddon align="block-start" className="font-mono text-xs">+ <InputGroupAddon align="block-start" className="font-mono text-caption">{/* eslint-disable-next-line i18next/no-literal-string -- cron syntax, not copy */}<span className="min-w-0 truncate">TZ={value.timezone}</span></InputGroupAddon>@@ -850,7 +850,7 @@ export function ScheduleEditor({}}aria-invalid={cronErrorDetail !== null}aria-describedby={cronErrorDetail !== null ? cronErrorId : undefined}- className="font-mono text-sm"+ className="font-mono text-body"/></InputGroup>) : (@@ -888,7 +888,7 @@ export function ScheduleEditor({</p>{/* The parser's own words, verbatim — untranslated, but it is theonly text that says which field is wrong. */}- <p className="font-mono text-[11px] text-destructive/70">{cronErrorDetail}</p>+ <p className="font-mono text-micro text-destructive/70">{cronErrorDetail}</p></div>) : advanced ? (// Three different things are being said here, and only the first is@@ -962,7 +962,7 @@ export function ScheduleEditor({)}</div>{disabled === true && disabledReason !== undefined && (- <p className="mt-2 text-[11px] text-muted-foreground">{disabledReason}</p>+ <p className="mt-2 text-micro text-muted-foreground">{disabledReason}</p>)}</div>);diff --git a/packages/views/autopilots/components/subscriber-multi-select.tsx b/packages/views/autopilots/components/subscriber-multi-select.tsxindex 60b8ee9670..589fdd5433 100644--- a/packages/views/autopilots/components/subscriber-multi-select.tsx+++ b/packages/views/autopilots/components/subscriber-multi-select.tsx@@ -68,7 +68,7 @@ export function SubscriberMultiSelect({{selectedMembers.map((m) => (<spankey={m.user_id}- className="inline-flex items-center gap-1 rounded-full border bg-background px-2 py-0.5 text-xs"+ className="inline-flex items-center gap-1 rounded-full border bg-background px-2 py-0.5 text-caption"><ActorAvatar actorType="member" actorId={m.user_id} size="xs" /><span className="max-w-[10rem] truncate">{m.name}</span>@@ -96,7 +96,7 @@ export function SubscriberMultiSelect({trigger={<spanclassName={cn(- "inline-flex items-center gap-1 rounded-full border border-dashed px-2 py-0.5 text-xs text-muted-foreground",+ "inline-flex items-center gap-1 rounded-full border border-dashed px-2 py-0.5 text-caption text-muted-foreground","hover:border-primary/40 hover:text-foreground transition-colors cursor-pointer",)}>diff --git a/packages/views/autopilots/components/webhook-deliveries-section.tsx b/packages/views/autopilots/components/webhook-deliveries-section.tsxindex 7c2448b364..59780e3c26 100644--- a/packages/views/autopilots/components/webhook-deliveries-section.tsx+++ b/packages/views/autopilots/components/webhook-deliveries-section.tsx@@ -120,7 +120,7 @@ export function WebhookDeliveriesSection({return (<section className="space-y-3">- <h2 className="text-sm font-medium text-muted-foreground uppercase tracking-wider">+ <h2 className="text-body font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.deliveries.section_title)}</h2>{isLoading ? (@@ -130,7 +130,7 @@ export function WebhookDeliveriesSection({))}</div>) : deliveries.length === 0 ? (- <div className="rounded-md border border-dashed p-4 text-center text-sm text-muted-foreground">+ <div className="rounded-md border border-dashed p-4 text-center text-body text-muted-foreground">{t(($) => $.deliveries.empty)}</div>) : (@@ -172,7 +172,7 @@ function DeliveryRow({<buttontype="button"onClick={() => setOpen(true)}- className="flex w-full items-center gap-3 px-4 py-2.5 text-left text-sm hover:bg-accent/30 transition-colors"+ className="flex w-full items-center gap-3 px-4 py-2.5 text-left text-body hover:bg-accent/30 transition-colors"><StatusIconclassName={cn(@@ -181,13 +181,13 @@ function DeliveryRow({visual.spin && "animate-spin",)}/>- <span className={cn("w-24 shrink-0 text-xs font-medium", visual.color)}>+ <span className={cn("w-24 shrink-0 text-caption font-medium", visual.color)}>{statusLabel}</span>- <span className="w-20 shrink-0 text-xs text-muted-foreground truncate">+ <span className="w-20 shrink-0 text-caption text-muted-foreground truncate">{providerLabel}</span>- <span className="flex-1 min-w-0 text-xs text-muted-foreground truncate font-mono">+ <span className="flex-1 min-w-0 text-caption text-muted-foreground truncate font-mono">{delivery.event || t(($) => $.webhook_payload.unknown_event)}</span>{delivery.replayed_from_delivery_id && (@@ -203,7 +203,7 @@ function DeliveryRow({})}</Badge>)}- <span className="w-32 shrink-0 text-right text-xs text-muted-foreground tabular-nums">+ <span className="w-32 shrink-0 text-right text-caption text-muted-foreground tabular-nums">{formatDate(delivery.received_at || delivery.created_at)}</span></button>@@ -267,20 +267,20 @@ function DeliveryDetailDialog({visual.spin && "animate-spin",)}/>- <span className={cn("text-sm font-medium", visual.color)}>+ <span className={cn("text-body font-medium", visual.color)}>{t(($) => $.deliveries.status[full.status as WebhookDeliveryStatus]) ??full.status}</span></div><Badge variant="outline">{full.provider || "—"}</Badge>- <code className="rounded bg-muted px-2 py-0.5 text-xs font-mono">+ <code className="rounded bg-muted px-2 py-0.5 text-caption font-mono">{full.event || t(($) => $.webhook_payload.unknown_event)}</code><SignatureBadge status={full.signature_status as WebhookSignatureStatus} /></div>{/* Meta grid */}- <dl className="grid grid-cols-2 gap-x-4 gap-y-2 text-xs">+ <dl className="grid grid-cols-2 gap-x-4 gap-y-2 text-caption"><MetaRowlabel={t(($) => $.deliveries.detail.received_at)}value={formatDate(full.received_at)}@@ -333,7 +333,7 @@ function DeliveryDetailDialog({</dl>{full.error && (- <div className="rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive">+ <div className="rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-caption text-destructive"><div className="font-medium">{t(($) => $.deliveries.detail.error_label)}</div>@@ -464,7 +464,7 @@ function CodeBlock({ label, value }: { label: string; value: string }) {// surrounding grid/flex cell (and the whole DialogContent) past the// viewport edge.<div className="min-w-0 rounded-md border bg-background">- <div className="flex items-center justify-between border-b px-3 py-1.5 text-[11px]">+ <div className="flex items-center justify-between border-b px-3 py-1.5 text-micro"><span className="font-medium text-muted-foreground">{label}</span><buttontype="button"@@ -484,7 +484,7 @@ function CodeBlock({ label, value }: { label: string; value: string }) {{/* whitespace-pre-wrap keeps pretty-printed indentation but letslong lines wrap; break-all is the only thing that breaks mid-token(necessary for minified JSON, which has no whitespace to break at). */}- <pre className="max-h-48 overflow-auto bg-muted/40 px-3 py-2 text-xs font-mono leading-relaxed whitespace-pre-wrap break-all">+ <pre className="max-h-48 overflow-auto bg-muted/40 px-3 py-2 text-caption font-mono leading-relaxed whitespace-pre-wrap break-all">{display}{isTruncated && (<span className="block pt-2 text-muted-foreground/70">@@ -500,21 +500,21 @@ function ReplayHint({ delivery }: { delivery: WebhookDelivery }) {const { t } = useT("autopilots");if (delivery.signature_status === "invalid") {return (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.deliveries.replay.disabled_invalid_signature)}</span>);}if (delivery.status === "rejected") {return (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.deliveries.replay.disabled_rejected)}</span>);}if (delivery.status === "queued") {return (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.deliveries.replay.disabled_queued)}</span>);diff --git a/packages/views/autopilots/components/webhook-event-filter-section.tsx b/packages/views/autopilots/components/webhook-event-filter-section.tsxindex 027a6d9a57..05c11ff2d1 100644--- a/packages/views/autopilots/components/webhook-event-filter-section.tsx+++ b/packages/views/autopilots/components/webhook-event-filter-section.tsx@@ -42,7 +42,7 @@ export function WebhookEventFilterSection({return (<div className="space-y-2">- <div className="flex items-center gap-1.5 text-[11px] font-semibold tracking-[0.08em] text-muted-foreground uppercase">+ <div className="flex items-center gap-1.5 text-micro font-semibold tracking-[0.08em] text-muted-foreground uppercase"><Filter className="size-3" />{t(($) => $.dialog.event_filter_label)}<a@@ -62,7 +62,7 @@ export function WebhookEventFilterSection({{filters.map((f, idx) => (<divkey={idx}- className="flex items-center gap-2 rounded-md border bg-background px-2.5 py-1.5 text-xs"+ className="flex items-center gap-2 rounded-md border bg-background px-2.5 py-1.5 text-caption"><span className="font-mono font-medium text-foreground">{f.event}@@ -96,7 +96,7 @@ export function WebhookEventFilterSection({}}}placeholder={t(($) => $.dialog.event_filter_event_placeholder)}- className="flex-1 min-w-0 rounded-md border bg-background px-2.5 py-1.5 text-xs font-mono outline-none focus:ring-1 focus:ring-ring"+ className="flex-1 min-w-0 rounded-md border bg-background px-2.5 py-1.5 text-caption font-mono outline-none focus:ring-1 focus:ring-ring"/><inputtype="text"@@ -109,14 +109,14 @@ export function WebhookEventFilterSection({}}}placeholder={t(($) => $.dialog.event_filter_actions_placeholder)}- className="w-28 rounded-md border bg-background px-2.5 py-1.5 text-xs outline-none focus:ring-1 focus:ring-ring"+ className="w-28 rounded-md border bg-background px-2.5 py-1.5 text-caption outline-none focus:ring-1 focus:ring-ring"/><buttontype="button"onClick={addFilter}disabled={!newEvent.trim()}className={cn(- "inline-flex items-center justify-center rounded-md border px-2.5 py-1.5 text-xs font-medium transition-colors",+ "inline-flex items-center justify-center rounded-md border px-2.5 py-1.5 text-caption font-medium transition-colors",newEvent.trim()? "bg-background text-foreground hover:bg-accent/40 cursor-pointer": "bg-muted text-muted-foreground cursor-not-allowed",@@ -125,7 +125,7 @@ export function WebhookEventFilterSection({<Plus className="size-3.5" /></button></div>- <p className="text-[10px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.dialog.event_filter_hint)}</p></div>diff --git a/packages/views/autopilots/components/webhook-payload-preview.tsx b/packages/views/autopilots/components/webhook-payload-preview.tsxindex 2e0bd9a8e3..44713129c9 100644--- a/packages/views/autopilots/components/webhook-payload-preview.tsx+++ b/packages/views/autopilots/components/webhook-payload-preview.tsx@@ -81,7 +81,7 @@ export function WebhookPayloadPreview({<buttontype="button"onClick={() => setOpen((v) => !v)}- className="flex w-full items-center gap-2 px-3 py-2 text-left text-xs hover:bg-accent/30 transition-colors"+ className="flex w-full items-center gap-2 px-3 py-2 text-left text-caption hover:bg-accent/30 transition-colors"><Webhook className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><span className="font-medium">@@ -103,7 +103,7 @@ export function WebhookPayloadPreview({</button>{open && (<div className="border-t">- <div className="flex items-center justify-between px-3 py-1.5 text-[11px] text-muted-foreground">+ <div className="flex items-center justify-between px-3 py-1.5 text-micro text-muted-foreground"><span>{contentType? t(($) => $.webhook_payload.content_type, { type: contentType })@@ -126,7 +126,7 @@ export function WebhookPayloadPreview({: t(($) => $.webhook_payload.copy)}</button></div>- <pre className="max-h-64 overflow-auto bg-muted/40 px-3 py-2 text-xs font-mono leading-relaxed">+ <pre className="max-h-64 overflow-auto bg-muted/40 px-3 py-2 text-caption font-mono leading-relaxed">{displayJSON}{isTruncated && (<span className="block pt-2 text-muted-foreground/70">diff --git a/packages/views/autopilots/components/webhook-url-field.tsx b/packages/views/autopilots/components/webhook-url-field.tsxindex 8e3fcf6202..562c567feb 100644--- a/packages/views/autopilots/components/webhook-url-field.tsx+++ b/packages/views/autopilots/components/webhook-url-field.tsx@@ -13,7 +13,7 @@ const SIZES = {// Trigger row on the detail page — compact, sits inline with the row actions.sm: {row: "items-center",- value: "rounded bg-muted px-2 py-1 text-xs",+ value: "rounded bg-muted px-2 py-1 text-caption",button: "h-7 w-7",buttonVariant: "ghost",icon: "h-3.5 w-3.5",@@ -21,7 +21,7 @@ const SIZES = {// Post-create panel — larger standalone field.md: {row: "items-stretch",- value: "rounded-md border bg-muted px-3 py-2 text-xs",+ value: "rounded-md border bg-muted px-3 py-2 text-caption",button: "h-9 w-9",buttonVariant: "outline",icon: "size-4",diff --git a/packages/views/billing/billing-test-page.tsx b/packages/views/billing/billing-test-page.tsxindex 4dc4fc369b..b2ef8b91dd 100644--- a/packages/views/billing/billing-test-page.tsx+++ b/packages/views/billing/billing-test-page.tsx@@ -72,8 +72,8 @@ export function BillingTestPage() {return (<div className="space-y-6 p-6"><header>- <h1 className="text-xl font-semibold">{t(($) => $.title)}</h1>- <p className="mt-1 text-sm text-muted-foreground">+ <h1 className="text-title-lg font-semibold">{t(($) => $.title)}</h1>+ <p className="mt-1 text-body text-muted-foreground">{t(($) => $.subtitle)}</p></header>@@ -147,10 +147,10 @@ function CheckoutSessionStatusBanner({return (<Card className="border-primary/40 bg-primary/5"><CardHeader>- <CardTitle className="text-sm">+ <CardTitle className="text-body">{t(($) => $.checkout.session_label, { prefix: sessionId.slice(0, 16) })}</CardTitle>- <CardDescription className="text-xs">+ <CardDescription className="text-caption">{isLoading? t(($) => $.checkout.loading): isError@@ -168,7 +168,7 @@ function CheckoutSessionStatusBanner({</CardDescription></CardHeader>{data && (- <CardContent className="text-xs">+ <CardContent className="text-caption"><dl className="grid grid-cols-[120px_1fr] gap-y-1"><dt className="text-muted-foreground">{t(($) => $.checkout.label_order)}</dt><dd className="font-mono">{data.order_id}</dd>@@ -214,8 +214,8 @@ function BalanceCard() {<Card><CardHeader className="flex flex-row items-center justify-between"><div>- <CardTitle className="text-sm">{t(($) => $.balance.title)}</CardTitle>- <CardDescription className="text-xs">+ <CardTitle className="text-body">{t(($) => $.balance.title)}</CardTitle>+ <CardDescription className="text-caption">{t(($) => $.endpoints.balance)}</CardDescription></div>@@ -230,14 +230,14 @@ function BalanceCard() {) : balance.isError ? (<ErrorText error={balance.error} />) : (- <div className="space-y-1 text-sm">- <div className="text-2xl font-semibold tabular-nums">+ <div className="space-y-1 text-body">+ <div className="text-display-sm font-semibold tabular-nums">{balance.data?.balance_credit.toLocaleString() ?? 0}- <span className="ml-1 text-sm font-normal text-muted-foreground">+ <span className="ml-1 text-body font-normal text-muted-foreground">{t(($) => $.balance.credits_suffix)}</span></div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.balance.meta, {micro: balance.data?.balance_micro.toLocaleString() ?? 0,owner: balance.data?.owner_id.slice(0, 8) ?? "",@@ -306,8 +306,8 @@ function BuyAndPortalSection() {return (<Card><CardHeader>- <CardTitle className="text-sm">{t(($) => $.buy.title)}</CardTitle>- <CardDescription className="text-xs">+ <CardTitle className="text-body">{t(($) => $.buy.title)}</CardTitle>+ <CardDescription className="text-caption">{t(($) => $.endpoints.buy)}</CardDescription></CardHeader>@@ -329,7 +329,7 @@ function BuyAndPortalSection() {))}</div>) : (- <p className="text-xs text-muted-foreground">{t(($) => $.buy.no_tiers)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.buy.no_tiers)}</p>)}<div className="border-t pt-4">@@ -347,7 +347,7 @@ function BuyAndPortalSection() {)}{t(($) => $.buy.open_portal)}</Button>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.buy.portal_hint)}</p></div>@@ -391,14 +391,14 @@ function TierButton({className="rounded-md border bg-background p-3 text-left transition hover:border-primary disabled:cursor-not-allowed disabled:opacity-50"><div className="flex items-center justify-between">- <div className="text-sm font-medium">{display}</div>+ <div className="text-body font-medium">{display}</div>{busy && <Loader2 className="h-3.5 w-3.5 animate-spin" />}</div>- <div className="mt-1 text-xs text-muted-foreground">+ <div className="mt-1 text-caption text-muted-foreground">{baseLine}{bonusLine}</div>- <div className="mt-1 font-mono text-[10px] text-muted-foreground/70">+ <div className="mt-1 font-mono text-micro text-muted-foreground/70">{t(($) => $.buy.tier_id, { id: tier.id })}</div></button>@@ -414,8 +414,8 @@ function TransactionsCard() {<Card><CardHeader className="flex flex-row items-center justify-between"><div>- <CardTitle className="text-sm">{t(($) => $.transactions.title)}</CardTitle>- <CardDescription className="text-xs">+ <CardTitle className="text-body">{t(($) => $.transactions.title)}</CardTitle>+ <CardDescription className="text-caption">{t(($) => $.endpoints.transactions)}</CardDescription></div>@@ -430,7 +430,7 @@ function TransactionsCard() {) : txs.isError ? (<ErrorText error={txs.error} />) : txs.data?.items.length ? (- <ul className="space-y-2 text-xs">+ <ul className="space-y-2 text-caption">{txs.data.items.map((row) => (<TransactionRow key={row.id} row={row} />))}@@ -454,14 +454,14 @@ function TransactionRow({ row }: { row: BillingTransaction }) {return (<li className="rounded-md border bg-background p-2.5"><div className="flex items-center justify-between gap-2">- <span className="text-xs font-medium">+ <span className="text-caption font-medium">{row.tx_type}- <span className="ml-1.5 rounded bg-muted px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground">+ <span className="ml-1.5 rounded bg-muted px-1.5 py-0.5 font-mono text-micro text-muted-foreground">{row.source}</span></span><span- className={`text-sm tabular-nums ${+ className={`text-body tabular-nums ${credit >= 0? "text-green-700 dark:text-green-400": "text-red-700 dark:text-red-400"@@ -473,9 +473,9 @@ function TransactionRow({ row }: { row: BillingTransaction }) {</span></div>{row.description && (- <div className="mt-1 text-xs text-muted-foreground">{row.description}</div>+ <div className="mt-1 text-caption text-muted-foreground">{row.description}</div>)}- <div className="mt-1 font-mono text-[10px] text-muted-foreground/70">+ <div className="mt-1 font-mono text-micro text-muted-foreground/70">{t(($) => $.transactions.row_meta, {date: formatDate(row.created_at, t),balance: (row.balance_after / MICRO_PER_CREDIT).toLocaleString(),@@ -493,8 +493,8 @@ function BatchesCard() {<Card><CardHeader className="flex flex-row items-center justify-between"><div>- <CardTitle className="text-sm">{t(($) => $.batches.title)}</CardTitle>- <CardDescription className="text-xs">+ <CardTitle className="text-body">{t(($) => $.batches.title)}</CardTitle>+ <CardDescription className="text-caption">{t(($) => $.endpoints.batches)}</CardDescription></div>@@ -509,7 +509,7 @@ function BatchesCard() {) : batches.isError ? (<ErrorText error={batches.error} />) : batches.data?.items.length ? (- <ul className="space-y-2 text-xs">+ <ul className="space-y-2 text-caption">{batches.data.items.map((row) => (<BatchRow key={row.id} row={row} />))}@@ -535,20 +535,20 @@ function BatchRow({ row }: { row: BillingBatch }) {return (<li className="rounded-md border bg-background p-2.5"><div className="flex items-center justify-between gap-2">- <span className="text-xs font-medium">+ <span className="text-caption font-medium">{row.source_type}- <span className="ml-1.5 font-mono text-[10px] text-muted-foreground">+ <span className="ml-1.5 font-mono text-micro text-muted-foreground">{t(($) => $.batches.id_suffix, { id: row.id.slice(0, 8) })}</span></span>- <span className="text-sm tabular-nums">+ <span className="text-body tabular-nums">{t(($) => $.batches.remaining_over_total, {remaining: remaining.toLocaleString(),total: total.toLocaleString(),})}</span></div>- <div className="mt-1 text-xs text-muted-foreground">+ <div className="mt-1 text-caption text-muted-foreground">{t(($) => $.batches.consumed, { value: consumed.toLocaleString() })}{row.expires_at? t(($) => $.batches.expires_suffix, { value: formatDate(row.expires_at, t) })@@ -565,8 +565,8 @@ function TopupsCard() {<Card><CardHeader className="flex flex-row items-center justify-between"><div>- <CardTitle className="text-sm">{t(($) => $.topups.title)}</CardTitle>- <CardDescription className="text-xs">+ <CardTitle className="text-body">{t(($) => $.topups.title)}</CardTitle>+ <CardDescription className="text-caption">{t(($) => $.endpoints.topups)}</CardDescription></div>@@ -581,7 +581,7 @@ function TopupsCard() {) : topups.isError ? (<ErrorText error={topups.error} />) : topups.data?.items.length ? (- <ul className="space-y-2 text-xs">+ <ul className="space-y-2 text-caption">{topups.data.items.map((row) => (<TopupRow key={row.id} row={row} />))}@@ -604,10 +604,10 @@ function TopupRow({ row }: { row: BillingTopup }) {return (<li className="rounded-md border bg-background p-2.5"><div className="flex items-center justify-between gap-2">- <span className="text-xs font-medium">+ <span className="text-caption font-medium">{row.tier_id || row.id.slice(0, 8)}<span- className={`ml-1.5 rounded px-1.5 py-0.5 font-mono text-[10px] ${+ className={`ml-1.5 rounded px-1.5 py-0.5 font-mono text-micro ${row.status === "credited"? "bg-green-500/10 text-green-700 dark:text-green-400": row.status === "failed" || row.status === "canceled"@@ -618,7 +618,7 @@ function TopupRow({ row }: { row: BillingTopup }) {{row.status}</span></span>- <span className="text-sm tabular-nums">+ <span className="text-body tabular-nums">{row.bonus_credits > 0? t(($) => $.topups.amount_to_credits_with_bonus, {money: formatMoney(row.amount_cents, row.currency),@@ -631,7 +631,7 @@ function TopupRow({ row }: { row: BillingTopup }) {})}</span></div>- <div className="mt-1 font-mono text-[10px] text-muted-foreground/70">+ <div className="mt-1 font-mono text-micro text-muted-foreground/70">{t(($) => $.topups.row_meta, {date: formatDate(row.created_at, t),checkout: row.stripe_checkout_id || t(($) => $.topups.stripe_empty),@@ -655,7 +655,7 @@ function PagingFooter({const { t } = useT("billing");if (total === 0) return null;return (- <div className="mt-3 text-[10px] text-muted-foreground">+ <div className="mt-3 text-micro text-muted-foreground">{t(($) => $.shared.paging, {page,totalPages: Math.max(1, Math.ceil(total / pageSize)),@@ -691,14 +691,14 @@ function RefreshButton({function ErrorText({ error }: { error: unknown }) {const { t } = useT("billing");return (- <p className="text-xs text-destructive">+ <p className="text-caption text-destructive">{error instanceof Error ? error.message : t(($) => $.shared.request_failed)}</p>);}function EmptyText({ children }: { children: React.ReactNode }) {- return <p className="text-xs text-muted-foreground">{children}</p>;+ return <p className="text-caption text-muted-foreground">{children}</p>;}function formatMoney(amountCents: number, currency: string): string {diff --git a/packages/views/chat/chat-page.tsx b/packages/views/chat/chat-page.tsxindex 31df8edd65..839bc81a1d 100644--- a/packages/views/chat/chat-page.tsx+++ b/packages/views/chat/chat-page.tsx@@ -201,7 +201,7 @@ export function ChatPage() {const listHeader = (<PageHeader className="justify-between"><div className="flex items-center gap-2">- <h1 className="text-sm font-semibold">{t(($) => $.page.title)}</h1>+ <h1 className="text-body font-semibold">{t(($) => $.page.title)}</h1></div>{newChatButton}</PageHeader>@@ -343,7 +343,7 @@ export function ChatPage() {) : (<div className="flex h-full flex-col items-center justify-center gap-3 text-muted-foreground"><MessageSquare className="h-10 w-10 text-muted-foreground/30" />- <p className="text-sm">{t(($) => $.page.select_prompt)}</p>+ <p className="text-body">{t(($) => $.page.select_prompt)}</p></div>)}</div>diff --git a/packages/views/chat/components/archived-agent-banner.tsx b/packages/views/chat/components/archived-agent-banner.tsxindex 22a26d7dfe..980f13a73e 100644--- a/packages/views/chat/components/archived-agent-banner.tsx+++ b/packages/views/chat/components/archived-agent-banner.tsx@@ -17,7 +17,7 @@ export function ArchivedAgentBanner({ agentName }: { agentName?: string }) {const name = agentName?.trim() || t(($) => $.offline_banner.fallback_name);return (<div className={cn(CHAT_GUTTER, "mb-1.5")}>- <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs bg-muted text-muted-foreground ring-1 ring-border")}>+ <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-caption bg-muted text-muted-foreground ring-1 ring-border")}><Archive className="size-3.5 shrink-0" /><span className="truncate">{t(($) => $.archived_agent_banner, { name })}diff --git a/packages/views/chat/components/chat-add-menu.tsx b/packages/views/chat/components/chat-add-menu.tsxindex dce529a3aa..c2e135394b 100644--- a/packages/views/chat/components/chat-add-menu.tsx+++ b/packages/views/chat/components/chat-add-menu.tsx@@ -98,7 +98,7 @@ export function ChatAddMenu({</DropdownMenuItem>))}{projects.length === 0 && (- <div className="px-2 py-1.5 text-xs text-muted-foreground">+ <div className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.input.no_projects)}</div>)}@@ -112,7 +112,7 @@ export function ChatAddMenu({{projectContextUnsupported && (<><DropdownMenuSeparator />- <div className="max-w-56 px-2 py-1.5 text-xs text-muted-foreground">+ <div className="max-w-56 px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.input.project_context_unsupported)}</div></>diff --git a/packages/views/chat/components/chat-empty-state.tsx b/packages/views/chat/components/chat-empty-state.tsxindex 49ff83e5cb..0fb95d1a6e 100644--- a/packages/views/chat/components/chat-empty-state.tsx+++ b/packages/views/chat/components/chat-empty-state.tsx@@ -24,13 +24,13 @@ export function EmptyState({ agent }: { agent: Agent | null }) {/>)}<div className="max-w-sm space-y-1 text-center">- <h3 className="text-base font-semibold">+ <h3 className="text-title-sm font-semibold">{agent? t(($) => $.empty_state.chat_with_named, { name: agent.name }): t(($) => $.empty_state.first_time_title)}</h3>{description && (- <p className="text-sm text-muted-foreground">{description}</p>+ <p className="text-body text-muted-foreground">{description}</p>)}</div></div>diff --git a/packages/views/chat/components/chat-input.tsx b/packages/views/chat/components/chat-input.tsxindex ea382e2a91..f83f4ce317 100644--- a/packages/views/chat/components/chat-input.tsx+++ b/packages/views/chat/components/chat-input.tsx@@ -603,13 +603,13 @@ export function ChatInput({disabled={!projectSelectionEnabled}aria-label={t(($) => $.input.change_project_context)}title={t(($) => $.input.change_project_context)}- className="flex h-6 max-w-56 items-center gap-1.5 rounded-full border border-surface-border bg-surface-raised px-2 pr-7 text-xs font-medium text-foreground transition-colors hover:bg-accent/60"+ className="flex h-6 max-w-56 items-center gap-1.5 rounded-full border border-surface-border bg-surface-raised px-2 pr-7 text-caption font-medium text-foreground transition-colors hover:bg-accent/60"/>}/></div>{projectContextUnsupported && (- <span className="inline-flex min-w-0 items-center gap-1 text-xs text-warning">+ <span className="inline-flex min-w-0 items-center gap-1 text-caption text-warning"><TriangleAlert className="size-3 shrink-0" />{t(($) => $.input.project_context_unsupported)}</span>diff --git a/packages/views/chat/components/chat-message-list.tsx b/packages/views/chat/components/chat-message-list.tsxindex ef357b0836..771da6b237 100644--- a/packages/views/chat/components/chat-message-list.tsx+++ b/packages/views/chat/components/chat-message-list.tsx@@ -105,7 +105,7 @@ function ChatListHeader({ context }: { context?: ChatListContext }) {return (<div className={cn(CHAT_COLUMN, "pt-4")}>{context?.isFetchingOlderMessages && (- <div className="text-center text-xs text-muted-foreground">+ <div className="text-center text-caption text-muted-foreground">{t(($) => $.message_list.loading_older)}</div>)}@@ -341,7 +341,7 @@ const MessageBubble = memo(function MessageBubble({if (message.role === "user") {return (<div className="flex justify-end">- <div className="rounded-2xl bg-muted px-3.5 py-2 text-sm max-w-[80%] break-words">+ <div className="rounded-2xl bg-muted px-3.5 py-2 text-body max-w-[80%] break-words">{/* User messages are authored as markdown in ContentEditor, so they* render through the SAME RichContent as assistant replies and as* Issue/Comment — a Mermaid fence a user pastes is a diagram here@@ -499,7 +499,7 @@ function transformTimeline(function NoResponseNotice() {const { t } = useT("chat");return (- <div className="text-sm italic text-muted-foreground">+ <div className="text-body italic text-muted-foreground">{t(($) => $.message_list.no_response)}</div>);@@ -597,7 +597,7 @@ function ElapsedCaption({? t(($) => $.message_list.finished_in, { elapsed }): t(($) => $.message_list.failed_after, { elapsed });return (- <div className={cn("text-xs text-muted-foreground/80", className)}>+ <div className={cn("text-caption text-muted-foreground/80", className)}>{text}</div>);@@ -669,13 +669,13 @@ function FailureBubble({* failure is informational ("this didn't work"), not a system* error. The icon + muted destructive text are signal enough,* the rest stays in the normal reply rhythm. */}- <div className="flex items-start gap-1.5 text-sm">+ <div className="flex items-start gap-1.5 text-body"><AlertTriangle className="size-3.5 shrink-0 text-destructive/80 mt-0.5" /><div className="flex-1 min-w-0"><div className="text-destructive/90">{label}</div>{rawError.trim() && (<Collapsible open={open} onOpenChange={setOpen}>- <CollapsibleTrigger className="mt-0.5 flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors">+ <CollapsibleTrigger className="mt-0.5 flex items-center gap-1 text-caption text-muted-foreground hover:text-foreground transition-colors">{open ? (<ChevronDown className="size-3" />) : (@@ -684,7 +684,7 @@ function FailureBubble({<span>{t(($) => $.message_list.show_details)}</span></CollapsibleTrigger><CollapsibleContent>- <pre className="mt-1 max-h-40 overflow-auto rounded bg-muted/40 p-2 text-xs text-muted-foreground whitespace-pre-wrap break-all">+ <pre className="mt-1 max-h-40 overflow-auto rounded bg-muted/40 p-2 text-caption text-muted-foreground whitespace-pre-wrap break-all">{rawError}</pre></CollapsibleContent>@@ -786,7 +786,7 @@ function OuterProcessFold({return (<Collapsible open={open} onOpenChange={setOpen}>- <CollapsibleTrigger className="flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground transition-colors">+ <CollapsibleTrigger className="flex items-center gap-1 text-caption text-muted-foreground hover:text-foreground transition-colors">{open ? <ChevronDown className="size-3" /> : <ChevronRight className="size-3" />}<span>{t(($) => $.message_list.process_steps, { count: stepCount })}</span></CollapsibleTrigger>@@ -824,7 +824,7 @@ function MiddleTextRow({phase?: "streaming" | "settled";}) {return (- <div className="py-0.5 text-xs text-muted-foreground">+ <div className="py-0.5 text-caption text-muted-foreground"><RichContentcontent={item.content ?? ""}attachments={attachments}@@ -888,7 +888,7 @@ function ToolCallRow({ item }: { item: ChatTimelineItem }) {return (<Collapsible open={open} onOpenChange={setOpen}>- <CollapsibleTrigger className="flex w-full items-center gap-1.5 rounded px-1 -mx-1 py-0.5 text-xs hover:bg-accent/30 transition-colors">+ <CollapsibleTrigger className="flex w-full items-center gap-1.5 rounded px-1 -mx-1 py-0.5 text-caption hover:bg-accent/30 transition-colors"><ChevronRightclassName={cn("h-3 w-3 shrink-0 text-muted-foreground transition-transform",@@ -901,7 +901,7 @@ function ToolCallRow({ item }: { item: ChatTimelineItem }) {</CollapsibleTrigger>{hasInput && (<CollapsibleContent>- <pre className="ml-[18px] mt-0.5 max-h-32 overflow-auto rounded bg-muted/50 p-2 text-xs text-muted-foreground whitespace-pre-wrap break-all">+ <pre className="ml-[18px] mt-0.5 max-h-32 overflow-auto rounded bg-muted/50 p-2 text-caption text-muted-foreground whitespace-pre-wrap break-all">{JSON.stringify(item.input, null, 2)}</pre></CollapsibleContent>@@ -923,7 +923,7 @@ function ToolResultRow({ item }: { item: ChatTimelineItem }) {return (<Collapsible open={open} onOpenChange={setOpen}>- <CollapsibleTrigger className="flex w-full items-start gap-1.5 rounded px-1 -mx-1 py-0.5 text-xs hover:bg-accent/30 transition-colors">+ <CollapsibleTrigger className="flex w-full items-start gap-1.5 rounded px-1 -mx-1 py-0.5 text-caption hover:bg-accent/30 transition-colors"><ChevronRightclassName={cn("h-3 w-3 shrink-0 text-muted-foreground transition-transform mt-0.5", open && "rotate-90")}/>@@ -932,7 +932,7 @@ function ToolResultRow({ item }: { item: ChatTimelineItem }) {</span></CollapsibleTrigger><CollapsibleContent>- <pre className="ml-[18px] mt-0.5 max-h-40 overflow-auto rounded bg-muted/50 p-2 text-xs text-muted-foreground whitespace-pre-wrap break-all">+ <pre className="ml-[18px] mt-0.5 max-h-40 overflow-auto rounded bg-muted/50 p-2 text-caption text-muted-foreground whitespace-pre-wrap break-all">{output.length > 4000 ? output.slice(0, 4000) + "\n... (truncated)" : output}</pre></CollapsibleContent>@@ -949,12 +949,12 @@ function ThinkingRow({ item }: { item: ChatTimelineItem }) {return (<Collapsible open={open} onOpenChange={setOpen}>- <CollapsibleTrigger className="flex w-full items-start gap-1.5 rounded px-1 -mx-1 py-0.5 text-xs hover:bg-accent/30 transition-colors">+ <CollapsibleTrigger className="flex w-full items-start gap-1.5 rounded px-1 -mx-1 py-0.5 text-caption hover:bg-accent/30 transition-colors"><Brain className="h-3 w-3 shrink-0 text-muted-foreground/60 mt-0.5" /><span className="text-muted-foreground italic truncate">{preview}</span></CollapsibleTrigger><CollapsibleContent>- <pre className="ml-[18px] mt-0.5 max-h-40 overflow-auto rounded bg-muted/30 p-2 text-xs text-muted-foreground whitespace-pre-wrap break-words">+ <pre className="ml-[18px] mt-0.5 max-h-40 overflow-auto rounded bg-muted/30 p-2 text-caption text-muted-foreground whitespace-pre-wrap break-words">{text}</pre></CollapsibleContent>@@ -964,7 +964,7 @@ function ThinkingRow({ item }: { item: ChatTimelineItem }) {function ErrorRow({ item }: { item: ChatTimelineItem }) {return (- <div className="flex items-start gap-1.5 px-1 -mx-1 py-0.5 text-xs">+ <div className="flex items-start gap-1.5 px-1 -mx-1 py-0.5 text-caption"><AlertCircle className="h-3 w-3 shrink-0 text-destructive mt-0.5" /><span className="text-destructive">{item.content}</span></div>diff --git a/packages/views/chat/components/chat-session-header.tsx b/packages/views/chat/components/chat-session-header.tsxindex 0e23d517c2..d4be8d87ff 100644--- a/packages/views/chat/components/chat-session-header.tsx+++ b/packages/views/chat/components/chat-session-header.tsx@@ -128,20 +128,20 @@ export function ChatSessionHeader({setEditing(false);}}}- className="w-full rounded-sm bg-background px-1 py-0.5 text-sm font-semibold outline-none ring-1 ring-border focus-visible:ring-brand"+ className="w-full rounded-sm bg-background px-1 py-0.5 text-body font-semibold outline-none ring-1 ring-border focus-visible:ring-brand"/>) : (<buttontype="button"onClick={startRename}title={t(($) => $.header.rename)}- className="block max-w-full truncate text-left text-sm font-semibold text-foreground outline-none hover:text-foreground/80 focus-visible:text-foreground/80"+ className="block max-w-full truncate text-left text-body font-semibold text-foreground outline-none hover:text-foreground/80 focus-visible:text-foreground/80">{title}</button>)}{agent && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{agent.name}{agent.description ? ` · ${agent.description}` : ""}</div>diff --git a/packages/views/chat/components/chat-thread-list.tsx b/packages/views/chat/components/chat-thread-list.tsxindex d83bda5395..a23b0bd9d2 100644--- a/packages/views/chat/components/chat-thread-list.tsx+++ b/packages/views/chat/components/chat-thread-list.tsx@@ -282,10 +282,10 @@ export function ChatThreadList({className="size-3 shrink-0 -rotate-45 fill-current text-muted-foreground"/>)}- <span className={cn("min-w-0 flex-1 truncate text-sm", unread > 0 ? "font-semibold text-foreground" : "font-medium")}>+ <span className={cn("min-w-0 flex-1 truncate text-body", unread > 0 ? "font-semibold text-foreground" : "font-medium")}>{titleText}</span>- <span className="ml-auto shrink-0 text-[11px] text-muted-foreground">{timeText}</span>+ <span className="ml-auto shrink-0 text-micro text-muted-foreground">{timeText}</span></div>{/* Line 2: preview + unread badge, or an inline confirm prompt */}@@ -318,13 +318,13 @@ export function ChatThreadList({/>) : (<>- <div className="min-w-0 flex-1 overflow-hidden text-xs">{previewNode}</div>+ <div className="min-w-0 flex-1 overflow-hidden text-caption">{previewNode}</div>{unread > 0 && (<spanaria-label={t(($) => $.session_history.row_subtitle.new_reply)}// Softer, warmer red than the vivid `destructive` token —// an IM unread badge, not an error.- className="inline-flex h-[18px] min-w-[18px] shrink-0 items-center justify-center rounded-full bg-[oklch(0.62_0.14_18)] px-1 text-[10.5px] font-semibold text-white"+ className="inline-flex h-[18px] min-w-[18px] shrink-0 items-center justify-center rounded-full bg-[oklch(0.62_0.14_18)] px-1 text-micro font-semibold text-white">{unread > 99 ? "99+" : unread}</span>@@ -391,7 +391,7 @@ export function ChatThreadList({<buttontype="button"onClick={() => setView("history")}- className="flex w-full items-center gap-1.5 rounded-md px-2 py-2 text-left text-xs font-medium text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="flex w-full items-center gap-1.5 rounded-md px-2 py-2 text-left text-caption font-medium text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"><ChevronLeft className="size-4 shrink-0" /><span className="truncate">{t(($) => $.list.archived_title)}</span>@@ -409,7 +409,7 @@ export function ChatThreadList({<buttontype="button"onClick={() => setView("archived")}- className="mt-1 flex h-10 w-full items-center gap-2 rounded-md px-2 text-left text-xs text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="mt-1 flex h-10 w-full items-center gap-2 rounded-md px-2 text-left text-caption text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"><span className="flex size-9 shrink-0 items-center justify-center"><Archive className="size-4" />@@ -423,7 +423,7 @@ export function ChatThreadList({if (historySessions.length === 0) {return (<>- <div className="px-2 py-1.5 text-xs text-muted-foreground">+ <div className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.window.no_previous)}</div>{archivedEntry}@@ -493,7 +493,7 @@ function ConfirmRow({}) {return (<div className="flex min-w-0 flex-1 items-center gap-2">- <span className="min-w-0 flex-1 truncate text-xs font-medium text-destructive">{label}</span>+ <span className="min-w-0 flex-1 truncate text-caption font-medium text-destructive">{label}</span><div className="flex shrink-0 items-center gap-1"><buttontype="button"@@ -507,7 +507,7 @@ function ConfirmRow({onCancel();}}disabled={pending}- className="inline-flex h-6 items-center rounded px-2 text-[11px] font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50"+ className="inline-flex h-6 items-center rounded px-2 text-micro font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50">{cancelText}</button>@@ -523,7 +523,7 @@ function ConfirmRow({onConfirm();}}disabled={pending}- className="inline-flex h-6 items-center rounded px-2 text-[11px] font-medium text-destructive transition-colors hover:bg-destructive/10 disabled:opacity-50"+ className="inline-flex h-6 items-center rounded px-2 text-micro font-medium text-destructive transition-colors hover:bg-destructive/10 disabled:opacity-50">{confirmText}</button>diff --git a/packages/views/chat/components/chat-window.tsx b/packages/views/chat/components/chat-window.tsxindex a625dd477d..772e9c3ca3 100644--- a/packages/views/chat/components/chat-window.tsx+++ b/packages/views/chat/components/chat-window.tsx@@ -938,7 +938,7 @@ export function AgentDropdown({};if (!activeAgent) {- return <span className="text-xs text-muted-foreground">{t(($) => $.window.no_agents)}</span>;+ return <span className="text-caption text-muted-foreground">{t(($) => $.window.no_agents)}</span>;}return (@@ -966,7 +966,7 @@ export function AgentDropdown({enableHoverCardshowStatusDot/>- <span className="text-xs font-medium max-w-28 truncate">{activeAgent.name}</span>+ <span className="text-caption font-medium max-w-28 truncate">{activeAgent.name}</span><ChevronDown className="size-3 text-muted-foreground shrink-0" /></>}@@ -1284,12 +1284,12 @@ function SessionDropdown({onCancel={() => setRenamingId(null)}/>) : isConfirmingStop ? (- <div className="truncate text-sm font-medium text-destructive">+ <div className="truncate text-body font-medium text-destructive">{t(($) => $.session_history.stop_dialog.title)}</div>) : (<div- className={cn("truncate text-sm", (showUnread || showCompleted) && !isRunning && "font-medium")}+ className={cn("truncate text-body", (showUnread || showCompleted) && !isRunning && "font-medium")}style={{maskImage: "linear-gradient(to right, black calc(100% - 18px), transparent)",WebkitMaskImage: "linear-gradient(to right, black calc(100% - 18px), transparent)",@@ -1314,7 +1314,7 @@ function SessionDropdown({setConfirmingStopId(null);}}disabled={stoppingTaskId === pendingTask.task_id}- className="inline-flex h-7 items-center rounded px-2 text-[11px] font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50"+ className="inline-flex h-7 items-center rounded px-2 text-micro font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50">{t(($) => $.session_history.stop_dialog.cancel)}</button>@@ -1330,7 +1330,7 @@ function SessionDropdown({handleConfirmStop(session, pendingTask);}}disabled={stoppingTaskId === pendingTask.task_id}- className="inline-flex h-7 items-center rounded px-2 text-[11px] font-medium text-destructive transition-colors hover:bg-destructive/10 disabled:opacity-50"+ className="inline-flex h-7 items-center rounded px-2 text-micro font-medium text-destructive transition-colors hover:bg-destructive/10 disabled:opacity-50">{stoppingTaskId === pendingTask.task_id? t(($) => $.session_history.stop_dialog.confirming)@@ -1339,7 +1339,7 @@ function SessionDropdown({</div>) : (<div className="flex shrink-0 items-center">- <div className="flex h-7 items-center justify-end gap-1.5 text-xs text-muted-foreground group-hover/history-row:hidden">+ <div className="flex h-7 items-center justify-end gap-1.5 text-caption text-muted-foreground group-hover/history-row:hidden">{isRunning && <Loader2 className="size-3 animate-spin" />}{showCompleted && !isRunning && <Check className="size-3 text-emerald-500" />}{showUnread && !isRunning && !showCompleted && (@@ -1364,7 +1364,7 @@ function SessionDropdown({e.preventDefault();setConfirmingStopId(session.id);}}- className="inline-flex h-7 items-center gap-1 rounded px-1.5 text-[11px] font-medium text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive focus-visible:bg-destructive/10 focus-visible:text-destructive focus-visible:outline-none"+ className="inline-flex h-7 items-center gap-1 rounded px-1.5 text-micro font-medium text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive focus-visible:bg-destructive/10 focus-visible:text-destructive focus-visible:outline-none"aria-label={t(($) => $.session_history.row_stop_aria)}title={t(($) => $.session_history.row_stop_aria)}>@@ -1432,7 +1432,7 @@ function SessionDropdown({showStatusDot/>)}- <span className="min-w-0 truncate text-sm font-medium">{title}</span>+ <span className="min-w-0 truncate text-body font-medium">{title}</span>{currentSessionRunning && (<Loader2aria-label={t(($) => $.session_history.row_subtitle.working)}@@ -1445,7 +1445,7 @@ function SessionDropdown({<spanaria-label={t(($) => $.window.another_running)}title={t(($) => $.window.another_running)}- className="inline-flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 text-xs font-medium text-muted-foreground"+ className="inline-flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 text-caption font-medium text-muted-foreground"><Loader2 className="size-3 animate-spin" />{otherRunningCount > 1 && <span>{otherRunningCount}</span>}@@ -1454,7 +1454,7 @@ function SessionDropdown({<spanaria-label={t(($) => $.window.another_unread)}title={t(($) => $.window.another_unread)}- className="inline-flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 text-xs font-medium text-muted-foreground"+ className="inline-flex h-6 shrink-0 items-center gap-1 rounded-md px-1.5 text-caption font-medium text-muted-foreground"><span className="size-1.5 rounded-full bg-brand" />{otherUnreadCount > 1 && <span>{otherUnreadCount}</span>}@@ -1467,12 +1467,12 @@ function SessionDropdown({onClick={(e) => e.stopPropagation()}>{historySessions.length === 0 ? (- <div className="px-2 py-1.5 text-xs text-muted-foreground">+ <div className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.window.no_previous)}</div>) : (<div role="group" aria-label={t(($) => $.window.history_group)}>- <div className="px-1.5 py-1 text-xs font-medium text-muted-foreground">+ <div className="px-1.5 py-1 text-caption font-medium text-muted-foreground">{t(($) => $.window.history_group)}</div>{historySessions.map(renderRow)}@@ -1556,7 +1556,7 @@ function SessionRenameInput({onCancel();}}}- className="w-full rounded-sm bg-background px-1 py-0.5 text-sm outline-none ring-1 ring-border focus-visible:ring-brand"+ className="w-full rounded-sm bg-background px-1 py-0.5 text-body outline-none ring-1 ring-border focus-visible:ring-brand"/>);}@@ -1610,17 +1610,17 @@ function EmptyState({return (<div className="flex flex-1 flex-col items-center justify-center gap-3 px-6 py-8"><div className="text-center space-y-3">- <h3 className="text-base font-semibold">+ <h3 className="text-title-sm font-semibold">{t(($) => $.empty_state.first_time_title)}</h3>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.empty_state.first_time_intro)}{" "}<span className="font-medium text-foreground">{t(($) => $.empty_state.first_time_pillars)}</span>{t(($) => $.empty_state.first_time_pillars_suffix)}</p>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.empty_state.first_time_actions)}</p></div>@@ -1632,12 +1632,12 @@ function EmptyState({return (<div className="flex flex-1 flex-col items-center justify-center gap-5 px-6 py-8"><div className="text-center space-y-1">- <h3 className="text-base font-semibold">+ <h3 className="text-title-sm font-semibold">{agentName? t(($) => $.empty_state.returning_title_named, { name: agentName }): t(($) => $.empty_state.returning_title_default)}</h3>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.empty_state.returning_subtitle)}</p></div>@@ -1649,7 +1649,7 @@ function EmptyState({key={key}type="button"onClick={() => onPickPrompt(text)}- className="w-full rounded-lg border border-border bg-card px-3 py-2 text-left text-sm text-foreground transition-colors hover:bg-accent hover:border-brand/40"+ className="w-full rounded-lg border border-border bg-card px-3 py-2 text-left text-body text-foreground transition-colors hover:bg-accent hover:border-brand/40"><span className="mr-2">{STARTER_ICONS[key]}</span>{text}diff --git a/packages/views/chat/components/no-agent-banner.tsx b/packages/views/chat/components/no-agent-banner.tsxindex 162aef833b..439b43a820 100644--- a/packages/views/chat/components/no-agent-banner.tsx+++ b/packages/views/chat/components/no-agent-banner.tsx@@ -22,7 +22,7 @@ export function NoAgentBanner() {const { t } = useT("chat");return (<div className={cn(CHAT_GUTTER, "mb-1.5")}>- <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs bg-muted text-muted-foreground ring-1 ring-border")}>+ <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-caption bg-muted text-muted-foreground ring-1 ring-border")}><Bot className="size-3.5 shrink-0" /><span className="truncate">{t(($) => $.no_agent_banner)}</span></div>diff --git a/packages/views/chat/components/offline-banner.tsx b/packages/views/chat/components/offline-banner.tsxindex 3f2e859ab4..8775cf824a 100644--- a/packages/views/chat/components/offline-banner.tsx+++ b/packages/views/chat/components/offline-banner.tsx@@ -29,7 +29,7 @@ export function OfflineBanner({ agentName, availability }: Props) {if (availability === "unstable") {return (<div className={cn(CHAT_GUTTER, "mb-1.5")}>- <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs bg-amber-50 dark:bg-amber-950/40 text-amber-900 dark:text-amber-200 ring-1 ring-amber-200/60 dark:ring-amber-900/40")}>+ <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-caption bg-amber-50 dark:bg-amber-950/40 text-amber-900 dark:text-amber-200 ring-1 ring-amber-200/60 dark:ring-amber-900/40")}><AlertCircle className="size-3.5 shrink-0" /><span className="truncate">{t(($) => $.offline_banner.unstable, { name })}@@ -40,7 +40,7 @@ export function OfflineBanner({ agentName, availability }: Props) {}return (<div className={cn(CHAT_GUTTER, "mb-1.5")}>- <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs bg-muted text-muted-foreground ring-1 ring-border")}>+ <div className={cn(CHAT_COLUMN, "flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-caption bg-muted text-muted-foreground ring-1 ring-border")}><WifiOff className="size-3.5 shrink-0" /><span className="truncate">{t(($) => $.offline_banner.offline, { name })}diff --git a/packages/views/chat/components/task-status-pill.tsx b/packages/views/chat/components/task-status-pill.tsxindex 2d4d42b3c8..2709f279bf 100644--- a/packages/views/chat/components/task-status-pill.tsx+++ b/packages/views/chat/components/task-status-pill.tsx@@ -164,7 +164,7 @@ export function TaskStatusPill({return (<div- className="flex items-center gap-1.5 px-1 text-xs text-muted-foreground"+ className="flex items-center gap-1.5 px-1 text-caption text-muted-foreground"aria-live="polite">{!stage.static && (diff --git a/packages/views/common/actor-issues-panel.tsx b/packages/views/common/actor-issues-panel.tsxindex 7fa7a30a0b..ac067aa422 100644--- a/packages/views/common/actor-issues-panel.tsx+++ b/packages/views/common/actor-issues-panel.tsx@@ -58,7 +58,7 @@ function ActorIssuesHeader({value={search}onChange={(e) => onSearchChange(e.target.value)}placeholder={t(($) => $.actor_issues.search_placeholder)}- className="h-8 w-64 pl-8 text-sm"+ className="h-8 w-64 pl-8 text-body"/></div><div className="flex items-center gap-1">@@ -147,17 +147,17 @@ export function ActorIssuesPanel({search.trim() === "" ? (<div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-2 text-muted-foreground"><ListTodo className="h-10 w-10 text-muted-foreground/40" />- <p className="text-sm">+ <p className="text-body">{t(($) => $.actor_issues.empty[scope].title)}</p>- <p className="text-xs">+ <p className="text-caption">{t(($) => $.actor_issues.empty[scope].description)}</p></div>) : (<div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-2 text-muted-foreground"><Search className="h-10 w-10 text-muted-foreground/40" />- <p className="text-sm">{t(($) => $.actor_issues.search_empty)}</p>+ <p className="text-body">{t(($) => $.actor_issues.search_empty)}</p></div>)}diff --git a/packages/views/common/avatar-crop-dialog.tsx b/packages/views/common/avatar-crop-dialog.tsxindex b20039848c..db65924f06 100644--- a/packages/views/common/avatar-crop-dialog.tsx+++ b/packages/views/common/avatar-crop-dialog.tsx@@ -153,7 +153,7 @@ export function AvatarCropDialog({</button></>) : (- <div className="flex h-full w-full items-center justify-center text-xs text-muted-foreground">+ <div className="flex h-full w-full items-center justify-center text-caption text-muted-foreground">{loadError? t(($) => $.avatar_crop.load_failed): t(($) => $.avatar_crop.loading)}diff --git a/packages/views/common/color-picker.tsx b/packages/views/common/color-picker.tsxindex c10577052a..7c74442d48 100644--- a/packages/views/common/color-picker.tsx+++ b/packages/views/common/color-picker.tsx@@ -257,7 +257,7 @@ export function ColorPickerPanel({value={hexDraft ?? currentHex.toUpperCase()}aria-label={t(($) => $.color_picker.hex)}spellCheck={false}- className="h-8 font-mono text-xs"+ className="h-8 font-mono text-caption"onChange={(event) => {setHexDraft(event.target.value);const normalized = normalizeHex(event.target.value);@@ -272,12 +272,12 @@ export function ColorPickerPanel({{/* Default palette + random */}<div className="flex items-center justify-between">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.color_picker.presets)}</span><buttontype="button"- className="flex items-center gap-1 text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1 text-caption text-muted-foreground transition-colors hover:text-foreground"onClick={() => {setHexDraft(null);onChange(randomOptionColor(value));diff --git a/packages/views/common/composio-toolkit-logo.tsx b/packages/views/common/composio-toolkit-logo.tsxindex 045285206a..ce4ccf94a9 100644--- a/packages/views/common/composio-toolkit-logo.tsx+++ b/packages/views/common/composio-toolkit-logo.tsx@@ -51,7 +51,7 @@ export function ComposioToolkitLogo({const imgClassName = cn("h-8 w-8 shrink-0 rounded bg-muted object-contain", className);const fallbackClassName = cn(- "h-8 w-8 shrink-0 items-center justify-center rounded bg-muted text-xs font-semibold text-muted-foreground",+ "h-8 w-8 shrink-0 items-center justify-center rounded bg-muted text-caption font-semibold text-muted-foreground",className,);const lightSrc = lightSources[failedLightSources];diff --git a/packages/views/common/expandable-description.tsx b/packages/views/common/expandable-description.tsxindex 5758c19e63..4c71f27a8a 100644--- a/packages/views/common/expandable-description.tsx+++ b/packages/views/common/expandable-description.tsx@@ -58,7 +58,7 @@ export function ExpandableDescription({<pref={textRef}className={cn(- "mt-1 max-w-2xl text-pretty text-sm leading-6 text-muted-foreground",+ "mt-1 max-w-2xl text-pretty text-body leading-6 text-muted-foreground",!expanded && "line-clamp-2",className,)}@@ -69,7 +69,7 @@ export function ExpandableDescription({<buttontype="button"onClick={() => setExpanded((value) => !value)}- className="mt-0.5 rounded text-xs text-muted-foreground transition-colors hover:text-foreground focus-visible:text-foreground focus-visible:outline-none"+ className="mt-0.5 rounded text-caption text-muted-foreground transition-colors hover:text-foreground focus-visible:text-foreground focus-visible:outline-none">{expanded? t(($) => $.expandable_description.collapse)diff --git a/packages/views/common/pill-button.tsx b/packages/views/common/pill-button.tsxindex 11ded8b2ef..8ea04533d0 100644--- a/packages/views/common/pill-button.tsx+++ b/packages/views/common/pill-button.tsx@@ -11,7 +11,7 @@ export function PillButton({<buttontype="button"className={cn(- "inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-xs",+ "inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-caption","hover:bg-accent/60 transition-colors cursor-pointer","data-popup-open:bg-accent data-popup-open:text-accent-foreground","disabled:cursor-not-allowed disabled:hover:bg-transparent",diff --git a/packages/views/common/prop-row.tsx b/packages/views/common/prop-row.tsxindex 56c2e224a5..3bbd123ba0 100644--- a/packages/views/common/prop-row.tsx+++ b/packages/views/common/prop-row.tsx@@ -43,10 +43,10 @@ export function PropRow({interactive ? "transition-colors hover:bg-accent/50" : ""}`}>- <span className="flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">+ <span className="flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground">{label}</span>- <div className="flex min-w-0 items-center gap-1.5 truncate text-xs">+ <div className="flex min-w-0 items-center gap-1.5 truncate text-caption">{children}</div></div>diff --git a/packages/views/common/property-icon.tsx b/packages/views/common/property-icon.tsxindex 34e19c1412..f9020b42d0 100644--- a/packages/views/common/property-icon.tsx+++ b/packages/views/common/property-icon.tsx@@ -144,9 +144,9 @@ export function PropertyIconPicker({return (<div className="w-64"><div className="flex items-center justify-between px-1 pb-2">- <span className="text-xs font-medium text-foreground">{label}</span>+ <span className="text-caption font-medium text-foreground">{label}</span>{value && (- <span className="truncate pl-3 text-[11px] text-muted-foreground">+ <span className="truncate pl-3 text-micro text-muted-foreground">{findPropertyIcon(value)?.label}</span>)}diff --git a/packages/views/common/segmented-toggle.tsx b/packages/views/common/segmented-toggle.tsxindex ab1dd68d32..c473a6fee4 100644--- a/packages/views/common/segmented-toggle.tsx+++ b/packages/views/common/segmented-toggle.tsx@@ -16,7 +16,7 @@ export function SegmentedToggle<T extends string>({value: T;options: ReadonlyArray<readonly [T, ReactNode]>;onChange: (value: T) => void;- /** Overrides the compact default sizing (text-xs px-2 py-1). */+ /** Overrides the compact default sizing (text-caption px-2 py-1). */buttonClassName?: string;}) {return (@@ -31,7 +31,7 @@ export function SegmentedToggle<T extends string>({}}className={cn("rounded-sm font-medium transition-colors",- buttonClassName ?? "px-2 py-1 text-xs",+ buttonClassName ?? "px-2 py-1 text-caption",value === key? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground",diff --git a/packages/views/common/shortcut-keycaps.tsx b/packages/views/common/shortcut-keycaps.tsxindex c99780c0f5..b0a979742d 100644--- a/packages/views/common/shortcut-keycaps.tsx+++ b/packages/views/common/shortcut-keycaps.tsx@@ -113,8 +113,8 @@ export function ShortcutKeycaps({className={cn("border border-border/70 bg-muted/80 shadow-[0_1px_0_0_color-mix(in_oklab,var(--border)_70%,transparent)]",size === "md"- ? "h-7 min-w-7 rounded-md px-1.5 text-xs [&_svg]:size-3.5"- : "h-5 min-w-5 px-1 text-[10px] [&_svg]:size-3",+ ? "h-7 min-w-7 rounded-md px-1.5 text-caption [&_svg]:size-3.5"+ : "h-5 min-w-5 px-1 text-micro [&_svg]:size-3",keyClassName,)}>diff --git a/packages/views/common/task-transcript/agent-transcript-dialog.tsx b/packages/views/common/task-transcript/agent-transcript-dialog.tsxindex 147f697c34..542283ecbc 100644--- a/packages/views/common/task-transcript/agent-transcript-dialog.tsx+++ b/packages/views/common/task-transcript/agent-transcript-dialog.tsx@@ -524,7 +524,7 @@ export function AgentTranscriptDialog({// proper labels instead of raw enum text.const effectiveStatus = isLive ? "running" : task.status;const statusBadge = (() => {- const base = "inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium";+ const base = "inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 text-caption font-medium";switch (effectiveStatus) {case "running":return (@@ -646,7 +646,7 @@ export function AgentTranscriptDialog({<Bot className="h-3 w-3" /></div>)}- <span className="truncate font-medium text-sm">+ <span className="truncate font-medium text-body">{agentName || agentInfo?.name || ""}</span></div>@@ -654,7 +654,7 @@ export function AgentTranscriptDialog({who triggered the run and how — reads as "<person> · <how>",not three peer entities. The person's avatar is dropped here sotwo same-size faces don't read as two agents. */}- <div className="flex min-w-0 flex-1 items-center gap-x-1.5 overflow-hidden text-xs text-muted-foreground">+ <div className="flex min-w-0 flex-1 items-center gap-x-1.5 overflow-hidden text-caption text-muted-foreground">{hasTriggeredBy && (<><AttributionBadge@@ -686,10 +686,10 @@ export function AgentTranscriptDialog({<Info className="h-3.5 w-3.5" /></PopoverTrigger><PopoverContent align="end" className="w-80 max-w-[calc(100vw-2rem)] p-3">- <div className="mb-2 text-xs font-medium text-foreground">+ <div className="mb-2 text-caption font-medium text-foreground">{t(($) => $.transcript.run_info)}</div>- <div className="space-y-1 text-xs">+ <div className="space-y-1 text-caption">{runtimeInfo && (<RunDetailRowlabel={t(($) => $.transcript.details_runtime)}@@ -742,7 +742,7 @@ export function AgentTranscriptDialog({(right). Duration + event count fill the left, so the row balancesinstead of leaving dead space. ── */}<div className="flex items-center gap-3 border-b px-4 py-1.5 shrink-0">- <div className="flex min-w-0 flex-1 items-center gap-x-1.5 overflow-hidden whitespace-nowrap text-xs text-muted-foreground">+ <div className="flex min-w-0 flex-1 items-center gap-x-1.5 overflow-hidden whitespace-nowrap text-caption text-muted-foreground">{createdShort && (<><span>{t(($) => $.transcript.fact_created, { time: createdShort })}</span>@@ -798,7 +798,7 @@ export function AgentTranscriptDialog({<DropdownMenuRadioItem key={value} value={value} className="items-start"><span className="flex min-w-0 flex-col gap-0.5"><span>{name}</span>- <span className="text-[11px] leading-snug text-muted-foreground">+ <span className="text-micro leading-snug text-muted-foreground">{description}</span></span>@@ -834,7 +834,7 @@ export function AgentTranscriptDialog({<Filter className="h-3 w-3" /><span className="hidden sm:inline">{t(($) => $.transcript.filter)}</span>{activeFilterKeys.length > 0 && (- <span className="ml-0.5 rounded-full bg-brand-foreground/20 px-1.5 py-0 text-[10px] font-medium tabular-nums">+ <span className="ml-0.5 rounded-full bg-brand-foreground/20 px-1.5 py-0 text-micro font-medium tabular-nums">{activeFilterKeys.length}</span>)}@@ -894,7 +894,7 @@ export function AgentTranscriptDialog({{/* ── Event list ─────────────────────────────────────────── */}<div className="flex-1 min-h-0">{displayItems.length === 0 ? (- <div className="flex items-center justify-center h-full text-sm text-muted-foreground">+ <div className="flex items-center justify-center h-full text-body text-muted-foreground">{isAntigravityLiveEmpty ? (<div className="flex max-w-md items-center gap-2 px-4 text-center"><Clock className="h-4 w-4 shrink-0" />@@ -1071,7 +1071,7 @@ function TimelineBar({title={`${traceEventLabel(items[seg.startIdx]!)}${seg.count > 1 ? ` (+${seg.count - 1} more)` : ""}`}><div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-1 hidden group-hover:block z-10 pointer-events-none">- <div className="rounded bg-popover border px-2 py-1 text-[10px] text-popover-foreground shadow-md whitespace-nowrap">+ <div className="rounded bg-popover border px-2 py-1 text-micro text-popover-foreground shadow-md whitespace-nowrap">{traceEventLabel(items[seg.startIdx]!)}{seg.count > 1 && <span className="text-muted-foreground ml-1">+{seg.count - 1}</span>}</div>@@ -1129,7 +1129,7 @@ const TranscriptEventRow = ({{/* Type label badge */}<spanclassName={cn(- "inline-flex items-center shrink-0 rounded px-1.5 py-0.5 text-[11px] font-medium mt-0.5 min-w-[60px] justify-center",+ "inline-flex items-center shrink-0 rounded px-1.5 py-0.5 text-micro font-medium mt-0.5 min-w-[60px] justify-center",colorClasses[color].label,)}>@@ -1156,7 +1156,7 @@ const TranscriptEventRow = ({) : (<divclassName={cn(- "whitespace-pre-wrap break-words text-xs leading-relaxed",+ "whitespace-pre-wrap break-words text-caption leading-relaxed",kind === "error" ? "text-destructive" : "text-muted-foreground",)}>@@ -1168,7 +1168,7 @@ const TranscriptEventRow = ({) : (<CollapsibleTriggerclassName={cn(- "flex-1 text-left text-xs min-w-0 py-0.5 transition-colors",+ "flex-1 text-left text-caption min-w-0 py-0.5 transition-colors",hasDetail ? "cursor-pointer hover:text-foreground" : "cursor-default",kind === "error" ? "text-destructive" : "text-muted-foreground",)}@@ -1186,7 +1186,7 @@ const TranscriptEventRow = ({<spanclassName={cn("truncate",- traceEventSummaryIsMono(kind) && summary && "font-mono text-[11px]",+ traceEventSummaryIsMono(kind) && summary && "font-mono text-micro",!summary && "text-muted-foreground/60",)}>@@ -1197,13 +1197,13 @@ const TranscriptEventRow = ({)}{/* Seq number / index */}- <span className="shrink-0 text-[10px] text-muted-foreground/50 tabular-nums mt-1">+ <span className="shrink-0 text-micro text-muted-foreground/50 tabular-nums mt-1">#{item.seq}</span>{/* Timestamp */}{date && (- <span className="shrink-0 text-[10px] text-muted-foreground/50 tabular-nums mt-1" title={date.toLocaleString()}>+ <span className="shrink-0 text-micro text-muted-foreground/50 tabular-nums mt-1" title={date.toLocaleString()}>{date.toLocaleTimeString(undefined, {hour: "2-digit",minute: "2-digit",@@ -1323,7 +1323,7 @@ function FileWriteSurface({}) {return (<div>- <div className="px-3 pt-2 font-mono text-[10px] text-success">+{lineCount}</div>+ <div className="px-3 pt-2 font-mono text-micro text-success">+{lineCount}</div><ToolDetailSurface text={redactSecrets(text)} language={languageForPath(path)} /></div>);@@ -1363,13 +1363,13 @@ function DiffDetailSurface({ lines, path }: { lines: TraceDiffLine[]; path: strireturn (<div className="relative">- <div className="flex items-center gap-2 px-3 pt-2 font-mono text-[10px] text-muted-foreground/70">+ <div className="flex items-center gap-2 px-3 pt-2 font-mono text-micro text-muted-foreground/70">{added > 0 && <span className="text-success">+{added}</span>}{removed > 0 && <span className="text-destructive">-{removed}</span>}</div><preclassName={cn(- "transcript-code px-3 pb-3 pt-1 font-mono text-[11px] whitespace-pre-wrap break-all",+ "transcript-code px-3 pb-3 pt-1 font-mono text-micro whitespace-pre-wrap break-all",isLong && !showAll && "max-h-52 overflow-hidden",)}>@@ -1382,7 +1382,7 @@ function DiffDetailSurface({ lines, path }: { lines: TraceDiffLine[]; path: strionClick={() => setShowAll(true)}// Opaque: the gradient alone does not clear the clipped line, so a// transparent label lands on top of it and both become unreadable.- className="mb-1.5 rounded border bg-background px-2 py-0.5 text-[11px] text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground"+ className="mb-1.5 rounded border bg-background px-2 py-0.5 text-micro text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground">{t(($) => $.transcript.show_all)}</button>@@ -1403,7 +1403,7 @@ function ToolDetailSurface({ text, language }: { text: string; language?: string<div className="relative"><preclassName={cn(- "transcript-code p-3 font-mono text-[11px] text-muted-foreground whitespace-pre-wrap break-all",+ "transcript-code p-3 font-mono text-micro text-muted-foreground whitespace-pre-wrap break-all",isLong && !showAll && "max-h-52 overflow-hidden",)}>@@ -1422,7 +1422,7 @@ function ToolDetailSurface({ text, language }: { text: string; language?: stringonClick={() => setShowAll(true)}// Opaque: the gradient alone does not clear the clipped line, so a// transparent label lands on top of it and both become unreadable.- className="mb-1.5 rounded border bg-background px-2 py-0.5 text-[11px] text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground"+ className="mb-1.5 rounded border bg-background px-2 py-0.5 text-micro text-muted-foreground shadow-sm transition-colors hover:bg-accent hover:text-foreground">{t(($) => $.transcript.show_all)}</button>diff --git a/packages/views/common/task-transcript/task-transcript.css b/packages/views/common/task-transcript/task-transcript.cssindex 019033200e..93c681791b 100644--- a/packages/views/common/task-transcript/task-transcript.css+++ b/packages/views/common/task-transcript/task-transcript.css@@ -1,14 +1,15 @@/** Log-scale markdown for transcript agent text (rendered via RichContent with* className="transcript-prose"). Structure is preserved; the type scale is- * flattened to the transcript's data-panel rhythm: body 12.5px, mono 11px,+ * flattened to the transcript's data-panel rhythm: body caption (12px), mono+ * micro (11px),* headings demoted to body size. Selectors double up with .rich-text-editor* (the RichContent root) so they outrank the shared base styles regardless of* CSS load order.*/.rich-text-editor.transcript-prose {- font-size: 12.5px;+ font-size: var(--text-caption);line-height: 1.7;}@@ -41,22 +42,22 @@.rich-text-editor.transcript-prose h4,.rich-text-editor.transcript-prose h5,.rich-text-editor.transcript-prose h6 {- font-size: 12.5px;+ font-size: var(--text-caption);font-weight: 500;margin: 0.5rem 0 0.15rem;}.rich-text-editor.transcript-prose code {- font-size: 11px;+ font-size: var(--text-micro);}.rich-text-editor.transcript-prose pre,.rich-text-editor.transcript-prose .code-block-wrapper {- font-size: 11px;+ font-size: var(--text-micro);margin: 0.35rem 0;}.rich-text-editor.transcript-prose blockquote {margin: 0.35rem 0;- font-size: 12.5px;+ font-size: var(--text-caption);}diff --git a/packages/views/common/timezone-select.tsx b/packages/views/common/timezone-select.tsxindex 4f5e83eb01..dc96da6835 100644--- a/packages/views/common/timezone-select.tsx+++ b/packages/views/common/timezone-select.tsx@@ -106,13 +106,13 @@ export function TimezoneSelect({><SelectTriggersize="sm"- className={triggerClassName ?? "w-full rounded-md font-mono text-xs"}+ className={triggerClassName ?? "w-full rounded-md font-mono text-caption"}><SelectValue>{render(value)}</SelectValue></SelectTrigger><SelectContent align="start" className="max-h-72">{items.map((item) => (- <SelectItem key={item.value} value={item.value} className="font-mono text-xs">+ <SelectItem key={item.value} value={item.value} className="font-mono text-caption">{item.label}</SelectItem>))}diff --git a/packages/views/common/type-scale-merge.test.ts b/packages/views/common/type-scale-merge.test.tsnew file mode 100644index 0000000000..26295e30e9--- /dev/null+++ b/packages/views/common/type-scale-merge.test.ts@@ -0,0 +1,70 @@+import { describe, expect, it } from "vitest";+import { cn } from "@multica/ui/lib/utils";++/**+ * Do the type scale's role-named steps survive `cn()`?+ *+ * `text-<x>` is ambiguous in Tailwind — it can be a font size or a colour — and+ * tailwind-merge resolves it against a built-in table that only knows the+ * default sizes. Role names like `text-body` are absent from that table, so an+ * unconfigured merge files them under text-colour and then discards whichever+ * of `text-body` / `text-muted-foreground` came first as a conflicting class.+ *+ * That failure is silent and invisible in review: the source still reads+ * `text-caption text-sidebar-foreground/70`, but the element renders at the+ * inherited 16px. It shipped exactly once, on the sidebar group labels, which+ * is why the merge config is pinned by a test rather than left to inspection.+ */++const STEPS = [+ "text-micro",+ "text-caption",+ "text-label",+ "text-body",+ "text-body-lg",+ "text-title-sm",+ "text-title",+ "text-title-lg",+ "text-display-sm",+ "text-display",+] as const;++const COLOURS = [+ "text-muted-foreground",+ "text-foreground",+ "text-sidebar-foreground/70",+ "text-brand",+ "text-destructive",+] as const;++describe("type scale survives cn()", () => {+ it.each(STEPS)("%s is kept when a colour class follows it", (step) => {+ for (const colour of COLOURS) {+ const merged = cn(step, colour).split(" ");+ expect(merged, `${step} + ${colour}`).toContain(step);+ expect(merged, `${step} + ${colour}`).toContain(colour);+ }+ });++ it.each(STEPS)("%s is kept when it follows a colour class", (step) => {+ for (const colour of COLOURS) {+ const merged = cn(colour, step).split(" ");+ expect(merged, `${colour} + ${step}`).toContain(step);+ expect(merged, `${colour} + ${step}`).toContain(colour);+ }+ });++ it("still treats two steps as a conflict, last one winning", () => {+ expect(cn("text-caption", "text-body")).toBe("text-body");+ expect(cn("text-title-sm", "text-title-lg")).toBe("text-title-lg");+ // The override path components rely on: a caller passing a size in+ // className must beat the component's own default.+ expect(cn("text-body text-muted-foreground", "text-micro")).toBe(+ "text-muted-foreground text-micro",+ );+ });++ it("still treats two colours as a conflict, last one winning", () => {+ expect(cn("text-muted-foreground", "text-foreground")).toBe("text-foreground");+ });+});diff --git a/packages/views/dashboard/components/dashboard-page.tsx b/packages/views/dashboard/components/dashboard-page.tsxindex 95db91f0c2..850da04552 100644--- a/packages/views/dashboard/components/dashboard-page.tsx+++ b/packages/views/dashboard/components/dashboard-page.tsx@@ -174,7 +174,7 @@ function Segmented<T extends string | number>({type="button"aria-pressed={o.value === value}onClick={() => onChange(o.value)}- className={`rounded-sm px-2.5 py-1 text-xs font-medium transition-colors ${+ className={`rounded-sm px-2.5 py-1 text-caption font-medium transition-colors ${o.value === value? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"@@ -506,7 +506,7 @@ export function DashboardPage() {<PageHeader className="h-auto min-h-12 flex-wrap justify-between gap-y-1.5 px-5 py-1.5 sm:py-0"><div className="flex min-w-0 items-center gap-2"><BarChart3 className="h-4 w-4 shrink-0 text-muted-foreground" />- <h1 className="truncate text-sm font-medium">{t(($) => $.title)}</h1>+ <h1 className="truncate text-body font-medium">{t(($) => $.title)}</h1></div><div className="flex flex-wrap items-center gap-2"><ProjectFilter@@ -534,7 +534,7 @@ export function DashboardPage() {<div className="flex-1 overflow-y-auto"><div className="mx-auto max-w-6xl space-y-5 p-6">- <p className="text-xs text-muted-foreground">{t(($) => $.subtitle)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.subtitle)}</p>{isLoading ? (<DashboardSkeleton />@@ -805,7 +805,7 @@ function TrendBlock({return (<div className="rounded-lg border bg-card p-4"><div className="mb-3 flex flex-wrap items-center justify-between gap-3">- <h4 className="text-sm font-semibold">{title}</h4>+ <h4 className="text-body font-semibold">{title}</h4><Segmentedlabel={t(($) => $.daily.metric_label)}value={metric}@@ -823,7 +823,7 @@ function TrendBlock({{isEmpty ? (<div className="flex aspect-[3/1] flex-col items-center justify-center gap-2 rounded-md border border-dashed bg-muted/20 p-6 text-center"><BarChart3 className="h-5 w-5 text-muted-foreground/50" />- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{metric === "errors"? t(($) => $.errors.no_data): t(($) => $.daily.no_data)}@@ -961,8 +961,8 @@ function ErrorsBreakdown({return (<div className="rounded-lg border bg-card"><div className="flex flex-wrap items-center justify-between gap-3 border-b px-4 pt-4 pb-3">- <h4 className="text-sm font-semibold">{t(($) => $.errors.title)}</h4>- <span className="text-xs text-muted-foreground">+ <h4 className="text-body font-semibold">{t(($) => $.errors.title)}</h4>+ <span className="text-caption text-muted-foreground">{totals.failed > 0? t(($) => $.errors.summary, {failed: totals.failed,@@ -982,13 +982,13 @@ function ErrorsBreakdown({failures alone (287). Two percentages one above the otherwith different denominators read as a contradiction unlesseach says what it is counting. */}- <h5 className="text-xs font-medium text-muted-foreground">+ <h5 className="text-caption font-medium text-muted-foreground">{t(($) => $.errors.mix_title, { failed: totals.failed })}</h5><buttontype="button"onClick={() => setShowReasons((v) => !v)}- className="text-xs text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"+ className="text-caption text-muted-foreground underline-offset-2 hover:text-foreground hover:underline">{showReasons? t(($) => $.errors.hide_reasons)@@ -1004,7 +1004,7 @@ function ErrorsBreakdown({<div className="p-4"><div className="mb-2 flex flex-wrap items-center justify-between gap-2">- <h5 className="text-xs font-medium text-muted-foreground">+ <h5 className="text-caption font-medium text-muted-foreground">{t(($) => $.errors.by_agent)}</h5><div className="flex flex-wrap items-center justify-end gap-3">@@ -1018,7 +1018,7 @@ function ErrorsBreakdown({<buttontype="button"onClick={() => setShowAllAgents((v) => !v)}- className="text-xs text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"+ className="text-caption text-muted-foreground underline-offset-2 hover:text-foreground hover:underline">{showAllAgents? t(($) => $.errors.show_less, {@@ -1037,7 +1037,7 @@ function ErrorsBreakdown({obvious what the ranking and the bars measure. */}{sortedAgents.length > 0 ? (<div- className={`${OFFENDER_GRID} border-b py-2 text-xs font-medium text-muted-foreground`}+ className={`${OFFENDER_GRID} border-b py-2 text-caption font-medium text-muted-foreground`}><span>{t(($) => $.errors.header_agent)}</span><span />@@ -1122,8 +1122,8 @@ function ClassComposition({className="h-2 w-2 shrink-0 rounded-[2px]"style={{ backgroundColor: FAILURE_CLASS_COLOR[row.failureClass] }}/>- <span className="text-xs">{classLabel(row.failureClass)}</span>- <span className="text-xs tabular-nums text-muted-foreground">+ <span className="text-caption">{classLabel(row.failureClass)}</span>+ <span className="text-caption tabular-nums text-muted-foreground">{row.count}</span></li>@@ -1156,11 +1156,11 @@ function ReasonList({ rows }: { rows: FailureReasonRow[] }) {className="h-2 w-2 shrink-0 rounded-[2px]"style={{ backgroundColor: FAILURE_CLASS_COLOR[row.failureClass] }}/>- <code className="truncate text-xs text-muted-foreground">+ <code className="truncate text-caption text-muted-foreground">{row.reason}</code></span>- <span className="shrink-0 text-xs tabular-nums">{row.count}</span>+ <span className="shrink-0 text-caption tabular-nums">{row.count}</span></li>))}</ul>@@ -1228,7 +1228,7 @@ function AgentFailureItem({// existence and failure profile to a member who cannot see it.const label = (<span- className={`block truncate text-xs${name ? "" : " italic text-muted-foreground"}`}+ className={`block truncate text-caption${name ? "" : " italic text-muted-foreground"}`}>{name ?? t(($) => $.errors.other_agents)}</span>@@ -1268,11 +1268,11 @@ function AgentFailureItem({</div></div><span- className={`text-right text-xs tabular-nums ${sortBy === "failed" ? "font-medium text-foreground" : "text-muted-foreground"}`}+ className={`text-right text-caption tabular-nums ${sortBy === "failed" ? "font-medium text-foreground" : "text-muted-foreground"}`}>{row.failed}</span>- <span className="text-right text-xs tabular-nums text-muted-foreground">+ <span className="text-right text-caption tabular-nums text-muted-foreground">{row.total}</span><span@@ -1281,7 +1281,7 @@ function AgentFailureItem({? t(($) => $.errors.low_sample, { count: MIN_RATE_SAMPLE }): undefined}- className={`text-right text-xs tabular-nums ${+ className={`text-right text-caption tabular-nums ${sortBy === "rate" && !weakSample? "font-medium text-foreground": "text-muted-foreground"@@ -1373,7 +1373,7 @@ function Leaderboard({return (<div className="rounded-lg border bg-card"><div className="flex flex-wrap items-center justify-between gap-3 border-b px-4 pt-4 pb-3">- <h4 className="text-sm font-semibold">{t(($) => $.leaderboard.title)}</h4>+ <h4 className="text-body font-semibold">{t(($) => $.leaderboard.title)}</h4><div className="flex flex-wrap items-center justify-end gap-3"><Segmentedlabel={t(($) => $.leaderboard.sort_label)}@@ -1381,7 +1381,7 @@ function Leaderboard({onChange={setSortBy}options={sortOptions}/>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{deletedAgentCount > 0? t(($) => $.leaderboard.caption_with_deleted, {count: namedAgentCount,@@ -1397,7 +1397,7 @@ function Leaderboard({<buttontype="button"onClick={() => setShowAll((v) => !v)}- className="text-xs text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"+ className="text-caption text-muted-foreground underline-offset-2 hover:text-foreground hover:underline">{showAll? t(($) => $.leaderboard.show_less, { count: LEADERBOARD_LIMIT })@@ -1407,12 +1407,12 @@ function Leaderboard({</div></div>{sortedRows.length === 0 ? (- <p className="px-4 py-8 text-center text-xs text-muted-foreground">+ <p className="px-4 py-8 text-center text-caption text-muted-foreground">{t(($) => $.leaderboard.no_data)}</p>) : (<>- <div className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_5rem_5rem_5rem_4rem] items-center gap-3 border-b px-4 py-2 text-xs font-medium text-muted-foreground">+ <div className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_5rem_5rem_5rem_4rem] items-center gap-3 border-b px-4 py-2 text-caption font-medium text-muted-foreground"><span>{t(($) => $.leaderboard.header_agent)}</span><span /><span className={colClass("tokens")}>{t(($) => $.leaderboard.header_tokens)}</span>@@ -1461,7 +1461,7 @@ function Leaderboard({<EyeOff className="h-3 w-3" />)}</span>- <span className="truncate text-sm font-medium italic text-muted-foreground">+ <span className="truncate text-body font-medium italic text-muted-foreground">{isDeletedBucket? t(($) => $.leaderboard.deleted_agents): t(($) => $.leaderboard.other_agents)}@@ -1475,7 +1475,7 @@ function Leaderboard({size="md"enableHoverCard/>- <span className="cursor-pointer truncate text-sm font-medium">+ <span className="cursor-pointer truncate text-body font-medium">{agent?.name ?? row.agentId}</span></>@@ -1488,24 +1488,24 @@ function Leaderboard({/></div><div- className={`text-right text-xs tabular-nums ${sortBy === "tokens" ? "font-medium text-foreground" : "text-muted-foreground"}`}+ className={`text-right text-caption tabular-nums ${sortBy === "tokens" ? "font-medium text-foreground" : "text-muted-foreground"}`}>{formatTokens(row.tokens)}</div><div- className={`text-right tabular-nums ${sortBy === "cost" ? "text-sm font-medium" : "text-xs text-muted-foreground"}`}+ className={`text-right tabular-nums ${sortBy === "cost" ? "text-body font-medium" : "text-caption text-muted-foreground"}`}>${row.cost.toFixed(2)}</div><div- className={`text-right text-xs tabular-nums ${sortBy === "time" ? "font-medium text-foreground" : "text-muted-foreground"}`}+ className={`text-right text-caption tabular-nums ${sortBy === "time" ? "font-medium text-foreground" : "text-muted-foreground"}`}>{isDeletedBucket? "—": formatDuration(row.seconds, lessThanMinuteLabel)}</div><div- className={`text-right text-xs tabular-nums ${sortBy === "tasks" ? "font-medium text-foreground" : "text-muted-foreground"}`}+ className={`text-right text-caption tabular-nums ${sortBy === "tasks" ? "font-medium text-foreground" : "text-muted-foreground"}`}>{isDeletedBucket ? "—" : row.taskCount}</div>@@ -1534,8 +1534,8 @@ function DashboardEmpty() {return (<div className="flex flex-col items-center rounded-lg border border-dashed py-12 text-center"><BarChart3 className="h-6 w-6 text-muted-foreground/40" />- <p className="mt-3 text-sm font-medium">{t(($) => $.empty.title)}</p>- <p className="mt-1 max-w-md text-xs text-muted-foreground">+ <p className="mt-3 text-body font-medium">{t(($) => $.empty.title)}</p>+ <p className="mt-1 max-w-md text-caption text-muted-foreground">{t(($) => $.empty.body)}</p></div>diff --git a/packages/views/editor/attachment-card.tsx b/packages/views/editor/attachment-card.tsxindex 2743882a5f..9349236097 100644--- a/packages/views/editor/attachment-card.tsx+++ b/packages/views/editor/attachment-card.tsx@@ -46,7 +46,7 @@ function AttachmentCardChrome({<FileText className="size-4 shrink-0 text-muted-foreground" />)}<div className="min-w-0 flex-1">- <p className="truncate text-sm">+ <p className="truncate text-body">{uploading? t(($) => $.file_card.uploading, { filename }): filename}diff --git a/packages/views/editor/attachment-preview-modal.tsx b/packages/views/editor/attachment-preview-modal.tsxindex c97e7c9f07..de2be0eda0 100644--- a/packages/views/editor/attachment-preview-modal.tsx+++ b/packages/views/editor/attachment-preview-modal.tsx@@ -397,8 +397,8 @@ function PreviewPanel({<><div className="flex items-center gap-2 border-b border-border bg-muted/30 px-4 py-2"><FileText className="size-4 shrink-0 text-muted-foreground" />- <p className="truncate text-sm font-medium">{state.filename}</p>- <span className="ml-1 shrink-0 text-xs text-muted-foreground">+ <p className="truncate text-body font-medium">{state.filename}</p>+ <span className="ml-1 shrink-0 text-caption text-muted-foreground">{state.contentType || "—"}</span><div className="ml-auto flex items-center gap-1">@@ -670,7 +670,7 @@ function TextBackedPreview({if (query.isLoading) {return (- <div className="flex h-full items-center justify-center gap-2 text-sm text-muted-foreground">+ <div className="flex h-full items-center justify-center gap-2 text-body text-muted-foreground"><Loader2 className="size-4 animate-spin" />{t(($) => $.attachment.preview_loading)}</div>@@ -719,10 +719,10 @@ function UnsupportedFallback({return (<div className="flex h-full flex-col items-center justify-center gap-3 px-8 text-center"><FileText className="size-8 text-muted-foreground" />- <p className="text-sm text-muted-foreground">{message}</p>+ <p className="text-body text-muted-foreground">{message}</p><buttontype="button"- className="inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5 text-sm transition-colors hover:bg-muted"+ className="inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5 text-body transition-colors hover:bg-muted"onClick={onDownload}><Download className="size-4" />diff --git a/packages/views/editor/bubble-menu.tsx b/packages/views/editor/bubble-menu.tsxindex 93b9a87b97..fc1d8fca0c 100644--- a/packages/views/editor/bubble-menu.tsx+++ b/packages/views/editor/bubble-menu.tsx@@ -216,7 +216,7 @@ function LinkEditBar({onChange={(e) => setUrl(e.target.value)}placeholder="https://..."aria-label={t(($) => $.bubble_menu.url_aria_label)}- className="h-7 flex-1 text-xs"+ className="h-7 flex-1 text-caption"onKeyDown={(e) => {if (e.key === "Enter") { e.preventDefault(); apply(); }if (e.key === "Escape") { e.preventDefault(); onClose(); editor.commands.focus(); }@@ -260,7 +260,7 @@ function HeadingDropdown({ editor, onOpenChange, activeLevel }: { editor: Editorreturn (<Popover modal={false} open={open} onOpenChange={handleOpenChange}><PopoverTrigger- className="inline-flex h-7 items-center gap-0.5 rounded-md px-1.5 text-xs font-medium hover:bg-muted"+ className="inline-flex h-7 items-center gap-0.5 rounded-md px-1.5 text-caption font-medium hover:bg-muted"onMouseDown={(e) => e.preventDefault()}>{label}@@ -278,7 +278,7 @@ function HeadingDropdown({ editor, onOpenChange, activeLevel }: { editor: Editor<buttontype="button"key={item.label}- className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-xs outline-hidden select-none hover:bg-accent hover:text-accent-foreground"+ className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-caption outline-hidden select-none hover:bg-accent hover:text-accent-foreground"onMouseDown={(e) => {e.preventDefault();item.action();@@ -312,7 +312,7 @@ function ListDropdown({ editor, onOpenChange, isBullet, isOrdered, isTask }: { e<Popover modal={false} open={open} onOpenChange={handleOpenChange}><Tooltip><TooltipTrigger render={- <PopoverTrigger className="inline-flex h-7 items-center gap-0.5 rounded-md px-1.5 text-xs font-medium hover:bg-muted aria-pressed:bg-muted" aria-pressed={isBullet || isOrdered || isTask} onMouseDown={(e) => e.preventDefault()} />+ <PopoverTrigger className="inline-flex h-7 items-center gap-0.5 rounded-md px-1.5 text-caption font-medium hover:bg-muted aria-pressed:bg-muted" aria-pressed={isBullet || isOrdered || isTask} onMouseDown={(e) => e.preventDefault()} />}><List className="size-3.5" /><ChevronDown className="size-3" />@@ -329,7 +329,7 @@ function ListDropdown({ editor, onOpenChange, isBullet, isOrdered, isTask }: { e><buttontype="button"- className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-xs outline-hidden select-none hover:bg-accent hover:text-accent-foreground"+ className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-caption outline-hidden select-none hover:bg-accent hover:text-accent-foreground"onMouseDown={(e) => {e.preventDefault();editor.chain().focus().toggleBulletList().run();@@ -341,7 +341,7 @@ function ListDropdown({ editor, onOpenChange, isBullet, isOrdered, isTask }: { e</button><buttontype="button"- className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-xs outline-hidden select-none hover:bg-accent hover:text-accent-foreground"+ className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-caption outline-hidden select-none hover:bg-accent hover:text-accent-foreground"onMouseDown={(e) => {e.preventDefault();editor.chain().focus().toggleOrderedList().run();@@ -353,7 +353,7 @@ function ListDropdown({ editor, onOpenChange, isBullet, isOrdered, isTask }: { e</button><buttontype="button"- className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-xs outline-hidden select-none hover:bg-accent hover:text-accent-foreground"+ className="flex w-full cursor-default items-center gap-2 rounded-md px-1.5 py-1 text-caption outline-hidden select-none hover:bg-accent hover:text-accent-foreground"onMouseDown={(e) => {e.preventDefault();editor.chain().focus().toggleTaskList().run();diff --git a/packages/views/editor/code-block-static.tsx b/packages/views/editor/code-block-static.tsxindex 8034bef889..79b1974b1b 100644--- a/packages/views/editor/code-block-static.tsx+++ b/packages/views/editor/code-block-static.tsx@@ -38,7 +38,7 @@ export function CodeBlockStatic({ language, body, className }: CodeBlockStaticPr}, [body, language]);return (- <pre className={cn("rich-text-editor m-0 overflow-auto text-sm", className)}>+ <pre className={cn("rich-text-editor m-0 overflow-auto text-body", className)}><codeclassName={cn("hljs", language && `language-${language}`)}dangerouslySetInnerHTML={{ __html: html }}diff --git a/packages/views/editor/content-editor.tsx b/packages/views/editor/content-editor.tsxindex 9513d5f94a..3da0d7f3a0 100644--- a/packages/views/editor/content-editor.tsx+++ b/packages/views/editor/content-editor.tsx@@ -621,7 +621,7 @@ const ContentEditor = forwardRef<ContentEditorRef, ContentEditorProps>(},},attributes: {- class: cn("flex-1 rich-text-editor text-sm outline-none", className),+ class: cn("flex-1 rich-text-editor text-body outline-none", className),},},});diff --git a/packages/views/editor/extensions/code-block-view.tsx b/packages/views/editor/extensions/code-block-view.tsxindex fd766bc3e9..f68a85dca9 100644--- a/packages/views/editor/extensions/code-block-view.tsx+++ b/packages/views/editor/extensions/code-block-view.tsx@@ -83,7 +83,7 @@ function CodeBlockView({ node }: NodeViewProps) {className="code-block-header absolute top-0 right-0 z-10 flex items-center gap-1.5 px-2 py-1.5 opacity-0 transition-opacity group-hover/code:opacity-100 focus-within:opacity-100">{language && (- <span className="text-xs text-muted-foreground select-none">+ <span className="text-caption text-muted-foreground select-none">{language}</span>)}diff --git a/packages/views/editor/extensions/mention-suggestion.tsx b/packages/views/editor/extensions/mention-suggestion.tsxindex 9320ebdfca..54b6dd1bbe 100644--- a/packages/views/editor/extensions/mention-suggestion.tsx+++ b/packages/views/editor/extensions/mention-suggestion.tsx@@ -306,7 +306,7 @@ export const MentionList = forwardRef<MentionListRef, MentionListProps>((isSearching || searchedQuery !== normalizedQuery);return (- <div className="rounded-md border bg-popover p-2 text-xs text-muted-foreground shadow-md">+ <div className="rounded-md border bg-popover p-2 text-caption text-muted-foreground shadow-md">{isWaitingForServer? t(($) => $.mention.searching): t(($) => $.mention.no_results)}@@ -366,7 +366,7 @@ export const MentionList = forwardRef<MentionListRef, MentionListProps>(>{groups.map((group) => (<div key={group.label}>- <div className="px-3 py-2 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground/80">+ <div className="px-3 py-2 text-micro font-semibold uppercase tracking-wide text-muted-foreground/80">{groupLabel(group.label)}</div>{renderRows(group)}@@ -401,7 +401,7 @@ function MentionRow({<buttontype="button"ref={buttonRef}- className={`flex w-full items-center gap-2.5 px-3 py-2 text-left text-xs transition-colors ${+ className={`flex w-full items-center gap-2.5 px-3 py-2 text-left text-caption transition-colors ${selected ? "bg-accent" : "hover:bg-accent/50"} ${isClosed ? "opacity-60" : ""}`}onClick={onSelect}@@ -435,7 +435,7 @@ function MentionRow({<buttontype="button"ref={buttonRef}- className={`flex w-full items-center gap-2.5 px-3 py-2 text-left text-xs transition-colors ${+ className={`flex w-full items-center gap-2.5 px-3 py-2 text-left text-caption transition-colors ${selected ? "bg-accent" : "hover:bg-accent/50"}`}onClick={onSelect}@@ -462,7 +462,7 @@ function MentionRow({<buttontype="button"ref={buttonRef}- className={`flex w-full items-center gap-2.5 px-3 py-1.5 text-left text-xs transition-colors ${+ className={`flex w-full items-center gap-2.5 px-3 py-1.5 text-left text-caption transition-colors ${selected ? "bg-accent" : "hover:bg-accent/50"}`}onClick={onSelect}@@ -479,12 +479,12 @@ function MentionRow({{item.type === "agent" && (// "Agent" is a glossary-protected product term — kept un-translated.// eslint-disable-next-line i18next/no-literal-string- <Badge variant="outline" className="ml-auto text-[10px] h-4 px-1.5">Agent</Badge>+ <Badge variant="outline" className="ml-auto text-micro h-4 px-1.5">Agent</Badge>)}{item.type === "squad" && (// "Squad" is a glossary-protected product term — kept un-translated.// eslint-disable-next-line i18next/no-literal-string- <Badge variant="outline" className="ml-auto text-[10px] h-4 px-1.5">Squad</Badge>+ <Badge variant="outline" className="ml-auto text-micro h-4 px-1.5">Squad</Badge>)}</button>);diff --git a/packages/views/editor/extensions/mention-view.tsx b/packages/views/editor/extensions/mention-view.tsxindex 6f40014667..f6b8984baf 100644--- a/packages/views/editor/extensions/mention-view.tsx+++ b/packages/views/editor/extensions/mention-view.tsx@@ -8,7 +8,7 @@* to open in a new tab (AppLink doesn't expose that intent hook).** Issue chip sizing: must fit within the paragraph line box (14px * 1.625 =- * 22.75px). Card is text-xs (12px) + py-0.5 + border ≈ 22px total. The+ * 22.75px). Card is text-caption (12px) + py-0.5 + border ≈ 22px total. The* `vertical-align: middle` rule on `[data-node-view-wrapper]` in CSS handles* line-box alignment; setting it on the inner <a> has no effect because the* wrapper is the outermost inline element.diff --git a/packages/views/editor/extensions/slash-command-suggestion.tsx b/packages/views/editor/extensions/slash-command-suggestion.tsxindex 4627651b40..cf38da8493 100644--- a/packages/views/editor/extensions/slash-command-suggestion.tsx+++ b/packages/views/editor/extensions/slash-command-suggestion.tsx@@ -110,7 +110,7 @@ export const SlashCommandList = forwardRef<if (items.length === 0) {if (hideOnEmpty) return null;return (- <div className="rounded-md border bg-popover p-2 text-xs text-muted-foreground shadow-md">+ <div className="rounded-md border bg-popover p-2 text-caption text-muted-foreground shadow-md">{t(($) =>query.trim()? $.slash_command.no_results@@ -141,7 +141,7 @@ export const SlashCommandList = forwardRef<ref={(el) => {itemRefs.current[index] = el;}}- className={`flex w-full flex-col gap-0.5 px-3 py-1.5 text-left text-xs transition-colors ${+ className={`flex w-full flex-col gap-0.5 px-3 py-1.5 text-left text-caption transition-colors ${selectedIndex === index ? "bg-accent" : "hover:bg-accent/50"}`}onClick={() => selectItem(index)}diff --git a/packages/views/editor/html-block-preview.tsx b/packages/views/editor/html-block-preview.tsxindex 8659f689a1..ed3f854861 100644--- a/packages/views/editor/html-block-preview.tsx+++ b/packages/views/editor/html-block-preview.tsx@@ -75,7 +75,7 @@ export function HtmlBlockPreview({ html, className }: HtmlBlockPreviewProps) {<divclassName="absolute top-0 right-0 z-10 flex items-center gap-1.5 px-2 py-1.5 opacity-0 transition-opacity group-hover/code:opacity-100 focus-within:opacity-100">- <span className="text-xs text-muted-foreground select-none">{HTML_LANGUAGE_LABEL}</span>+ <span className="text-caption text-muted-foreground select-none">{HTML_LANGUAGE_LABEL}</span><buttontype="button"onClick={toggleView}diff --git a/packages/views/editor/html-preview-body.tsx b/packages/views/editor/html-preview-body.tsxindex cd525108cc..25789646fb 100644--- a/packages/views/editor/html-preview-body.tsx+++ b/packages/views/editor/html-preview-body.tsx@@ -101,7 +101,7 @@ function AttachmentBody({return (<divclassName={cn(- "flex items-center justify-center rounded-md border border-border bg-muted/30 text-xs text-muted-foreground",+ "flex items-center justify-center rounded-md border border-border bg-muted/30 text-caption text-muted-foreground",placeholderClassName,)}>@@ -120,7 +120,7 @@ function AttachmentBody({return (<divclassName={cn(- "flex items-center rounded-md border border-border bg-muted/30 px-3 text-xs text-muted-foreground",+ "flex items-center rounded-md border border-border bg-muted/30 px-3 text-caption text-muted-foreground",placeholderClassName,)}data-testid={errorTestId}diff --git a/packages/views/editor/link-hover-card.tsx b/packages/views/editor/link-hover-card.tsxindex 007bb21428..06eecc6ae7 100644--- a/packages/views/editor/link-hover-card.tsx+++ b/packages/views/editor/link-hover-card.tsx@@ -201,7 +201,7 @@ function LinkHoverCard({onMouseLeave={onCardLeave}><span- className="min-w-0 flex-1 truncate text-xs text-muted-foreground px-1"+ className="min-w-0 flex-1 truncate text-caption text-muted-foreground px-1"title={href}>{truncateUrl(href)}diff --git a/packages/views/editor/mermaid-viewer.tsx b/packages/views/editor/mermaid-viewer.tsxindex e8a1d05747..2b03c378cb 100644--- a/packages/views/editor/mermaid-viewer.tsx+++ b/packages/views/editor/mermaid-viewer.tsx@@ -202,7 +202,7 @@ function MermaidViewerContent({{/* Sibling of the scrolling canvas, never inside it: the toolbar muststay put no matter how far the diagram is panned or zoomed. */}<header className="flex shrink-0 items-center gap-1 border-b border-border bg-muted/30 px-3 py-2">- <DialogTitle className="mr-1 truncate text-sm font-medium">+ <DialogTitle className="mr-1 truncate text-body font-medium">{t(($) => $.mermaid.viewer_title)}</DialogTitle>diff --git a/packages/views/editor/styles/code.css b/packages/views/editor/styles/code.cssindex 41ef4af66c..7091391488 100644--- a/packages/views/editor/styles/code.css+++ b/packages/views/editor/styles/code.css@@ -11,7 +11,7 @@font-family: var(--font-mono, ui-monospace, monospace);font-variant-ligatures: none;font-feature-settings: "liga" 0;- font-size: 0.875rem;+ font-size: var(--text-body);background: color-mix(in srgb, var(--foreground) 3%, transparent);border: 1px solid color-mix(in srgb, var(--foreground) 5%, transparent);color: color-mix(in srgb, var(--foreground) 75%, transparent);@@ -48,7 +48,7 @@ pre.rich-text-editor code {border: none;color: var(--foreground);padding: 0;- font-size: 0.8125rem;+ font-size: var(--text-label);line-height: 1.6;}diff --git a/packages/views/editor/styles/mermaid.css b/packages/views/editor/styles/mermaid.cssindex 9b6bcb490d..92b0b3a3fc 100644--- a/packages/views/editor/styles/mermaid.css+++ b/packages/views/editor/styles/mermaid.css@@ -78,7 +78,7 @@.rich-text-editor .mermaid-diagram-loading,.rich-text-editor .mermaid-diagram-error p {color: var(--muted-foreground);- font-size: 0.8125rem;+ font-size: var(--text-label);margin: 0;}@@ -107,7 +107,7 @@.rich-text-editor .mermaid-diagram-error-detail {font-family: var(--font-mono, monospace);- font-size: 0.75rem;+ font-size: var(--text-caption);margin: 0.375rem 0 0;white-space: pre-wrap;word-break: break-word;diff --git a/packages/views/editor/styles/prose.css b/packages/views/editor/styles/prose.cssindex 60bd0bcf81..a00627444a 100644--- a/packages/views/editor/styles/prose.css+++ b/packages/views/editor/styles/prose.css@@ -11,7 +11,7 @@* - Linear's editor (Tiptap-based, 14px body)** Key decisions:- * Body: 14px (text-sm), line-height 1.625 (between GitHub 1.5 and Tailwind 1.714)+ * Body: 14px (text-body), line-height 1.625 (between GitHub 1.5 and Tailwind 1.714)* Headings: h1=22px (1.57x), h2=18px (1.29x), h3=15px (1.07x) — compact but* with clear hierarchy. Previous h3 was 14px (same as body = no differentiation).* Paragraph spacing: 10px (was 8px; GitHub uses 10px, Tailwind prose-sm uses 16px)@@ -38,7 +38,7 @@/* Headings — compact but with clear visual hierarchy */.rich-text-editor h1 {- font-size: 1.375rem;+ font-size: var(--text-display-sm);font-weight: 700;margin-top: 1.5rem;margin-bottom: 0.5rem;@@ -47,7 +47,7 @@}.rich-text-editor h2 {- font-size: 1.125rem;+ font-size: var(--text-title);font-weight: 600;margin-top: 1.5rem;margin-bottom: 0.5rem;@@ -55,7 +55,7 @@}.rich-text-editor h3 {- font-size: 0.9375rem;+ font-size: var(--text-body-lg);font-weight: 600;margin-top: 1rem;margin-bottom: 0.5rem;@@ -311,10 +311,10 @@.rich-text-editor td {text-align: left;padding: 0.625rem 1rem;- font-size: 0.875rem;+ font-size: var(--text-body);/* Match body-paragraph line-height. Tiptap wraps cell content in <p>(which carries 1.625); the readonly render keeps bare text in the cell,- which otherwise inherits the host's text-sm line-height (~1.43) and+ which otherwise inherits the host's text-body line-height (~1.43) andmakes every readonly cell 2.5px shorter per line. */line-height: 1.625;}diff --git a/packages/views/editor/zoom-canvas.tsx b/packages/views/editor/zoom-canvas.tsxindex 3a9203e421..2e8dccdcb7 100644--- a/packages/views/editor/zoom-canvas.tsx+++ b/packages/views/editor/zoom-canvas.tsx@@ -93,7 +93,7 @@ export function ZoomControls({</ToolbarButton>{/* Fixed width so the toolbar doesn't jitter as digits change. */}<span- className="w-12 select-none text-center text-xs tabular-nums text-muted-foreground"+ className="w-12 select-none text-center text-caption tabular-nums text-muted-foreground"aria-live="polite">{canvas.zoomPercent}%diff --git a/packages/views/inbox/components/inbox-list-item.tsx b/packages/views/inbox/components/inbox-list-item.tsxindex 76889eeb24..ed8a19da0e 100644--- a/packages/views/inbox/components/inbox-list-item.tsx+++ b/packages/views/inbox/components/inbox-list-item.tsx@@ -79,7 +79,7 @@ export function InboxListItem({<span className="h-1.5 w-1.5 shrink-0 rounded-full bg-brand" />)}<span- className={`truncate text-sm ${showUnread ? "font-medium" : "text-muted-foreground"}`}+ className={`truncate text-body ${showUnread ? "font-medium" : "text-muted-foreground"}`}>{displayTitle}</span>@@ -110,7 +110,7 @@ export function InboxListItem({</div></div><div className="mt-0.5 flex items-center justify-between gap-2">- <p className={`min-w-0 overflow-hidden text-ellipsis whitespace-nowrap text-xs ${showUnread ? "text-muted-foreground" : "text-muted-foreground/60"}`}>+ <p className={`min-w-0 overflow-hidden text-ellipsis whitespace-nowrap text-caption ${showUnread ? "text-muted-foreground" : "text-muted-foreground/60"}`}><InboxDetailLabel item={item} /></p><div className="flex shrink-0 items-center gap-1.5">@@ -125,7 +125,7 @@ export function InboxListItem({hoverCard={false}/>)}- <span className={`text-xs ${showUnread ? "text-muted-foreground" : "text-muted-foreground/60"}`}>+ <span className={`text-caption ${showUnread ? "text-muted-foreground" : "text-muted-foreground/60"}`}>{timeAgo(item.created_at)}</span></div>diff --git a/packages/views/inbox/components/inbox-list.tsx b/packages/views/inbox/components/inbox-list.tsxindex 62395400f2..136a19d0dc 100644--- a/packages/views/inbox/components/inbox-list.tsx+++ b/packages/views/inbox/components/inbox-list.tsx@@ -67,7 +67,7 @@ export function InboxList({<buttontype="button"onClick={onOpenArchived}- className="mt-1 flex h-10 w-full items-center gap-2 rounded-md px-2 text-left text-xs text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="mt-1 flex h-10 w-full items-center gap-2 rounded-md px-2 text-left text-caption text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"><span className="flex size-7 shrink-0 items-center justify-center"><Archive className="size-4" />@@ -91,7 +91,7 @@ export function InboxList({<div className="flex-1 min-h-0 overflow-y-auto"><div className="flex flex-col items-center justify-center py-16 text-muted-foreground"><Inbox className="mb-3 h-8 w-8 text-muted-foreground/50" />- <p className="text-sm">+ <p className="text-body">{isArchivedView? t(($) => $.list.archived_empty): t(($) => $.list.empty)}diff --git a/packages/views/inbox/components/inbox-page.tsx b/packages/views/inbox/components/inbox-page.tsxindex 6921f2cac6..e4c6f58444 100644--- a/packages/views/inbox/components/inbox-page.tsx+++ b/packages/views/inbox/components/inbox-page.tsx@@ -332,14 +332,14 @@ export function InboxPage() {const listHeader = (<PageHeader className="justify-between"><div className="flex items-center gap-2">- <h1 className="text-sm font-semibold">{t(($) => $.page.title)}</h1>+ <h1 className="text-body font-semibold">{t(($) => $.page.title)}</h1>{unreadCount > 0 && (<NumberFlowvalue={unreadCount}animated={false}format={{ maximumFractionDigits: 0 }}aria-label={String(unreadCount)}- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground"/>)}</div>@@ -390,7 +390,7 @@ export function InboxPage() {<buttontype="button"onClick={() => setView("inbox")}- className="flex w-full shrink-0 items-center gap-1.5 border-b px-3 py-2 text-left text-xs font-medium text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="flex w-full shrink-0 items-center gap-1.5 border-b px-3 py-2 text-left text-caption font-medium text-muted-foreground outline-none transition-colors hover:bg-accent/50 hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring"><ChevronLeft className="size-4 shrink-0" /><span className="truncate">{t(($) => $.list.archived_title)}</span>@@ -404,7 +404,7 @@ export function InboxPage() {<div className="flex-1 min-h-0 overflow-y-auto"><div className="flex flex-col items-center justify-center py-16 text-muted-foreground"><Archive className="mb-3 h-8 w-8 text-muted-foreground/50" />- <p className="text-sm">{t(($) => $.errors.archived_load_failed)}</p>+ <p className="text-body">{t(($) => $.errors.archived_load_failed)}</p></div></div>) : (@@ -453,21 +453,21 @@ export function InboxPage() {</ErrorBoundary>) : selected ? (<div className="p-6">- <h2 className="text-lg font-semibold">{getInboxDisplayTitle(selected)}</h2>- <p className="mt-1 text-sm text-muted-foreground">+ <h2 className="text-title font-semibold">{getInboxDisplayTitle(selected)}</h2>+ <p className="mt-1 text-body text-muted-foreground">{typeLabels[selected.type]} · {timeAgo(selected.created_at)}</p>{selected.body && (- <div className="mt-4 whitespace-pre-wrap text-sm leading-relaxed text-foreground/80">+ <div className="mt-4 whitespace-pre-wrap text-body leading-relaxed text-foreground/80">{selected.body}</div>)}{isQuickCreateOutcome(selected.type) && selected.details?.original_prompt && (<div className="mt-4 rounded-md border bg-muted/40 p-3">- <p className="text-xs font-medium text-muted-foreground">+ <p className="text-caption font-medium text-muted-foreground">{t(($) => $.detail.original_input)}</p>- <p className="mt-1 whitespace-pre-wrap text-sm">{selected.details.original_prompt}</p>+ <p className="mt-1 whitespace-pre-wrap text-body">{selected.details.original_prompt}</p></div>)}<div className="mt-4 flex gap-2">@@ -619,7 +619,7 @@ export function InboxPage() {{detailContent ?? (<div className="flex h-full flex-col items-center justify-center text-muted-foreground"><Inbox className="mb-3 h-10 w-10 text-muted-foreground/30" />- <p className="text-sm">+ <p className="text-body">{visibleItems.length === 0? t(($) => $.detail.empty): t(($) => $.detail.select_prompt)}diff --git a/packages/views/invitations/invitations-page.tsx b/packages/views/invitations/invitations-page.tsxindex 59991a9ba9..dabf536a42 100644--- a/packages/views/invitations/invitations-page.tsx+++ b/packages/views/invitations/invitations-page.tsx@@ -163,8 +163,8 @@ export function InvitationsPage() {<div className="flex h-12 w-12 items-center justify-center rounded-full bg-muted"><Mail className="h-6 w-6 text-muted-foreground" /></div>- <h2 className="text-lg font-semibold">{t(($) => $.batch.empty_title)}</h2>- <p className="text-sm text-muted-foreground text-center">+ <h2 className="text-title font-semibold">{t(($) => $.batch.empty_title)}</h2>+ <p className="text-body text-muted-foreground text-center">{t(($) => $.batch.empty_hint)}</p><Button onClick={() => push(paths.onboarding())}>@@ -190,10 +190,10 @@ export function InvitationsPage() {<Users className="h-6 w-6 text-primary" /></div><div className="space-y-1">- <h2 className="text-xl font-semibold">+ <h2 className="text-title-lg font-semibold">{t(($) => $.batch.title)}</h2>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.batch.subtitle)}</p></div>@@ -219,7 +219,7 @@ export function InvitationsPage() {</Button>{error && (- <p className="text-sm text-destructive text-center">{error}</p>+ <p className="text-body text-destructive text-center">{error}</p>)}</CardContent></Card>@@ -259,7 +259,7 @@ function InvitationRow({<div className="font-medium truncate">{invitation.workspace_name ?? t(($) => $.batch.row_workspace_fallback)}</div>- <div className="text-xs text-muted-foreground truncate">+ <div className="text-caption text-muted-foreground truncate">{roleLine}</div></div>diff --git a/packages/views/invite/invite-page.tsx b/packages/views/invite/invite-page.tsxindex a46f2e81c8..d17954c873 100644--- a/packages/views/invite/invite-page.tsx+++ b/packages/views/invite/invite-page.tsx@@ -132,8 +132,8 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {<div className="flex h-12 w-12 items-center justify-center rounded-full bg-muted"><X className="h-6 w-6 text-muted-foreground" /></div>- <h2 className="text-lg font-semibold">{t(($) => $.not_found.title)}</h2>- <p className="text-sm text-muted-foreground text-center">+ <h2 className="text-title font-semibold">{t(($) => $.not_found.title)}</h2>+ <p className="text-body text-muted-foreground text-center">{t(($) => $.not_found.description)}</p><Button variant="outline" onClick={() => push(fallbackDest)}>@@ -153,10 +153,10 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {<div className="flex h-12 w-12 items-center justify-center rounded-full bg-primary/10"><Check className="h-6 w-6 text-primary" /></div>- <h2 className="text-lg font-semibold">+ <h2 className="text-title font-semibold">{t(($) => $.accepted.title, { workspace_name: invitation.workspace_name })}</h2>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.accepted.redirecting)}</p></CardContent>@@ -170,8 +170,8 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {<InviteShell onBack={onBack}><Card className="w-full max-w-md"><CardContent className="flex flex-col items-center gap-4 py-12">- <h2 className="text-lg font-semibold">{t(($) => $.declined.title)}</h2>- <p className="text-sm text-muted-foreground">{t(($) => $.declined.description)}</p>+ <h2 className="text-title font-semibold">{t(($) => $.declined.title)}</h2>+ <p className="text-body text-muted-foreground">{t(($) => $.declined.description)}</p><Button variant="outline" onClick={() => push(fallbackDest)}>{t(($) => $.declined.go_to_dashboard)}</Button>@@ -193,12 +193,12 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {</div><div className="text-center space-y-2">- <h2 className="text-xl font-semibold">+ <h2 className="text-title-lg font-semibold">{t(($) => $.main.join_title, {workspace_name: invitation.workspace_name ?? t(($) => $.main.fallback_workspace_name),})}</h2>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground"><strong>{invitation.inviter_name || invitation.inviter_email}</strong>{" "}{invitation.role === "admin"? t(($) => $.main.invited_role_admin)@@ -207,13 +207,13 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {</div>{isAlreadyHandled ? (- <div className="text-sm text-muted-foreground">+ <div className="text-body text-muted-foreground">{invitation.status === "accepted"? t(($) => $.main.already_handled_accepted): t(($) => $.main.already_handled_declined)}</div>) : isExpired ? (- <div className="text-sm text-muted-foreground">+ <div className="text-body text-muted-foreground">{t(($) => $.main.expired)}</div>) : (@@ -237,7 +237,7 @@ export function InvitePage({ invitationId, onBack }: InvitePageProps) {)}{error && (- <p className="text-sm text-destructive text-center">{error}</p>+ <p className="text-body text-destructive text-center">{error}</p>)}</CardContent></Card>diff --git a/packages/views/issues/actions/issue-actions-menu-items.tsx b/packages/views/issues/actions/issue-actions-menu-items.tsxindex 74b8fd2aeb..bf244359a6 100644--- a/packages/views/issues/actions/issue-actions-menu-items.tsx+++ b/packages/views/issues/actions/issue-actions-menu-items.tsx@@ -160,7 +160,7 @@ export function IssueActionsMenuItems({<StatusIcon status={s} className="h-3.5 w-3.5" />{t(($) => $.status[s])}{issue.status === s && (- <span className="ml-auto text-xs text-muted-foreground">{"✓"}</span>+ <span className="ml-auto text-caption text-muted-foreground">{"✓"}</span>)}</P.Item>))}@@ -177,13 +177,13 @@ export function IssueActionsMenuItems({{PRIORITY_ORDER.map((p) => (<P.Item key={p} onClick={() => updateField({ priority: p })}><span- className={`inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium ${PRIORITY_CONFIG[p].badgeBg} ${PRIORITY_CONFIG[p].badgeText}`}+ className={`inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-caption font-medium ${PRIORITY_CONFIG[p].badgeBg} ${PRIORITY_CONFIG[p].badgeText}`}><PriorityIcon priority={p} className="h-3 w-3" inheritColor />{t(($) => $.priority[p])}</span>{issue.priority === p && (- <span className="ml-auto text-xs text-muted-foreground">{"✓"}</span>+ <span className="ml-auto text-caption text-muted-foreground">{"✓"}</span>)}</P.Item>))}diff --git a/packages/views/issues/components/attribution-badge.tsx b/packages/views/issues/components/attribution-badge.tsxindex d31f72e2f0..8824f323a4 100644--- a/packages/views/issues/components/attribution-badge.tsx+++ b/packages/views/issues/components/attribution-badge.tsx@@ -125,7 +125,7 @@ export function AttributionBadge({render={<spanclassName={cn(- "inline-flex min-w-0 items-center gap-1.5 text-xs",+ "inline-flex min-w-0 items-center gap-1.5 text-caption",uncertain ? "text-warning" : "text-foreground/80",className)}@@ -182,7 +182,7 @@ export function AttributionBadge({</span><spanclassName={cn(- "text-[11px]",+ "text-micro",uncertain ? "text-warning" : "text-muted-foreground")}>diff --git a/packages/views/issues/components/batch-action-toolbar.tsx b/packages/views/issues/components/batch-action-toolbar.tsxindex 184bcff8d5..f3344063e0 100644--- a/packages/views/issues/components/batch-action-toolbar.tsx+++ b/packages/views/issues/components/batch-action-toolbar.tsx@@ -208,7 +208,7 @@ export function BatchActionToolbar({}}><div className="flex items-center gap-1.5 pl-1 pr-2 border-r mr-1">- <span className="text-sm font-medium">{t(($) => $.batch.selected, { count })}</span>+ <span className="text-body font-medium">{t(($) => $.batch.selected, { count })}</span><buttontype="button"onClick={clear}@@ -277,7 +277,7 @@ export function BatchActionToolbar({</AlertDialogTitle><AlertDialogDescription>{t(($) => $.batch.delete_dialog_desc, { count })}- <span className="mt-2 block text-xs text-muted-foreground/80">+ <span className="mt-2 block text-caption text-muted-foreground/80">{t(($) => $.batch.delete_dialog_warning)}</span></AlertDialogDescription>diff --git a/packages/views/issues/components/board-card.tsx b/packages/views/issues/components/board-card.tsxindex f2c2b606b7..9ca760412b 100644--- a/packages/views/issues/components/board-card.tsx+++ b/packages/views/issues/components/board-card.tsx@@ -151,11 +151,11 @@ export const BoardCardContent = memo(function BoardCardContent({className="shrink-0"/>{assigneeName && (- <span className="min-w-0 truncate text-xs text-foreground">{assigneeName}</span>+ <span className="min-w-0 truncate text-caption text-foreground">{assigneeName}</span>)}</span>) : (- <span className="text-xs text-muted-foreground">{t(($) => $.pickers.assignee.trigger_unassigned)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.pickers.assignee.trigger_unassigned)}</span>);const assigneeNode = showAssigneeSection ? (@@ -182,13 +182,13 @@ export const BoardCardContent = memo(function BoardCardContent({<div className="flex items-center justify-between gap-2"><div className="flex items-center gap-1.5 min-w-0">{priorityIconNode}- <p className="text-xs text-muted-foreground truncate">{issue.identifier}</p>+ <p className="text-caption text-muted-foreground truncate">{issue.identifier}</p></div><IssueAgentActivityIndicator issueId={issue.id} /></div>{/* Row 2: Title */}- <p className="mt-1 text-sm font-medium leading-snug line-clamp-2">+ <p className="mt-1 text-body font-medium leading-snug line-clamp-2">{issue.title}</p>@@ -196,7 +196,7 @@ export const BoardCardContent = memo(function BoardCardContent({const preview = descriptionPreview(issue.description!);if (!preview) return null;return (- <p className="mt-1 text-xs text-muted-foreground line-clamp-1">+ <p className="mt-1 text-caption text-muted-foreground line-clamp-1">{preview}</p>);@@ -206,7 +206,7 @@ export const BoardCardContent = memo(function BoardCardContent({{(showProject || showLabels || cardCustomProperties.length > 0) && (<div className="mt-1.5 flex items-center gap-1.5 flex-wrap">{showProject && (- <span className="inline-flex items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-[11px] text-muted-foreground max-w-[160px]">+ <span className="inline-flex items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-micro text-muted-foreground max-w-[160px]"><ProjectIcon project={project} size="sm" /><span className="truncate">{project!.title}</span></span>@@ -217,9 +217,9 @@ export const BoardCardContent = memo(function BoardCardContent({{cardCustomProperties.map((property) => (<spankey={property.id}- className="inline-flex max-w-[160px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-[11px] text-muted-foreground"+ className="inline-flex max-w-[160px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-micro text-muted-foreground">- <PropertyIcon property={property} className="size-3 text-[11px]" />+ <PropertyIcon property={property} className="size-3 text-micro" /><CustomPropertyValueDisplay property={property} value={issue.properties?.[property.id]} /></span>))}@@ -243,7 +243,7 @@ export const BoardCardContent = memo(function BoardCardContent({startDate={issue.start_date}onUpdate={handleUpdate}trigger={- <span className="flex items-center gap-1 text-xs text-muted-foreground">+ <span className="flex items-center gap-1 text-caption text-muted-foreground"><CalendarClock className="size-3" />{formatDate(issue.start_date!)}</span>@@ -251,7 +251,7 @@ export const BoardCardContent = memo(function BoardCardContent({/></PickerWrapper>) : (- <span className="flex shrink-0 items-center gap-1 text-xs text-muted-foreground">+ <span className="flex shrink-0 items-center gap-1 text-caption text-muted-foreground"><CalendarClock className="size-3" />{formatDate(issue.start_date!)}</span>@@ -265,7 +265,7 @@ export const BoardCardContent = memo(function BoardCardContent({onUpdate={handleUpdate}trigger={<span- className={`flex items-center gap-1 text-xs ${+ className={`flex items-center gap-1 text-caption ${isPastDateOnly(issue.due_date)? "text-destructive": "text-muted-foreground"@@ -279,7 +279,7 @@ export const BoardCardContent = memo(function BoardCardContent({</PickerWrapper>) : (<span- className={`flex shrink-0 items-center gap-1 text-xs ${+ className={`flex shrink-0 items-center gap-1 text-caption ${isPastDateOnly(issue.due_date)? "text-destructive": "text-muted-foreground"@@ -293,13 +293,13 @@ export const BoardCardContent = memo(function BoardCardContent({{showChildProgress && (<div className="inline-flex shrink-0 items-center gap-1"><ProgressRing done={childProgress!.done} total={childProgress!.total} size={14} />- <span className="text-[11px] text-muted-foreground tabular-nums font-medium">+ <span className="text-micro text-muted-foreground tabular-nums font-medium">{childProgress!.done}/{childProgress!.total}</span></div>)}{showUpdatedHint && (- <span className="shrink-0 text-xs text-muted-foreground">+ <span className="shrink-0 text-caption text-muted-foreground">{t(($) => $.card.updated_ago, { time: timeAgo(issue.updated_at) })}</span>)}diff --git a/packages/views/issues/components/board-column.tsx b/packages/views/issues/components/board-column.tsxindex b01799ad9a..160b1b55bf 100644--- a/packages/views/issues/components/board-column.tsx+++ b/packages/views/issues/components/board-column.tsx@@ -237,7 +237,7 @@ export const BoardColumn = memo(function BoardColumn({<div className="relative min-h-[200px] flex-1 rounded-lg">{isOver && sortLabel && (<div className="pointer-events-none absolute inset-0 z-10 flex items-center justify-center rounded-lg bg-background/40">- <span className="rounded-md bg-popover px-2.5 py-1 text-xs font-medium text-popover-foreground shadow-sm border border-border">+ <span className="rounded-md bg-popover px-2.5 py-1 text-caption font-medium text-popover-foreground shadow-sm border border-border">{sortLabel}</span></div>@@ -305,7 +305,7 @@ export const BoardColumn = memo(function BoardColumn({) : (<>{issueIds.length === 0 && (- <p className="py-8 text-center text-xs text-muted-foreground">+ <p className="py-8 text-center text-caption text-muted-foreground">{t(($) => $.board.empty_column)}</p>)}@@ -336,10 +336,10 @@ function BoardGroupHeading({className="size-2.5 shrink-0 rounded-full bg-muted-foreground/30"style={group.propertyOptionColor ? { backgroundColor: group.propertyOptionColor } : undefined}/>- <span className="truncate text-sm font-medium" title={group.title}>+ <span className="truncate text-body font-medium" title={group.title}>{group.title}</span>- <span className="shrink-0 rounded-full bg-background px-1.5 py-0.5 text-[11px] font-medium tabular-nums text-muted-foreground">+ <span className="shrink-0 rounded-full bg-background px-1.5 py-0.5 text-micro font-medium tabular-nums text-muted-foreground">{count}</span></div>@@ -363,10 +363,10 @@ function BoardGroupHeading({return (<div className="flex min-w-0 items-center gap-2">{actorIcon}- <span className="truncate text-sm font-medium" title={group.title}>+ <span className="truncate text-body font-medium" title={group.title}>{group.title}</span>- <span className="shrink-0 rounded-full bg-background px-1.5 py-0.5 text-[11px] font-medium tabular-nums text-muted-foreground">+ <span className="shrink-0 rounded-full bg-background px-1.5 py-0.5 text-micro font-medium tabular-nums text-muted-foreground">{count}</span></div>diff --git a/packages/views/issues/components/board-view.tsx b/packages/views/issues/components/board-view.tsxindex e11fd7cf54..596487255b 100644--- a/packages/views/issues/components/board-view.tsx+++ b/packages/views/issues/components/board-view.tsx@@ -614,13 +614,13 @@ function BoardViewImpl({groupBranches?.isError ? (<buttontype="button"- className="flex min-w-full flex-1 items-center justify-center text-sm text-destructive hover:underline"+ className="flex min-w-full flex-1 items-center justify-center text-body text-destructive hover:underline"onClick={groupBranches.retryGroups}>{t(($) => $.table.load_more_failed_retry)}</button>) : (- <div className="flex min-w-full flex-1 items-center justify-center text-sm text-muted-foreground">+ <div className="flex min-w-full flex-1 items-center justify-center text-body text-muted-foreground">{t(($) => $.board.empty_grouping)}</div>)diff --git a/packages/views/issues/components/comment-card.tsx b/packages/views/issues/components/comment-card.tsxindex f0501a5f4a..9d1cb9a34f 100644--- a/packages/views/issues/components/comment-card.tsx+++ b/packages/views/issues/components/comment-card.tsx@@ -570,13 +570,13 @@ function CommentRow({className="flex items-center gap-2.5 px-4 pt-1 pb-1.5"><ActorAvatar actorType={entry.actor_type} actorId={entry.actor_id} size="md" enableHoverCard showStatusDot />- <span className="cursor-pointer text-sm font-medium">+ <span className="cursor-pointer text-body font-medium">{getActorName(entry.actor_type, entry.actor_id)}</span><Tooltip><TooltipTriggerrender={- <span className="text-xs text-muted-foreground cursor-default">+ <span className="text-caption text-muted-foreground cursor-default">{timeAgo(entry.created_at)}</span>}@@ -587,7 +587,7 @@ function CommentRow({</Tooltip>{isResolution && (- <span className="text-xs font-medium text-success">+ <span className="text-caption font-medium text-success">{t(($) => $.comment.resolve.resolution_badge)}</span>)}@@ -660,7 +660,7 @@ function CommentRow({className="relative pl-12 pr-4 pt-1"onKeyDown={(e) => { if (e.key === "Escape") edit.cancelEdit(); }}>- <div className="text-sm leading-relaxed">+ <div className="text-body leading-relaxed"><ContentEditorref={edit.editorRef}defaultValue={edit.initialValue}@@ -725,7 +725,7 @@ function CommentRow({</div>) : (<>- <div className="pl-12 pr-4 pt-1 text-sm leading-relaxed text-foreground/85">+ <div className="pl-12 pr-4 pt-1 text-body leading-relaxed text-foreground/85"><ReadonlyContent content={entry.content ?? ""} attachments={entry.attachments} /></div><AttachmentList attachments={entry.attachments} content={entry.content} className="mt-1.5 pl-12 pr-4" />@@ -832,7 +832,7 @@ function CommentCardImpl({<buttontype="button"onClick={onCollapseResolved}- className="sticky top-0 z-20 flex w-full items-center gap-2.5 border-b border-border/50 bg-muted px-4 py-2.5 text-left text-sm text-muted-foreground transition-colors cursor-pointer hover:bg-accent hover:text-accent-foreground"+ className="sticky top-0 z-20 flex w-full items-center gap-2.5 border-b border-border/50 bg-muted px-4 py-2.5 text-left text-body text-muted-foreground transition-colors cursor-pointer hover:bg-accent hover:text-accent-foreground"aria-label={t(($) => $.comment.resolve.collapse)}><ListChevronsDownUp className="h-3.5 w-3.5" />@@ -863,13 +863,13 @@ function CommentCardImpl({<ChevronRight className={cn("h-3.5 w-3.5 transition-transform", open && "rotate-90")} /></button><ActorAvatar actorType={entry.actor_type} actorId={entry.actor_id} size="md" enableHoverCard showStatusDot />- <span className="shrink-0 cursor-pointer text-sm font-medium">+ <span className="shrink-0 cursor-pointer text-body font-medium">{getActorName(entry.actor_type, entry.actor_id)}</span><Tooltip><TooltipTriggerrender={- <span className="shrink-0 text-xs text-muted-foreground cursor-default">+ <span className="shrink-0 text-caption text-muted-foreground cursor-default">{timeAgo(entry.created_at)}</span>}@@ -880,12 +880,12 @@ function CommentCardImpl({</Tooltip>{!open && contentPreview && (- <span className="min-w-0 flex-1 truncate text-xs text-muted-foreground">+ <span className="min-w-0 flex-1 truncate text-caption text-muted-foreground">{contentPreview}</span>)}{!open && replyCount > 0 && (- <span className="shrink-0 text-xs text-muted-foreground">+ <span className="shrink-0 text-caption text-muted-foreground">{t(($) => $.comment.reply_count, { count: replyCount })}</span>)}@@ -969,7 +969,7 @@ function CommentCardImpl({className="relative pl-10"onKeyDown={(e) => { if (e.key === "Escape") edit.cancelEdit(); }}>- <div className="text-sm leading-relaxed">+ <div className="text-body leading-relaxed"><ContentEditorref={edit.editorRef}defaultValue={edit.initialValue}@@ -1034,7 +1034,7 @@ function CommentCardImpl({</div>) : (<>- <div className="pl-10 text-sm leading-relaxed text-foreground/85">+ <div className="pl-10 text-body leading-relaxed text-foreground/85"><ReadonlyContent content={entry.content ?? ""} attachments={entry.attachments} /></div><AttachmentList attachments={entry.attachments} content={entry.content} className="mt-1.5 pl-10" />@@ -1104,7 +1104,7 @@ function CommentCardImpl({<buttontype="button"onClick={() => onResolvedExpandChange(entry.id, false)}- className="sticky top-0 z-20 flex w-full items-center gap-2.5 border-t border-border/50 bg-muted px-4 py-2.5 text-left text-sm text-muted-foreground transition-colors cursor-pointer hover:bg-accent hover:text-accent-foreground"+ className="sticky top-0 z-20 flex w-full items-center gap-2.5 border-t border-border/50 bg-muted px-4 py-2.5 text-left text-body text-muted-foreground transition-colors cursor-pointer hover:bg-accent hover:text-accent-foreground"aria-label={t(($) => $.comment.resolve.collapse)}><ListChevronsDownUp className="h-3.5 w-3.5" />diff --git a/packages/views/issues/components/comment-input.tsx b/packages/views/issues/components/comment-input.tsxindex 021b6d9ddf..62ead0cbfa 100644--- a/packages/views/issues/components/comment-input.tsx+++ b/packages/views/issues/components/comment-input.tsx@@ -249,7 +249,7 @@ function CommentInput({ issueId, onSubmit }: CommentInputProps) {{/* rich-text-editor + <p>: the shell line inherits the editor'sexact type metrics (line-height 1.625 from prose.css), so theshell→editor swap doesn't shift layout. */}- <div className="rich-text-editor text-sm">+ <div className="rich-text-editor text-body"><p className="text-muted-foreground">{t(($) => $.comment.leave_comment_placeholder)}</p></div></div>diff --git a/packages/views/issues/components/comment-trigger-chips.tsx b/packages/views/issues/components/comment-trigger-chips.tsxindex e5c2f924ed..c0a177c0f8 100644--- a/packages/views/issues/components/comment-trigger-chips.tsx+++ b/packages/views/issues/components/comment-trigger-chips.tsx@@ -104,7 +104,7 @@ function TriggerAgentTooltipBody({<div className="space-y-0.5"><div className="flex items-baseline gap-1.5"><span className="font-medium">{agent.name}</span>- <span className="text-[10px] text-muted-foreground">{sourceLabel(agent.source, t)}</span>+ <span className="text-micro text-muted-foreground">{sourceLabel(agent.source, t)}</span></div>{suppressed ? (<div>{t(($) => $.comment.trigger_click_to_restore)}</div>@@ -191,7 +191,7 @@ function BlockedTriggerChip({<TooltipTriggerrender={<span- className="inline-flex h-6 min-w-0 max-w-full animate-in fade-in items-center gap-1.5 rounded-md px-1.5 text-[11px] font-medium text-destructive"+ className="inline-flex h-6 min-w-0 max-w-full animate-in fade-in items-center gap-1.5 rounded-md px-1.5 text-micro font-medium text-destructive"aria-label={label? t(($) => $.comment.trigger_blocked_chip_aria, { name: label, reason: shortReason })@@ -211,7 +211,7 @@ function BlockedTriggerChip({</span>}/>- <TooltipContent side="top" className="max-w-72 text-xs">+ <TooltipContent side="top" className="max-w-72 text-caption">{blockedReasonLabel(outcome.reason_code, t)}</TooltipContent></Tooltip>@@ -250,7 +250,7 @@ function SingleTriggerChip({className={cn(// Sidebar-style resting state: muted until hover so the strip// reads as metadata, not content (see app-sidebar nav items).- "inline-flex h-6 min-w-0 max-w-full animate-in fade-in cursor-pointer items-center gap-1.5 rounded-md px-1.5 text-[11px] font-medium text-muted-foreground transition-colors duration-200 hover:bg-muted hover:text-foreground",+ "inline-flex h-6 min-w-0 max-w-full animate-in fade-in cursor-pointer items-center gap-1.5 rounded-md px-1.5 text-micro font-medium text-muted-foreground transition-colors duration-200 hover:bg-muted hover:text-foreground",suppressed && "opacity-60",)}>@@ -259,7 +259,7 @@ function SingleTriggerChip({</button>}/>- <TooltipContent side="top" className="max-w-72 text-xs">+ <TooltipContent side="top" className="max-w-72 text-caption"><TriggerAgentTooltipBody agent={agent} suppressed={suppressed} t={t} /></TooltipContent></Tooltip>@@ -301,7 +301,7 @@ function MultiTriggerChip({<buttontype="button"className={cn(- "inline-flex h-6 min-w-0 max-w-full animate-in fade-in cursor-pointer items-center gap-1.5 rounded-md px-1.5 text-[11px] font-medium text-muted-foreground transition-colors duration-200 hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",+ "inline-flex h-6 min-w-0 max-w-full animate-in fade-in cursor-pointer items-center gap-1.5 rounded-md px-1.5 text-micro font-medium text-muted-foreground transition-colors duration-200 hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",activeCount === 0 && "opacity-60",)}/>@@ -343,12 +343,12 @@ function MultiTriggerChip({<Popover open={open} onOpenChange={setOpen}><Tooltip open={tooltipHover && !open} onOpenChange={setTooltipHover}><TooltipTrigger render={popoverTrigger} />- <TooltipContent side="top" className="text-xs">+ <TooltipContent side="top" className="text-caption">{t(($) => $.comment.trigger_click_to_manage)}</TooltipContent></Tooltip><PopoverContent align="start" className="w-64 p-2">- <div className="px-1.5 pb-1 text-xs font-medium text-muted-foreground">+ <div className="px-1.5 pb-1 text-caption font-medium text-muted-foreground">{t(($) => $.comment.trigger_preview_title)}</div><div className="flex flex-col">@@ -374,17 +374,17 @@ function MultiTriggerChip({<TriggerAgentAvatar agent={agent} suppressed={suppressed} /><spanclassName={cn(- "min-w-0 flex-1 truncate text-xs",+ "min-w-0 flex-1 truncate text-caption",suppressed && "text-muted-foreground",)}>{agent.name}</span>- <span className="shrink-0 text-[10px] text-muted-foreground">{state}</span>+ <span className="shrink-0 text-micro text-muted-foreground">{state}</span></button>}/>- <TooltipContent side="right" className="max-w-72 text-xs">+ <TooltipContent side="right" className="max-w-72 text-caption"><TriggerAgentTooltipBody agent={agent} suppressed={suppressed} t={t} /></TooltipContent></Tooltip>diff --git a/packages/views/issues/components/execution-log-section.tsx b/packages/views/issues/components/execution-log-section.tsxindex 1a62acbf7a..7c741891c7 100644--- a/packages/views/issues/components/execution-log-section.tsx+++ b/packages/views/issues/components/execution-log-section.tsx@@ -114,7 +114,7 @@ export function ExecutionLogSection({ issueId }: ExecutionLogSectionProps) {<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${open ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setOpen(!open)}@@ -146,7 +146,7 @@ export function ExecutionLogSection({ issueId }: ExecutionLogSectionProps) {<buttontype="button"onClick={() => setShowPast(!showPast)}- className="flex w-full items-center gap-1 rounded px-1 py-1 text-xs text-muted-foreground transition-colors hover:bg-accent/40 hover:text-foreground"+ className="flex w-full items-center gap-1 rounded px-1 py-1 text-caption text-muted-foreground transition-colors hover:bg-accent/40 hover:text-foreground"><ChevronRightclassName={`!size-3 shrink-0 stroke-[2.5] transition-transform ${@@ -468,7 +468,7 @@ function RowShell({}function TriggerText({ text }: { text: string }) {- return <span className="min-w-0 flex-1 truncate text-xs text-muted-foreground">{text}</span>;+ return <span className="min-w-0 flex-1 truncate text-caption text-muted-foreground">{text}</span>;}function supportsCommentCoverage(status: AgentTask["status"]): boolean {@@ -508,7 +508,7 @@ export function TaskCommentCoverage({ task }: { task: AgentTask }) {if (commentIds.size <= 1) return null;return (- <span className="shrink-0 whitespace-nowrap text-[11px] text-muted-foreground">+ <span className="shrink-0 whitespace-nowrap text-micro text-muted-foreground">{t(($) => $.execution_log.included_comments, { count: commentIds.size })}</span>);@@ -524,7 +524,7 @@ function RowStatus({return (<divtitle={title}- className="flex h-7 shrink-0 items-center justify-end gap-1 overflow-hidden whitespace-nowrap text-xs [@media(hover:hover)]:group-hover/execution-log-row:hidden"+ className="flex h-7 shrink-0 items-center justify-end gap-1 overflow-hidden whitespace-nowrap text-caption [@media(hover:hover)]:group-hover/execution-log-row:hidden">{children}</div>diff --git a/packages/views/issues/components/find-bar.tsx b/packages/views/issues/components/find-bar.tsxindex b6f6e48716..2c218ea00e 100644--- a/packages/views/issues/components/find-bar.tsx+++ b/packages/views/issues/components/find-bar.tsx@@ -74,7 +74,7 @@ export function FindBar({aria-label={t(($) => $.detail.find.placeholder)}className="h-7 w-44 border-0 bg-transparent px-1 shadow-none focus-visible:ring-0"/>- <span className="min-w-[3.5rem] shrink-0 whitespace-nowrap text-right text-xs tabular-nums text-muted-foreground">+ <span className="min-w-[3.5rem] shrink-0 whitespace-nowrap text-right text-caption tabular-nums text-muted-foreground">{countLabel}</span><div className="flex items-center">diff --git a/packages/views/issues/components/gantt-view.tsx b/packages/views/issues/components/gantt-view.tsxindex 220d8a8756..7a18f25e5c 100644--- a/packages/views/issues/components/gantt-view.tsx+++ b/packages/views/issues/components/gantt-view.tsx@@ -160,7 +160,7 @@ function GanttAxis({{monthBlocks.map((b, i) => (<divkey={i}- className="absolute top-0 bottom-0 flex items-center px-2 text-xs font-medium text-foreground/80"+ className="absolute top-0 bottom-0 flex items-center px-2 text-caption font-medium text-foreground/80"style={{ left: b.left, width: b.width }}>{b.width > 40 && <span className="truncate">{b.label}</span>}@@ -181,7 +181,7 @@ function GanttAxis({<divkey={i}className={cn(- "absolute top-0 bottom-0 flex items-center justify-center text-[10px] text-muted-foreground border-l",+ "absolute top-0 bottom-0 flex items-center justify-center text-micro text-muted-foreground border-l",isMonth? "border-foreground/15": isWeek@@ -195,7 +195,7 @@ function GanttAxis({{zoom === "day" && (<><span className="tabular-nums">{date.getUTCDate()}</span>- <span className="text-[9px] opacity-70">+ <span className="text-micro opacity-70">{date.toLocaleDateString(locale, {weekday: "short",timeZone: "UTC",@@ -367,12 +367,12 @@ function ScheduledRow({{/* Sticky label cell */}<AppLinkhref={p.issueDetail(issue.id)}- className="sticky left-0 z-[1] flex shrink-0 items-center gap-2 border-r bg-background px-3 text-sm min-w-0"+ className="sticky left-0 z-[1] flex shrink-0 items-center gap-2 border-r bg-background px-3 text-body min-w-0"style={{ width: LEFT_COL_WIDTH }}><StatusIcon status={issue.status} className="h-3.5 w-3.5" /><PriorityIcon priority={issue.priority} />- <span className="w-14 shrink-0 text-xs text-muted-foreground tabular-nums truncate">+ <span className="w-14 shrink-0 text-caption text-muted-foreground tabular-nums truncate">{issue.identifier}</span><span className="truncate flex-1">{issue.title}</span>@@ -408,7 +408,7 @@ function ScheduledRow({style={{ left: bar.left, width: bar.width }}>{!bar.isMarker && bar.width > 60 && (- <span className="block truncate px-2 py-[2px] text-[11px] leading-4 text-white/95">+ <span className="block truncate px-2 py-[2px] text-micro leading-4 text-white/95">{issue.title}</span>)}@@ -416,7 +416,7 @@ function ScheduledRow({}/><TooltipContent side="top">- <div className="flex flex-col gap-0.5 text-xs">+ <div className="flex flex-col gap-0.5 text-caption"><span className="font-medium">{issue.title}</span><span className="text-muted-foreground">{start ? fmt(start) : "—"} → {due ? fmt(due) : "—"}@@ -482,7 +482,7 @@ export function GanttView({ issues }: { issues: Issue[] }) {if (scheduled.length === 0) {return (- <div className="flex-1 min-h-0 flex items-center justify-center text-sm text-muted-foreground">+ <div className="flex-1 min-h-0 flex items-center justify-center text-body text-muted-foreground">{t(($) => $.gantt.empty)}</div>);@@ -503,7 +503,7 @@ export function GanttView({ issues }: { issues: Issue[] }) {size="sm"variant={zoom === opt.value ? "secondary" : "ghost"}className={cn(- "h-6 px-2 text-xs",+ "h-6 px-2 text-caption",zoom !== opt.value && "text-muted-foreground",)}onClick={() => act.setGanttZoom(opt.value)}@@ -517,7 +517,7 @@ export function GanttView({ issues }: { issues: Issue[] }) {size="sm"variant={showCompleted ? "secondary" : "outline"}className={cn(- "h-7 text-xs",+ "h-7 text-caption",!showCompleted && "text-muted-foreground",)}onClick={act.toggleGanttShowCompleted}@@ -535,7 +535,7 @@ export function GanttView({ issues }: { issues: Issue[] }) {className="sticky left-0 z-30 shrink-0 border-b border-r bg-background"style={{ width: LEFT_COL_WIDTH, height: HEADER_HEIGHT }}>- <div className="flex h-full items-end px-3 pb-1.5 text-[11px] font-medium text-muted-foreground">+ <div className="flex h-full items-end px-3 pb-1.5 text-micro font-medium text-muted-foreground">{t(($) => $.gantt.header_issue)}</div></div>diff --git a/packages/views/issues/components/hidden-columns-panel.tsx b/packages/views/issues/components/hidden-columns-panel.tsxindex 0352e42367..e049147758 100644--- a/packages/views/issues/components/hidden-columns-panel.tsx+++ b/packages/views/issues/components/hidden-columns-panel.tsx@@ -34,7 +34,7 @@ export function HiddenColumnsPanel({return (<div className="flex w-[240px] shrink-0 flex-col"><div className="mb-2 flex items-center gap-2 px-1">- <span className="text-sm font-medium text-muted-foreground">+ <span className="text-body font-medium text-muted-foreground">{t(($) => $.board.hidden_columns_label)}</span></div>@@ -62,10 +62,10 @@ export function HiddenColumnRow({<div className="flex items-center justify-between rounded-lg px-2.5 py-2 hover:bg-muted/50"><div className="flex items-center gap-2"><StatusIcon status={status} className="h-3.5 w-3.5" />- <span className="text-sm">{t(($) => $.status[status])}</span>+ <span className="text-body">{t(($) => $.status[status])}</span></div><div className="flex items-center gap-1.5">- <span className="text-xs text-muted-foreground">{total}</span>+ <span className="text-caption text-muted-foreground">{total}</span><DropdownMenu><DropdownMenuTriggerrender={diff --git a/packages/views/issues/components/infinite-scroll-sentinel.tsx b/packages/views/issues/components/infinite-scroll-sentinel.tsxindex d233e182f5..d30a63422d 100644--- a/packages/views/issues/components/infinite-scroll-sentinel.tsx+++ b/packages/views/issues/components/infinite-scroll-sentinel.tsx@@ -42,7 +42,7 @@ export function InfiniteScrollSentinel({<><Loader2 className="size-3 animate-spin text-muted-foreground" />{label && (- <span className="text-xs text-muted-foreground">{label}</span>+ <span className="text-caption text-muted-foreground">{label}</span>)}</>)}diff --git a/packages/views/issues/components/issue-agent-activity-indicator.tsx b/packages/views/issues/components/issue-agent-activity-indicator.tsxindex 7ad7afbb75..b53af6bde1 100644--- a/packages/views/issues/components/issue-agent-activity-indicator.tsx+++ b/packages/views/issues/components/issue-agent-activity-indicator.tsx@@ -127,7 +127,7 @@ export const IssueAgentActivityIndicator = memo(function IssueAgentActivityIndic/><spanclassName={cn(- "text-[10px] leading-none",+ "text-micro leading-none",isRunning? "animate-chat-text-shimmer": "text-muted-foreground",diff --git a/packages/views/issues/components/issue-agent-header-chip.tsx b/packages/views/issues/components/issue-agent-header-chip.tsxindex 11d88b9fc6..6e06668bd6 100644--- a/packages/views/issues/components/issue-agent-header-chip.tsx+++ b/packages/views/issues/components/issue-agent-header-chip.tsx@@ -150,13 +150,13 @@ function ActiveChip({ issueId, running, queued }: ActiveChipProps) {opacity={anyRunning ? "full" : "half"}/><span- className={`min-w-0 truncate text-xs ${anyRunning ? "text-info" : "text-muted-foreground"}`}+ className={`min-w-0 truncate text-caption ${anyRunning ? "text-info" : "text-muted-foreground"}`}>{label}</span></PopoverTrigger><PopoverContent align="end" keepMounted className="w-80">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) =>anyRunningdiff --git a/packages/views/issues/components/issue-chip.tsx b/packages/views/issues/components/issue-chip.tsxindex 00bb75abc1..c0a2ed54dc 100644--- a/packages/views/issues/components/issue-chip.tsx+++ b/packages/views/issues/components/issue-chip.tsx@@ -22,7 +22,7 @@ import { StatusIcon } from "./status-icon";* dismiss button in chat's context anchor card, …).** Size budget: must fit within a 14px line-box when used inline — hence- * `py-0.5` + text-xs (see MentionView docstring for the math).+ * `py-0.5` + text-caption (see MentionView docstring for the math).*/export interface IssueChipProps {issueId: string;@@ -34,7 +34,7 @@ export interface IssueChipProps {}const BASE_CLASS =- "issue-mention inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-md border mx-0.5 px-2 py-0.5 text-xs";+ "issue-mention inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-md border mx-0.5 px-2 py-0.5 text-caption";export function IssueChip({ issueId, fallbackLabel, className }: IssueChipProps) {const wsId = useWorkspaceId();diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsxindex 0325de883f..5f186814b8 100644--- a/packages/views/issues/components/issue-detail.tsx+++ b/packages/views/issues/components/issue-detail.tsx@@ -487,7 +487,7 @@ function ActivityBlock({<buttontype="button"onClick={onToggle}- className="flex items-center gap-1.5 text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-caption text-muted-foreground transition-colors hover:text-foreground"><ChevronRight className="h-3 w-3 shrink-0" /><span>{t(($) => $.activity.activity_count, { count })}</span>@@ -514,7 +514,7 @@ function ActivityBlock({<buttontype="button"onClick={onToggle}- className="flex items-center gap-1.5 text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-caption text-muted-foreground transition-colors hover:text-foreground"><ChevronDown className="h-3 w-3 shrink-0" /><span>{t(($) => $.activity.activity_count, { count: entries.length })}</span>@@ -524,7 +524,7 @@ function ActivityBlock({<buttontype="button"onClick={onToggleShowOlder}- className="flex items-center gap-1.5 text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-caption text-muted-foreground transition-colors hover:text-foreground"><ChevronRight className="h-3 w-3 shrink-0" /><span>{t(($) => $.activity.show_more_activities, { count: hiddenOlderCount })}</span>@@ -551,7 +551,7 @@ function ActivityBlock({}return (- <div key={entry.id} className="flex items-center text-xs text-muted-foreground">+ <div key={entry.id} className="flex items-center text-caption text-muted-foreground"><div className="mr-2 flex w-4 shrink-0 justify-center">{leadIcon}</div>@@ -561,7 +561,7 @@ function ActivityBlock({{(entry.coalesced_count ?? 1) > 1 &&entry.action !== "task_completed" &&entry.action !== "task_failed" && (- <span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs font-medium tabular-nums text-muted-foreground">+ <span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-caption font-medium tabular-nums text-muted-foreground">{t(($) => $.activity.coalesced_badge, { count: entry.coalesced_count ?? 1 })}</span>)}@@ -687,14 +687,14 @@ function SubIssueRow({href={paths.issueDetail(child.id)}className="flex min-w-0 flex-1 items-center gap-2.5">- <span className="text-[11px] text-muted-foreground tabular-nums font-medium shrink-0">+ <span className="text-micro text-muted-foreground tabular-nums font-medium shrink-0">{child.identifier}</span><IssueAgentActivityIndicator issueId={child.id} /><span className="flex min-w-0 flex-1 items-center gap-1.5"><spanclassName={cn(- "text-sm truncate",+ "text-body truncate",isDone? "text-muted-foreground": "group-hover/row:text-foreground",@@ -708,7 +708,7 @@ function SubIssueRow({<LabelChip key={label.id} label={label} />))}{labels.length > 2 && (- <span className="text-[11px] text-muted-foreground">+ <span className="text-micro text-muted-foreground">+{labels.length - 2}</span>)}@@ -719,9 +719,9 @@ function SubIssueRow({{customPropsWithValue.slice(0, 3).map((property) => (<spankey={property.id}- className="inline-flex max-w-[120px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-[11px] text-muted-foreground"+ className="inline-flex max-w-[120px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-micro text-muted-foreground">- <PropertyIcon property={property} className="size-3 text-[11px]" />+ <PropertyIcon property={property} className="size-3 text-micro" /><CustomPropertyValueDisplayproperty={property}value={child.properties?.[property.id]}@@ -737,7 +737,7 @@ function SubIssueRow({total={childProgress.total}size={11}/>- <span className="text-[11px] text-muted-foreground tabular-nums font-medium">+ <span className="text-micro text-muted-foreground tabular-nums font-medium">{childProgress.done}/{childProgress.total}</span></span>@@ -752,7 +752,7 @@ function SubIssueRow({trigger={<spanclassName={cn(- "flex shrink-0 items-center gap-1 text-xs tabular-nums",+ "flex shrink-0 items-center gap-1 text-caption tabular-nums",!isDone && isPastDateOnly(child.due_date)? "text-destructive": "text-muted-foreground",@@ -848,7 +848,7 @@ function SubIssueDisplayPopover({key={key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">+ <span className="text-body">{t(($) => $.display[SUB_ISSUE_ROW_PROPERTY_LABEL_KEY[key]])}</span><Switch@@ -863,8 +863,8 @@ function SubIssueDisplayPopover({key={property.id}className="flex cursor-pointer items-center justify-between gap-3">- <span className="flex min-w-0 items-center gap-1.5 truncate text-sm">- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <span className="flex min-w-0 items-center gap-1.5 truncate text-body">+ <PropertyIcon property={property} className="size-3.5 text-caption" /><span className="truncate">{property.name}</span></span><Switch@@ -1751,7 +1751,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trif (!issue) {return (- <div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-3 text-sm text-muted-foreground">+ <div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-3 text-body text-muted-foreground"><p>{t(($) => $.detail.not_found)}</p>{!onDelete && (<Button variant="outline" size="sm" onClick={() => backOrReplace(paths.issues())}>@@ -1769,7 +1769,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${propertiesOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${propertiesOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setPropertiesOpen(!propertiesOpen)}>{t(($) => $.detail.section_properties)}@@ -1857,7 +1857,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trkey={p.id}label={<>- <PropertyIcon property={p} className="size-3.5 text-xs" />+ <PropertyIcon property={p} className="size-3.5 text-caption" /><span className="truncate">{p.name}</span></>}@@ -1879,13 +1879,13 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div className="col-span-2 mt-1"><Popover open={addPropPopoverOpen} onOpenChange={setAddPropPopoverOpen}><PopoverTrigger- className="flex items-center gap-1.5 rounded-md px-2 py-1 -mx-2 text-xs text-muted-foreground hover:bg-accent/50 hover:text-foreground transition-colors"+ className="flex items-center gap-1.5 rounded-md px-2 py-1 -mx-2 text-caption text-muted-foreground hover:bg-accent/50 hover:text-foreground transition-colors"><Plus className="h-3 w-3 shrink-0" /><span>{t(($) => $.detail.add_property_action)}</span></PopoverTrigger>{/* Item visuals mirror the inspector rows' typography- (text-xs, muted icons) and each option leads with the+ (text-caption, muted icons) and each option leads with theicon the resulting picker uses, so the dropdown readsas a preview of what will show up below. */}<PopoverContent align="start" className="w-44 p-1">@@ -1894,7 +1894,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trkey={k}type="button"onClick={() => addOptionalProp(k)}- className="flex w-full items-center gap-2 rounded-md px-2 py-1 text-xs text-foreground/90 transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1 text-caption text-foreground/90 transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none">{k === "priority" && (<PriorityIcon priority="medium" inheritColor className="text-muted-foreground" />@@ -1936,10 +1936,10 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trkey={p.id}type="button"onClick={() => addCustomProp(p.id)}- className="flex w-full items-center gap-2 rounded-md px-2 py-1 text-xs text-foreground/90 transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1 text-caption text-foreground/90 transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none">{p.icon ? (- <PropertyIcon property={p} className="size-3.5 text-xs" />+ <PropertyIcon property={p} className="size-3.5 text-caption" />) : (<SlidersHorizontal className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />)}@@ -1964,7 +1964,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${parentIssueOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${parentIssueOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setParentIssueOpen(!parentIssueOpen)}>{t(($) => $.detail.section_parent_issue)}@@ -1974,7 +1974,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div className="flex items-center gap-0.5 rounded-md px-2 -mx-2 hover:bg-accent/50 transition-colors group"><AppLinkhref={paths.issueDetail(parentIssue.id)}- className="flex flex-1 min-w-0 items-center gap-1.5 py-1.5 text-xs"+ className="flex flex-1 min-w-0 items-center gap-1.5 py-1.5 text-caption"><StatusIcon status={parentIssue.status} className="h-3.5 w-3.5 shrink-0" /><span className="text-muted-foreground shrink-0">{parentIssue.identifier}</span>@@ -2001,7 +2001,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${pullRequestsOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${pullRequestsOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setPullRequestsOpen(!pullRequestsOpen)}>{t(($) => $.detail.section_pull_requests)}@@ -2015,7 +2015,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${detailsOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${detailsOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setDetailsOpen(!detailsOpen)}>{t(($) => $.detail.section_details)}@@ -2045,7 +2045,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${tokenUsageOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${tokenUsageOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setTokenUsageOpen(!tokenUsageOpen)}>{t(($) => $.detail.section_token_usage)}@@ -2085,7 +2085,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<><buttontype="button"- className="flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium text-muted-foreground transition-colors hover:bg-accent/70 hover:text-foreground"+ className="flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium text-muted-foreground transition-colors hover:bg-accent/70 hover:text-foreground"onClick={() => setMetadataOpen(true)}>{t(($) => $.detail.section_metadata)}@@ -2098,7 +2098,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<DialogHeader><DialogTitle>{t(($) => $.detail.section_metadata)}</DialogTitle></DialogHeader>- <pre className="max-h-[60vh] overflow-auto rounded-md bg-muted p-3 font-mono text-xs">+ <pre className="max-h-[60vh] overflow-auto rounded-md bg-muted p-3 font-mono text-caption">{JSON.stringify(issue.metadata ?? {}, null, 2)}</pre></DialogContent>@@ -2327,7 +2327,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trref={titleEditorRef}defaultValue={issue.title}placeholder={t(($) => $.detail.title_placeholder)}- className="w-full text-2xl font-bold leading-snug tracking-tight"+ className="w-full text-display-sm font-bold leading-snug tracking-tight"onReady={titleLazy.onReady}onBlur={(value) => {const trimmed = value.trim();@@ -2340,7 +2340,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<divrole="button"tabIndex={0}- className="w-full cursor-text text-2xl font-bold leading-snug tracking-tight"+ className="w-full cursor-text text-display-sm font-bold leading-snug tracking-tight"onClick={(e) => {// A drag-selection (copying the title) must not summon the editor.const sel = window.getSelection();@@ -2361,7 +2361,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr{parentIssue && (<AppLinkhref={paths.issueDetail(parentIssue.id)}- className="mt-2 inline-flex max-w-full items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors group/parent"+ className="mt-2 inline-flex max-w-full items-center gap-1.5 text-caption text-muted-foreground hover:text-foreground transition-colors group/parent"><span className="font-medium shrink-0">{t(($) => $.detail.sub_issue_of)}</span><StatusIcon status={parentIssue.status} className="h-3.5 w-3.5 shrink-0" />@@ -2374,7 +2374,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = trreturn (<span className="ml-1 inline-flex items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 shrink-0"><ProgressRing done={done} total={parentChildIssues.length} size={11} />- <span className="tabular-nums text-[10.5px] font-medium">+ <span className="tabular-nums text-micro font-medium">{done}/{parentChildIssues.length}</span></span>@@ -2443,7 +2443,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div className="mt-6"><buttontype="button"- className="inline-flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors"+ className="inline-flex items-center gap-1.5 text-caption text-muted-foreground hover:text-foreground transition-colors"onClick={() => actions.openCreateSubIssue()}><Plus className="h-3.5 w-3.5" />@@ -2463,7 +2463,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<buttontype="button"onClick={() => setSubIssuesCollapsed((v) => !v)}- className="flex items-center gap-1.5 text-sm font-medium text-foreground hover:text-foreground/80 transition-colors"+ className="flex items-center gap-1.5 text-body font-medium text-foreground hover:text-foreground/80 transition-colors"><ChevronDownclassName={cn(@@ -2475,7 +2475,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr</button><div className="inline-flex items-center gap-1.5 rounded-full bg-muted/60 px-2 py-0.5"><ProgressRing done={doneCount} total={childIssues.length} size={11} />- <span className="text-[11px] text-muted-foreground tabular-nums font-medium">+ <span className="text-micro text-muted-foreground tabular-nums font-medium">{doneCount}/{childIssues.length}</span></div>@@ -2530,7 +2530,7 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr{groups.map(({ stage: groupStage, items }) => (<Fragment key={groupStage ?? "unstaged"}>{staged && (- <div className="bg-muted/40 px-3 py-1 text-[11px] font-medium uppercase tracking-wider text-muted-foreground">+ <div className="bg-muted/40 px-3 py-1 text-micro font-medium uppercase tracking-wider text-muted-foreground">{groupStage == null? t(($) => $.stage.none): t(($) => $.stage.value, { n: groupStage })}@@ -2561,13 +2561,13 @@ export function IssueDetail({ issueId, onDelete, onDone, defaultSidebarOpen = tr<div><div className="flex items-center justify-between"><div className="flex items-center gap-3">- <h2 className="text-base font-semibold">{t(($) => $.detail.activity_section)}</h2>+ <h2 className="text-title-sm font-semibold">{t(($) => $.detail.activity_section)}</h2></div><div className="flex items-center gap-2"><buttontype="button"onClick={handleToggleSubscribe}- className="text-xs text-muted-foreground hover:text-foreground transition-colors"+ className="text-caption text-muted-foreground hover:text-foreground transition-colors">{isSubscribed ? t(($) => $.detail.unsubscribe) : t(($) => $.detail.subscribe)}</button>diff --git a/packages/views/issues/components/issues-header.tsx b/packages/views/issues/components/issues-header.tsxindex b35c7fe4d4..d844e6d2be 100644--- a/packages/views/issues/components/issues-header.tsx+++ b/packages/views/issues/components/issues-header.tsx@@ -310,7 +310,7 @@ function ActorSubContent({value={search}onChange={(e) => setSearch(e.target.value)}placeholder={t(($) => $.filters.placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"autoFocus/></div>@@ -327,7 +327,7 @@ function ActorSubContent({<UserMinus className="size-3.5 text-muted-foreground" />{t(($) => $.filters.no_assignee)}{(noAssigneeCount ?? 0) > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{noAssigneeCount}</span>)}@@ -353,7 +353,7 @@ function ActorSubContent({<ActorAvatar actorType="member" actorId={m.user_id} size="sm" /><span className="truncate">{m.name}</span>{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -382,7 +382,7 @@ function ActorSubContent({<ActorAvatar actorType="agent" actorId={a.id} size="sm" showStatusDot /><span className="truncate">{a.name}</span>{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -411,7 +411,7 @@ function ActorSubContent({<ActorAvatar actorType="squad" actorId={s.id} size="sm" /><span className="truncate">{s.name}</span>{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -422,7 +422,7 @@ function ActorSubContent({)}{filteredMembers.length === 0 && filteredAgents.length === 0 && (!showSquads || filteredSquads.length === 0) && search && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.filters.no_results)}</div>)}@@ -467,7 +467,7 @@ function ProjectSubContent({value={search}onChange={(e) => setSearch(e.target.value)}placeholder={t(($) => $.filters.placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"autoFocus/></div>@@ -483,7 +483,7 @@ function ProjectSubContent({<FolderMinus className="size-3.5 text-muted-foreground" />{t(($) => $.filters.no_project)}{noProjectCount > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{noProjectCount}</span>)}@@ -504,7 +504,7 @@ function ProjectSubContent({<ProjectIcon project={p} size="sm" /><span className="truncate">{p.title}</span>{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -513,7 +513,7 @@ function ProjectSubContent({})}{filtered.length === 0 && search && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.filters.no_results)}</div>)}@@ -550,7 +550,7 @@ function LabelSubContent({value={search}onChange={(e) => setSearch(e.target.value)}placeholder={t(($) => $.filters.placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"autoFocus/></div>@@ -569,7 +569,7 @@ function LabelSubContent({<HoverCheck checked={checked} /><LabelChip label={l} />{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -578,7 +578,7 @@ function LabelSubContent({})}{filtered.length === 0 && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{search ? t(($) => $.filters.no_results) : t(($) => $.filters.no_labels)}</div>)}@@ -637,7 +637,7 @@ function PropertyFilterOptions({)}<span className="truncate">{option.name}</span>{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{count}</span>)}@@ -722,7 +722,7 @@ function DateSubContent({<Buttonvariant="ghost"size="sm"- className="h-7 w-full justify-start px-0 text-sm font-normal"+ className="h-7 w-full justify-start px-0 text-body font-normal">{t(($) => $.filters.date_custom_range)}</Button>@@ -890,7 +890,7 @@ export function IssuesHeader({<div className="flex shrink-0 items-center gap-1">{agentRunningFilter && (- <span className="mr-1 hidden text-xs text-muted-foreground md:inline">+ <span className="mr-1 hidden text-caption text-muted-foreground md:inline">{t(($) => $.agent_activity.filter_active_label)}</span>)}@@ -1138,7 +1138,7 @@ export function IssueDisplayControls({<CircleDot className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_status)}</span>{statusFilters.length > 0 && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{statusFilters.length}</span>)}@@ -1158,7 +1158,7 @@ export function IssueDisplayControls({<StatusIcon status={s} className="h-3.5 w-3.5" />{t(($) => $.status[s])}{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{t(($) => $.filters.issue_count, { count })}</span>)}@@ -1178,7 +1178,7 @@ export function IssueDisplayControls({<SignalHigh className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_priority)}</span>{priorityFilters.length > 0 && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{priorityFilters.length}</span>)}@@ -1198,7 +1198,7 @@ export function IssueDisplayControls({<PriorityIcon priority={p} />{t(($) => $.priority[p])}{count > 0 && (- <span className="ml-auto text-xs text-muted-foreground">+ <span className="ml-auto text-caption text-muted-foreground">{t(($) => $.filters.issue_count, { count })}</span>)}@@ -1214,7 +1214,7 @@ export function IssueDisplayControls({<CalendarDays className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_date)}</span>{dateFilterLabel && (- <span className="max-w-36 truncate text-xs text-primary font-medium">+ <span className="max-w-36 truncate text-caption text-primary font-medium">{dateFilterLabel}</span>)}@@ -1238,7 +1238,7 @@ export function IssueDisplayControls({<User className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_assignee)}</span>{(assigneeFilters.length > 0 || includeNoAssignee) && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{assigneeFilters.length + (includeNoAssignee ? 1 : 0)}</span>)}@@ -1266,7 +1266,7 @@ export function IssueDisplayControls({<UserPen className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_creator)}</span>{creatorFilters.length > 0 && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{creatorFilters.length}</span>)}@@ -1291,7 +1291,7 @@ export function IssueDisplayControls({<FolderKanban className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_project)}</span>{(projectFilters.length > 0 || includeNoProject) && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{projectFilters.length + (includeNoProject ? 1 : 0)}</span>)}@@ -1318,7 +1318,7 @@ export function IssueDisplayControls({<Tag className="size-3.5" /><span className="flex-1">{t(($) => $.filters.section_label)}</span>{labelFilters.length > 0 && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{labelFilters.length}</span>)}@@ -1349,13 +1349,13 @@ export function IssueDisplayControls({><DropdownMenuSubTrigger>{property.icon ? (- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <PropertyIcon property={property} className="size-3.5 text-caption" />) : (<SlidersHorizontal className="size-3.5" />)}<span className="flex-1 truncate">{property.name}</span>{selected.length > 0 && (- <span className="text-xs text-primary font-medium">+ <span className="text-caption text-primary font-medium">{selected.length}</span>)}@@ -1462,7 +1462,7 @@ export function IssueDisplayControls({><PropertyIconproperty={property}- className="size-3.5 text-xs"+ className="size-3.5 text-caption"/><span>{property.name}</span></DropdownMenuRadioItem>@@ -1511,7 +1511,7 @@ export function IssueDisplayControls({<PopoverContent align="end" className="w-64 p-0">{viewMode === "board" && (<div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.display.grouping_section)}</span><div className="mt-2">@@ -1521,7 +1521,7 @@ export function IssueDisplayControls({<Buttonvariant="outline"size="sm"- className="w-full justify-between text-xs"+ className="w-full justify-between text-caption">{groupingLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -1537,7 +1537,7 @@ export function IssueDisplayControls({))}{groupableProperties.map((property) => (<DropdownMenuRadioItem key={property.id} value={`property:${property.id}`}>- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <PropertyIcon property={property} className="size-3.5 text-caption" /><span>{property.name}</span></DropdownMenuRadioItem>))}@@ -1549,7 +1549,7 @@ export function IssueDisplayControls({)}{viewMode === "swimlane" && (<div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.display.grouping_section)}</span><div className="mt-2">@@ -1559,7 +1559,7 @@ export function IssueDisplayControls({<Buttonvariant="outline"size="sm"- className="w-full justify-between text-xs"+ className="w-full justify-between text-caption">{swimlaneGroupingLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -1587,10 +1587,10 @@ export function IssueDisplayControls({<div className="border-b px-3 py-2.5"><label className="flex cursor-pointer items-center justify-between gap-3"><span className="min-w-0">- <span className="block text-sm">+ <span className="block text-body">{t(($) => $.table.hierarchy)}</span>- <span className="block text-xs text-muted-foreground">+ <span className="block text-caption text-muted-foreground">{t(($) => $.table.hierarchy_description)}</span></span>@@ -1604,7 +1604,7 @@ export function IssueDisplayControls({)}<div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.display.ordering_section)}</span><div className="mt-2 flex items-center gap-1.5">@@ -1614,7 +1614,7 @@ export function IssueDisplayControls({<Buttonvariant="outline"size="sm"- className="flex-1 justify-between text-xs"+ className="flex-1 justify-between text-caption">{sortLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -1630,7 +1630,7 @@ export function IssueDisplayControls({))}{sortableProperties.map((property) => (<DropdownMenuRadioItem key={property.id} value={`property:${property.id}`}>- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <PropertyIcon property={property} className="size-3.5 text-caption" /><span>{property.name}</span></DropdownMenuRadioItem>))}@@ -1657,7 +1657,7 @@ export function IssueDisplayControls({</div><label className="flex cursor-pointer items-center justify-between border-b px-3 py-2.5">- <span className="text-sm">{t(($) => $.display.show_sub_issues)}</span>+ <span className="text-body">{t(($) => $.display.show_sub_issues)}</span><Switchsize="sm"checked={showSubIssues}@@ -1667,7 +1667,7 @@ export function IssueDisplayControls({{viewMode !== "table" && (<div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.display.card_properties_section)}</span><div className="mt-2 space-y-2">@@ -1676,7 +1676,7 @@ export function IssueDisplayControls({key={opt.key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{t(($) => $.display[CARD_PROPERTY_LABEL_KEY[opt.key]])}</span>+ <span className="text-body">{t(($) => $.display[CARD_PROPERTY_LABEL_KEY[opt.key]])}</span><Switchsize="sm"checked={cardProperties[opt.key]}@@ -1689,10 +1689,10 @@ export function IssueDisplayControls({key={property.id}className="flex cursor-pointer items-center justify-between">- <span className="flex min-w-0 items-center gap-1.5 truncate text-sm">+ <span className="flex min-w-0 items-center gap-1.5 truncate text-body"><PropertyIconproperty={property}- className="size-3.5 text-xs"+ className="size-3.5 text-caption"/><span className="truncate">{property.name}</span></span>diff --git a/packages/views/issues/components/issues-page.tsx b/packages/views/issues/components/issues-page.tsxindex 137eccb7f0..ca39cdb116 100644--- a/packages/views/issues/components/issues-page.tsx+++ b/packages/views/issues/components/issues-page.tsx@@ -50,7 +50,7 @@ export function IssuesPage() {<div className="flex flex-1 min-h-0 flex-col"><PageHeader className="gap-2"><ListTodo className="h-4 w-4 text-muted-foreground" />- <h1 className="text-sm font-medium">{t(($) => $.page.breadcrumb_title)}</h1>+ <h1 className="text-body font-medium">{t(($) => $.page.breadcrumb_title)}</h1></PageHeader><IssueSurface@@ -69,8 +69,8 @@ export function IssuesPage() {renderEmpty={() => (<div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-2 text-muted-foreground"><ListTodo className="h-10 w-10 text-muted-foreground/40" />- <p className="text-sm">{t(($) => $.page.empty_title)}</p>- <p className="text-xs">{t(($) => $.page.empty_hint)}</p>+ <p className="text-body">{t(($) => $.page.empty_title)}</p>+ <p className="text-caption">{t(($) => $.page.empty_hint)}</p></div>)}/>diff --git a/packages/views/issues/components/list-load-more-footer.tsx b/packages/views/issues/components/list-load-more-footer.tsxindex cdb6e8d6fd..29adb2eab7 100644--- a/packages/views/issues/components/list-load-more-footer.tsx+++ b/packages/views/issues/components/list-load-more-footer.tsx@@ -41,7 +41,7 @@ export function ListLoadMoreFooter({return (<buttontype="button"- className="w-full py-2 text-xs text-destructive hover:underline"+ className="w-full py-2 text-caption text-destructive hover:underline"onClick={onRetry}>{t(($) => $.table.load_more_failed_retry)}@@ -61,7 +61,7 @@ export function ListLoadMoreFooter({if (total > PAGINATED_THRESHOLD) {return (- <div className="py-2 text-center text-xs text-muted-foreground/70">+ <div className="py-2 text-center text-caption text-muted-foreground/70">{t(($) => $.table.no_more)}</div>);diff --git a/packages/views/issues/components/list-row.tsx b/packages/views/issues/components/list-row.tsxindex 1b883194ee..566c15a322 100644--- a/packages/views/issues/components/list-row.tsx+++ b/packages/views/issues/components/list-row.tsx@@ -79,7 +79,7 @@ function ListRowContent({ref={containerRef}style={containerStyle}{...containerProps}- className={`group/row flex h-9 items-center gap-2 px-4 text-sm transition-colors ${+ className={`group/row flex h-9 items-center gap-2 px-4 text-body transition-colors ${selected? "bg-surface-selected hover:not-data-[popup-open]:bg-surface-selected data-[popup-open]:bg-surface-selected": "hover:not-data-[popup-open]:bg-surface-hover data-[popup-open]:bg-surface-hover"@@ -106,7 +106,7 @@ function ListRowContent({href={p.issueDetail(issue.id)}className={`flex flex-1 items-center gap-2 min-w-0 ${isDragging ? "pointer-events-none" : ""}`}>- <span className="w-16 shrink-0 text-xs text-muted-foreground">+ <span className="w-16 shrink-0 text-caption text-muted-foreground">{issue.identifier}</span><IssueAgentActivityIndicator issueId={issue.id} />@@ -116,7 +116,7 @@ function ListRowContent({{showChildProgress && (<span className="inline-flex shrink-0 items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5"><ProgressRing done={childProgress!.done} total={childProgress!.total} size={14} />- <span className="text-[11px] text-muted-foreground tabular-nums font-medium">+ <span className="text-micro text-muted-foreground tabular-nums font-medium">{childProgress!.done}/{childProgress!.total}</span></span>@@ -127,7 +127,7 @@ function ListRowContent({<LabelChip key={label.id} label={label} />))}{labels.length > 3 && (- <span className="text-[11px] text-muted-foreground">+ <span className="text-micro text-muted-foreground">+{labels.length - 3}</span>)}@@ -138,9 +138,9 @@ function ListRowContent({{cardCustomProperties.slice(0, 3).map((property) => (<spankey={property.id}- className="inline-flex max-w-[120px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-[11px] text-muted-foreground"+ className="inline-flex max-w-[120px] items-center gap-1 rounded-full bg-muted/60 px-1.5 py-0.5 text-micro text-muted-foreground">- <PropertyIcon property={property} className="size-3 text-[11px]" />+ <PropertyIcon property={property} className="size-3 text-micro" /><CustomPropertyValueDisplay property={property} value={issue.properties?.[property.id]} /></span>))}@@ -148,18 +148,18 @@ function ListRowContent({)}</span>{showProject && (- <span className="inline-flex shrink-0 items-center gap-1 text-xs text-muted-foreground max-w-[140px]">+ <span className="inline-flex shrink-0 items-center gap-1 text-caption text-muted-foreground max-w-[140px]"><ProjectIcon project={project} size="sm" /><span className="truncate">{project!.title}</span></span>)}{showStartDate && (- <span className="shrink-0 text-xs text-muted-foreground">+ <span className="shrink-0 text-caption text-muted-foreground">{formatDate(issue.start_date!)}</span>)}{showDueDate && (- <span className="shrink-0 text-xs text-muted-foreground">+ <span className="shrink-0 text-caption text-muted-foreground">{formatDate(issue.due_date!)}</span>)}diff --git a/packages/views/issues/components/list-view.tsx b/packages/views/issues/components/list-view.tsxindex 06383bccda..65fca09704 100644--- a/packages/views/issues/components/list-view.tsx+++ b/packages/views/issues/components/list-view.tsx@@ -393,8 +393,8 @@ function ListViewImpl({<DragOverlay dropAnimation={null}>{activeIssue ? (<div className="max-w-2xl rotate-1 cursor-grabbing opacity-90 shadow-lg shadow-black/10 rounded-md border border-border bg-card px-4 py-2">- <span className="text-xs text-muted-foreground mr-2">{activeIssue.identifier}</span>- <span className="text-sm">{activeIssue.title}</span>+ <span className="text-caption text-muted-foreground mr-2">{activeIssue.identifier}</span>+ <span className="text-body">{activeIssue.title}</span></div>) : null}</DragOverlay>@@ -593,7 +593,7 @@ function StatusAccordionItem({rows)) : (- <p className="py-6 text-center text-xs text-muted-foreground">+ <p className="py-6 text-center text-caption text-muted-foreground">{t(($) => $.list.empty_status)}</p>)}diff --git a/packages/views/issues/components/pickers/custom-property-picker.tsx b/packages/views/issues/components/pickers/custom-property-picker.tsxindex 5ad72fa829..cf752fde07 100644--- a/packages/views/issues/components/pickers/custom-property-picker.tsx+++ b/packages/views/issues/components/pickers/custom-property-picker.tsx@@ -155,7 +155,7 @@ export function CustomPropertyValueInput({triggerRender={triggerRender}footer={clearFooter}>- <p className="px-2 py-1.5 text-xs text-muted-foreground">+ <p className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.pickers.custom_property.archived_hint)}</p></PropertyPicker>@@ -464,7 +464,7 @@ export function CustomPropertyValueDisplay({{selected.map((option) => (<spankey={option.id}- className="inline-flex max-w-32 items-center gap-1 rounded-full border border-surface-border px-1.5 py-px text-[11px]"+ className="inline-flex max-w-32 items-center gap-1 rounded-full border border-surface-border px-1.5 py-px text-micro"><span className="size-2 shrink-0 rounded-full" style={{ backgroundColor: option.color }} /><span className="truncate">{option.name}</span>diff --git a/packages/views/issues/components/pickers/label-picker.tsx b/packages/views/issues/components/pickers/label-picker.tsxindex ce1713ef12..3049a13186 100644--- a/packages/views/issues/components/pickers/label-picker.tsx+++ b/packages/views/issues/components/pickers/label-picker.tsx@@ -250,7 +250,7 @@ export function LabelPicker({<buttontype="button"onClick={openManage}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm text-muted-foreground hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body text-muted-foreground hover:bg-accent transition-colors"><Settings2 className="h-3.5 w-3.5" /><span>{t(($) => $.pickers.label.manage_action)}</span>diff --git a/packages/views/issues/components/pickers/priority-picker.tsx b/packages/views/issues/components/pickers/priority-picker.tsxindex ea72172600..ee769adadf 100644--- a/packages/views/issues/components/pickers/priority-picker.tsx+++ b/packages/views/issues/components/pickers/priority-picker.tsx@@ -99,7 +99,7 @@ function PriorityPickerImpl({setOpen(false);}}>- <span className={`inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium ${c.badgeBg} ${c.badgeText}`}>+ <span className={`inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-caption font-medium ${c.badgeBg} ${c.badgeText}`}><PriorityIcon priority={p} className="h-3 w-3" inheritColor />{t(($) => $.priority[p])}</span>diff --git a/packages/views/issues/components/pickers/property-picker.tsx b/packages/views/issues/components/pickers/property-picker.tsxindex 9cdf0efc1d..f2255c6ba2 100644--- a/packages/views/issues/components/pickers/property-picker.tsx+++ b/packages/views/issues/components/pickers/property-picker.tsx@@ -187,7 +187,7 @@ export function PropertyPicker({onKeyDown={handleKeyDown}placeholder={placeholder}aria-label={filterAria}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div>)}@@ -228,7 +228,7 @@ export function PickerItem({data-picker-itemdisabled={disabled}onClick={onClick}- className={`flex w-full items-center gap-3 rounded-md px-2 py-1.5 text-left text-sm ${disabled ? "opacity-50 cursor-not-allowed" : hoverClassName ?? "hover:bg-accent"} transition-colors`}+ className={`flex w-full items-center gap-3 rounded-md px-2 py-1.5 text-left text-body ${disabled ? "opacity-50 cursor-not-allowed" : hoverClassName ?? "hover:bg-accent"} transition-colors`}>{/* min-w-0 lets long children (like truncated label names) shrinkinside the flex row instead of pushing the selected checkmark off@@ -268,7 +268,7 @@ export function PickerSection({}) {return (<div>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{label}</div>{children}@@ -283,7 +283,7 @@ export function PickerSection({export function PickerEmpty() {const { t } = useT("issues");return (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.pickers.no_results)}</div>);diff --git a/packages/views/issues/components/pickers/stage-picker.tsx b/packages/views/issues/components/pickers/stage-picker.tsxindex 9dccc75c3d..eecfb7e7a2 100644--- a/packages/views/issues/components/pickers/stage-picker.tsx+++ b/packages/views/issues/components/pickers/stage-picker.tsx@@ -82,7 +82,7 @@ export function StagePicker({setOpen(false);}}>- <span className="truncate text-xs text-muted-foreground">{t(($) => $.stage.none)}</span>+ <span className="truncate text-caption text-muted-foreground">{t(($) => $.stage.none)}</span></PickerItem>{options.map((s) => (<PickerItem@@ -93,7 +93,7 @@ export function StagePicker({setOpen(false);}}>- <span className="inline-flex items-center gap-1.5 text-xs">+ <span className="inline-flex items-center gap-1.5 text-caption"><Milestone className="h-3 w-3 shrink-0 text-muted-foreground" />{t(($) => $.stage.value, { n: s })}</span>diff --git a/packages/views/issues/components/pull-request-list.tsx b/packages/views/issues/components/pull-request-list.tsxindex a2be04c6db..762e3a2710 100644--- a/packages/views/issues/components/pull-request-list.tsx+++ b/packages/views/issues/components/pull-request-list.tsx@@ -50,11 +50,11 @@ export function PullRequestList({ issueId }: { issueId: string }) {const prs = data?.pull_requests ?? [];if (isLoading) {- return <p className="text-xs text-muted-foreground px-2">{t(($) => $.detail.pull_requests_loading)}</p>;+ return <p className="text-caption text-muted-foreground px-2">{t(($) => $.detail.pull_requests_loading)}</p>;}if (prs.length === 0) {return (- <p className="text-xs text-muted-foreground px-2">+ <p className="text-caption text-muted-foreground px-2">{t(($) => $.detail.pull_requests_empty)}</p>);@@ -81,7 +81,7 @@ export function PullRequestList({ issueId }: { issueId: string }) {<buttontype="button"onClick={() => setExpanded((v) => !v)}- className="block w-[calc(100%+1rem)] -mx-2 rounded-md px-2 py-1.5 text-left text-[11px] text-muted-foreground hover:bg-accent/50 hover:text-foreground transition-colors"+ className="block w-[calc(100%+1rem)] -mx-2 rounded-md px-2 py-1.5 text-left text-micro text-muted-foreground hover:bg-accent/50 hover:text-foreground transition-colors">{expanded? t(($) => $.detail.pull_request_card_show_less)@@ -113,10 +113,10 @@ function PullRequestRow({ pr }: { pr: GitHubPullRequest }) {><StateIcon className={cn("h-3.5 w-3.5 mt-0.5 shrink-0", cfg.className)} /><div className="min-w-0 flex-1">- <p className="text-xs font-medium leading-snug truncate group-hover:text-foreground">+ <p className="text-caption font-medium leading-snug truncate group-hover:text-foreground">{pr.title}</p>- <p className="text-[11px] text-muted-foreground truncate">+ <p className="text-micro text-muted-foreground truncate">{pr.repo_owner}/{pr.repo_name}#{pr.number} · {stateLabel}{pr.author_login ? ` · @${pr.author_login}` : null}</p>@@ -155,7 +155,7 @@ function PullRequestRowDetails({ pr }: { pr: GitHubPullRequest }) {if (!showStats && !checksBadge && !mergeBadge) return null;return (- <div className="mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-[11px] text-muted-foreground">+ <div className="mt-1 flex flex-wrap items-center gap-x-2 gap-y-0.5 text-micro text-muted-foreground">{showStats ? <PullRequestStats pr={pr} /> : null}{checksBadge ? <PullRequestBadge badge={checksBadge} stale={stale} title={staleTitle} /> : null}{mergeBadge ? <PullRequestBadge badge={mergeBadge} stale={stale} title={staleTitle} /> : null}diff --git a/packages/views/issues/components/reply-input.tsx b/packages/views/issues/components/reply-input.tsxindex 46ed78c400..486413a074 100644--- a/packages/views/issues/components/reply-input.tsx+++ b/packages/views/issues/components/reply-input.tsx@@ -257,7 +257,7 @@ function ReplyInput({role="button"tabIndex={0}aria-label={placeholderText}- className="flex-1 min-h-0 cursor-text rich-text-editor text-sm"+ className="flex-1 min-h-0 cursor-text rich-text-editor text-body"onClick={() => lazy.activate()}onKeyDown={(e) => {if (e.key === "Enter" || e.key === " ") {diff --git a/packages/views/issues/components/resolved-thread-bar.tsx b/packages/views/issues/components/resolved-thread-bar.tsxindex 7a2ca60bcb..79e1eafc6b 100644--- a/packages/views/issues/components/resolved-thread-bar.tsx+++ b/packages/views/issues/components/resolved-thread-bar.tsx@@ -60,7 +60,7 @@ export function ResolvedThreadBar({ entry, replies, onExpand }: ResolvedThreadBaonClick={onExpand}className="flex w-full items-center justify-between px-4 py-3 text-left transition-colors cursor-pointer hover:bg-muted/50">- <span className="flex min-w-0 items-center gap-2.5 text-sm text-muted-foreground">+ <span className="flex min-w-0 items-center gap-2.5 text-body text-muted-foreground"><CheckCircle2 className="h-4 w-4 shrink-0" /><span className="truncate">{t(($) => $.comment.resolve.bar, { count, authors: authorsLabel })}@@ -93,7 +93,7 @@ export function CommentsFoldBar({ replies, onExpand }: CommentsFoldBarProps) {onClick={onExpand}className="flex w-full items-center justify-between rounded-md bg-muted/45 px-3 py-2.5 text-left transition-colors cursor-pointer hover:bg-muted">- <span className="flex min-w-0 items-center gap-2.5 text-sm text-muted-foreground">+ <span className="flex min-w-0 items-center gap-2.5 text-body text-muted-foreground"><ChevronRight className="h-3.5 w-3.5 rotate-90 shrink-0" /><span className="truncate">{t(($) => $.comment.resolve.fold, { count: replies.length, authors: authorsLabel })}diff --git a/packages/views/issues/components/status-heading.tsx b/packages/views/issues/components/status-heading.tsxindex cba157cf72..77273c3170 100644--- a/packages/views/issues/components/status-heading.tsx+++ b/packages/views/issues/components/status-heading.tsx@@ -12,11 +12,11 @@ export function StatusHeading({const { t } = useT("issues");return (<div className="flex items-center gap-2">- <span className="inline-flex items-center gap-1.5 text-xs font-semibold">+ <span className="inline-flex items-center gap-1.5 text-caption font-semibold"><StatusIcon status={status} className="h-3 w-3" />{t(($) => $.status[status])}</span>- <span className="text-xs text-muted-foreground">{count}</span>+ <span className="text-caption text-muted-foreground">{count}</span></div>);}diff --git a/packages/views/issues/components/sub-issues-agent-working-chip.tsx b/packages/views/issues/components/sub-issues-agent-working-chip.tsxindex 92b56bbd04..a6f4dced62 100644--- a/packages/views/issues/components/sub-issues-agent-working-chip.tsx+++ b/packages/views/issues/components/sub-issues-agent-working-chip.tsx@@ -58,7 +58,7 @@ export const SubIssuesAgentWorkingChip = memo(}><AgentAvatarStack agentIds={agentIds} size="xs" max={3} />- <span className="animate-chat-text-shimmer text-[11px] font-medium leading-none tabular-nums">+ <span className="animate-chat-text-shimmer text-micro font-medium leading-none tabular-nums">{t(($) => $.agent_activity.chip_agents_working, {count: agentIds.length,})}diff --git a/packages/views/issues/components/swimlane-view.tsx b/packages/views/issues/components/swimlane-view.tsxindex c5d175d64e..75c36228a6 100644--- a/packages/views/issues/components/swimlane-view.tsx+++ b/packages/views/issues/components/swimlane-view.tsx@@ -1403,7 +1403,7 @@ function SwimLaneViewImpl({{groupBranches?.isError && laneGroups.length === 0 && (<buttontype="button"- className="py-8 text-sm text-destructive hover:underline"+ className="py-8 text-body text-destructive hover:underline"onClick={groupBranches.retryGroups}>{t(($) => $.table.load_more_failed_retry)}@@ -1634,13 +1634,13 @@ function DraggableSwimLane({size="sm"/>)}- <span className="truncate text-sm font-semibold">{lane.title}</span>+ <span className="truncate text-body font-semibold">{lane.title}</span>{lane.identifier && (- <span className="shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-[11px] font-medium tabular-nums text-muted-foreground">+ <span className="shrink-0 rounded-full bg-muted px-1.5 py-0.5 text-micro font-medium tabular-nums text-muted-foreground">{lane.identifier}</span>)}- <span className="shrink-0 text-xs tabular-nums text-muted-foreground">+ <span className="shrink-0 text-caption tabular-nums text-muted-foreground">{laneTotal}</span></button>@@ -1772,7 +1772,7 @@ function SwimLaneCell({))}</SortableContext>{issueIds.length === 0 && (- <p className="py-6 text-center text-xs text-muted-foreground">+ <p className="py-6 text-center text-caption text-muted-foreground">—</p>)}diff --git a/packages/views/issues/components/table-view.tsx b/packages/views/issues/components/table-view.tsxindex bc98ed72da..b5d3835ce6 100644--- a/packages/views/issues/components/table-view.tsx+++ b/packages/views/issues/components/table-view.tsx@@ -574,7 +574,7 @@ export function TableColumnPicker({</>)}{systemColumns.length === 0 && visibleProperties.length === 0 && (- <p className="px-2 py-6 text-center text-xs text-muted-foreground">+ <p className="px-2 py-6 text-center text-caption text-muted-foreground">{t(($) => $.table.columns.no_results)}</p>)}@@ -609,7 +609,7 @@ export function TableIssueSearch({onChange={(event) => onChange(event.target.value)}aria-label={placeholder}placeholder={placeholder}- className="h-7 pl-7 pr-7 text-xs"+ className="h-7 pl-7 pr-7 text-caption"/>{value && (<Button@@ -716,7 +716,7 @@ export function InlineTitle({) : (<span className="w-4 shrink-0" />)}- <span className="w-16 shrink-0 text-xs text-muted-foreground">+ <span className="w-16 shrink-0 text-caption text-muted-foreground">{row.issue.identifier}</span><IssueAgentActivityIndicator issueId={row.issue.id} />@@ -835,7 +835,7 @@ function LazyLabelCell({<LabelChip key={label.id} label={label} />))}{labels.length > 2 && (- <span className="text-xs text-muted-foreground">+{labels.length - 2}</span>+ <span className="text-caption text-muted-foreground">+{labels.length - 2}</span>)}</>) : (@@ -870,7 +870,7 @@ export function IssueTableGroupRow({<TableCell colSpan={colSpan} className="h-9 px-4 py-1.5"><buttontype="button"- className="sticky left-4 flex w-fit items-center gap-2 text-xs font-medium"+ className="sticky left-4 flex w-fit items-center gap-2 text-caption font-medium">{group.collapsed ? (<ChevronRight className="size-3.5" />@@ -1137,7 +1137,7 @@ function IssueTableBodyCell({);case "identifier":return (- <span className="text-xs text-muted-foreground">{issue.identifier}</span>+ <span className="text-caption text-muted-foreground">{issue.identifier}</span>);case "status":return (@@ -1226,7 +1226,7 @@ function IssueTableBodyCell({case "created_at":case "updated_at":return (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{new Intl.DateTimeFormat(i18n.language, {month: "short",day: "numeric",@@ -1237,7 +1237,7 @@ function IssueTableBodyCell({case "child_progress": {const progress = meta.childProgressMap.get(issue.id);return progress ? (- <span className="inline-flex items-center gap-1.5 text-xs text-muted-foreground">+ <span className="inline-flex items-center gap-1.5 text-caption text-muted-foreground"><ProgressRing done={progress.done} total={progress.total} size={15} />{progress.done}/{progress.total}</span>diff --git a/packages/views/issues/components/thread-minimap.tsx b/packages/views/issues/components/thread-minimap.tsxindex e86975a551..8074911b20 100644--- a/packages/views/issues/components/thread-minimap.tsx+++ b/packages/views/issues/components/thread-minimap.tsx@@ -450,12 +450,12 @@ export function ThreadMinimap({ threads, scrollContainerEl, onJump, className }:ref={cardRef}onPointerEnter={cancelClose}onPointerLeave={scheduleClose}- className="pointer-events-auto absolute right-8 top-0 w-72 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 transition-transform duration-150 ease-out motion-reduce:transition-none"+ className="pointer-events-auto absolute right-8 top-0 w-72 rounded-lg bg-popover p-2.5 text-body text-popover-foreground shadow-md ring-1 ring-foreground/10 transition-transform duration-150 ease-out motion-reduce:transition-none"style={{ transform: `translateY(${preview.y}px) translateY(-50%)` }}>- <p className="truncate text-sm font-semibold text-foreground">{activeTitle}</p>+ <p className="truncate text-body font-semibold text-foreground">{activeTitle}</p>{activePreview.body && (- <p className="mt-1 line-clamp-3 text-sm text-muted-foreground">{activePreview.body}</p>+ <p className="mt-1 line-clamp-3 text-body text-muted-foreground">{activePreview.body}</p>)}</div>)}diff --git a/packages/views/issues/components/workspace-agent-working-chip.tsx b/packages/views/issues/components/workspace-agent-working-chip.tsxindex e37a57a3c1..87be711ab9 100644--- a/packages/views/issues/components/workspace-agent-working-chip.tsx+++ b/packages/views/issues/components/workspace-agent-working-chip.tsx@@ -53,7 +53,7 @@ export function WorkingAgentsHoverContent({if (agents.length === 0) {return (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.agent_activity.empty_hover)}</p>);@@ -61,12 +61,12 @@ export function WorkingAgentsHoverContent({return (<div className="flex flex-col gap-2">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) => $.agent_activity.hover_header, { count: agents.length })}</div><div className="flex flex-col gap-1.5">{agents.map((agent) => (- <div key={agent.id} className="flex items-center gap-2 text-xs">+ <div key={agent.id} className="flex items-center gap-2 text-caption"><ActorAvatarname={agent.name}initials={agent.name.trim().slice(0, 2).toUpperCase()}diff --git a/packages/views/issues/surface/issue-surface.tsx b/packages/views/issues/surface/issue-surface.tsxindex 6f4ad9c077..da2177c259 100644--- a/packages/views/issues/surface/issue-surface.tsx+++ b/packages/views/issues/surface/issue-surface.tsx@@ -232,8 +232,8 @@ function IssueSurfaceContent({) : (<div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-3 text-muted-foreground"><ListTodo className="h-10 w-10 text-muted-foreground/40" />- <p className="text-sm">{t(($) => $.detail.empty_issues_title)}</p>- <p className="text-xs">{t(($) => $.detail.empty_issues_hint)}</p>+ <p className="text-body">{t(($) => $.detail.empty_issues_title)}</p>+ <p className="text-caption">{t(($) => $.detail.empty_issues_hint)}</p><Buttonvariant="outline"size="sm"diff --git a/packages/views/labels/label-chip.tsx b/packages/views/labels/label-chip.tsxindex 9fde4ba9ef..bfd8aa5426 100644--- a/packages/views/labels/label-chip.tsx+++ b/packages/views/labels/label-chip.tsx@@ -56,7 +56,7 @@ export function LabelChip({ label, onRemove, className, fullName }: LabelChipProconst nameClass = fullName ? "break-all" : "truncate max-w-[12rem]";return (<span- className={`inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium ${className ?? ""}`}+ className={`inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-caption font-medium ${className ?? ""}`}style={{ backgroundColor: label.color, color: textColor }}// aria-label exposes the full name to screen readers when the span// visually truncates. title stays for sighted hover-tooltip.diff --git a/packages/views/labels/resource-label-picker.tsx b/packages/views/labels/resource-label-picker.tsxindex bad3f84391..9d7ea0f3cb 100644--- a/packages/views/labels/resource-label-picker.tsx+++ b/packages/views/labels/resource-label-picker.tsx@@ -73,7 +73,7 @@ export function ResourceLabelPicker({))}</div>) : (- <span className="text-sm text-muted-foreground">{t(($) => $.resource_picker.empty)}</span>+ <span className="text-body text-muted-foreground">{t(($) => $.resource_picker.empty)}</span>);if (!canEdit) return content;@@ -110,7 +110,7 @@ export function ResourceLabelPicker({value={query}onChange={(event) => setQuery(event.target.value)}placeholder={t(($) => $.resource_picker.search)}- className="h-8 pl-8 text-sm"+ className="h-8 pl-8 text-body"/></div><div className="max-h-64 space-y-0.5 overflow-y-auto">@@ -123,7 +123,7 @@ export function ResourceLabelPicker({onClick={() =>isSelected ? detach.mutate(label.id) : attach.mutate(label.id)}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm hover:bg-accent"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-body hover:bg-accent"><spanclassName="size-2.5 shrink-0 rounded-full"@@ -135,7 +135,7 @@ export function ResourceLabelPicker({);})}{filtered.length === 0 ? (- <p className="px-2 py-6 text-center text-xs text-muted-foreground">+ <p className="px-2 py-6 text-center text-caption text-muted-foreground">{catalog.length === 0? t(($) => $.resource_picker.no_labels): t(($) => $.resource_picker.no_results)}diff --git a/packages/views/lark/bind-page.tsx b/packages/views/lark/bind-page.tsxindex 8c13223618..6d85e3368b 100644--- a/packages/views/lark/bind-page.tsx+++ b/packages/views/lark/bind-page.tsx@@ -66,12 +66,12 @@ export function LarkBindPage({ token }: { token: string | null }) {<div className="mx-auto flex min-h-screen max-w-md flex-col items-center justify-center p-6"><Card className="w-full"><CardContent className="space-y-4">- <h1 className="text-lg font-semibold">{t(($) => $.lark_bind.page_title)}</h1>+ <h1 className="text-title font-semibold">{t(($) => $.lark_bind.page_title)}</h1>{state.kind === "idle" || state.kind === "redeeming" ? (- <p className="text-sm text-muted-foreground">{t(($) => $.lark_bind.redeeming)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.lark_bind.redeeming)}</p>) : state.kind === "needs-auth" ? (<>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.lark_bind.needs_auth_description)}</p><Button@@ -89,15 +89,15 @@ export function LarkBindPage({ token }: { token: string | null }) {</>) : state.kind === "done" ? (<>- <p className="text-sm font-medium">{t(($) => $.lark_bind.done_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.lark_bind.done_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.lark_bind.done_description)}</p></>) : (<>- <p className="text-sm font-medium">{t(($) => $.lark_bind.error_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.lark_bind.error_title)}</p>+ <p className="text-caption text-muted-foreground">{(() => {switch (state.reason) {case "missing_token":@@ -113,7 +113,7 @@ export function LarkBindPage({ token }: { token: string | null }) {}})()}</p>- <p className="text-[10px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.lark_bind.error_admin_hint)}</p></>diff --git a/packages/views/layout/app-sidebar.tsx b/packages/views/layout/app-sidebar.tsxindex a431dcf9fc..2fb5e9677e 100644--- a/packages/views/layout/app-sidebar.tsx+++ b/packages/views/layout/app-sidebar.tsx@@ -537,17 +537,17 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }size="lg"/><div className="min-w-0 flex-1">- <p className="truncate text-sm font-medium leading-tight">+ <p className="truncate text-body font-medium leading-tight">{user?.name}</p>- <p className="truncate text-xs text-muted-foreground leading-tight">+ <p className="truncate text-caption text-muted-foreground leading-tight">{user?.email}</p></div></div><DropdownMenuSeparator /><DropdownMenuGroup>- <DropdownMenuLabel className="text-xs text-muted-foreground">+ <DropdownMenuLabel className="text-caption text-muted-foreground">{t(($) => $.sidebar.workspaces_label)}</DropdownMenuLabel>{workspaces.map((ws) => (@@ -587,16 +587,16 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }<><DropdownMenuSeparator /><DropdownMenuGroup>- <DropdownMenuLabel className="text-xs text-muted-foreground">+ <DropdownMenuLabel className="text-caption text-muted-foreground">{t(($) => $.sidebar.pending_invitations_label)}</DropdownMenuLabel>{myInvitations.map((inv) => (<div key={inv.id} className="flex items-center gap-2 px-2 py-1.5"><WorkspaceAvatar name={inv.workspace_name ?? "W"} size="sm" />- <span className="flex-1 truncate text-sm">{inv.workspace_name ?? t(($) => $.sidebar.invitation_workspace_fallback)}</span>+ <span className="flex-1 truncate text-body">{inv.workspace_name ?? t(($) => $.sidebar.invitation_workspace_fallback)}</span><buttontype="button"- className="text-xs px-2 py-0.5 rounded bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50"+ className="text-caption px-2 py-0.5 rounded bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50"disabled={acceptInvitationMut.isPending}onClick={(e) => {e.stopPropagation();@@ -607,7 +607,7 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }</button><buttontype="button"- className="text-xs px-2 py-0.5 rounded bg-muted text-muted-foreground hover:bg-muted/80 disabled:opacity-50"+ className="text-caption px-2 py-0.5 rounded bg-muted text-muted-foreground hover:bg-muted/80 disabled:opacity-50"disabled={declineInvitationMut.isPending}onClick={(e) => {e.stopPropagation();@@ -678,14 +678,14 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }<CappedNumberFlowvalue={unreadCount}animated={false}- className="ml-auto text-xs"+ className="ml-auto text-caption"/>)}{item.key === "chat" && chatUnreadCount > 0 && (<CappedNumberFlowvalue={chatUnreadCount}animated={false}- className="ml-auto text-xs"+ className="ml-auto text-caption"/>)}</SidebarMenuButton>@@ -705,7 +705,7 @@ export function AppSidebar({ topSlot, searchSlot, headerClassName, headerStyle }><span>{t(($) => $.sidebar.pinned_label)}</span><ChevronRight className="!size-3 ml-1 stroke-[2.5] transition-transform duration-200 group-data-[panel-open]/trigger:rotate-90" />- <span className="ml-auto text-[10px] text-muted-foreground opacity-0 transition-opacity group-hover/pinned:opacity-100">{visiblePinned.length}</span>+ <span className="ml-auto text-micro text-muted-foreground opacity-0 transition-opacity group-hover/pinned:opacity-100">{visiblePinned.length}</span></SidebarGroupLabel><CollapsibleContent><SidebarGroupContent>diff --git a/packages/views/layout/breadcrumb-header.tsx b/packages/views/layout/breadcrumb-header.tsxindex 2187cd7350..7ebbb7df4a 100644--- a/packages/views/layout/breadcrumb-header.tsx+++ b/packages/views/layout/breadcrumb-header.tsx@@ -43,7 +43,7 @@ interface BreadcrumbHeaderProps {*/export function BreadcrumbHeader({ segments, leaf, actions, className }: BreadcrumbHeaderProps) {return (- <PageHeader className={cn("gap-2 bg-background text-sm", className)}>+ <PageHeader className={cn("gap-2 bg-background text-body", className)}><div className="flex flex-1 items-center gap-1.5 min-w-0">{segments.map((segment) => (<Fragment key={segment.href}>diff --git a/packages/views/layout/collection-page.tsx b/packages/views/layout/collection-page.tsxindex b0221d80b1..2ef5ae43f0 100644--- a/packages/views/layout/collection-page.tsx+++ b/packages/views/layout/collection-page.tsx@@ -47,14 +47,14 @@ export function CollectionPageHeader({aria-hidden="true"className="size-4 shrink-0 text-muted-foreground"/>- <h1 className="truncate text-sm font-medium">{title}</h1>+ <h1 className="truncate text-body font-medium">{title}</h1>{typeof count === "number" && count > 0 ? (- <span className="shrink-0 font-mono text-xs tabular-nums text-muted-foreground/70">+ <span className="shrink-0 font-mono text-caption tabular-nums text-muted-foreground/70">{count}</span>) : null}{description ? (- <p className="ml-2 hidden min-w-0 truncate text-xs text-muted-foreground md:block">+ <p className="ml-2 hidden min-w-0 truncate text-caption text-muted-foreground md:block">{description}{learnMore ? (<>diff --git a/packages/views/layout/join-discord-card.tsx b/packages/views/layout/join-discord-card.tsxindex 2a3dd18670..5231f74d7d 100644--- a/packages/views/layout/join-discord-card.tsx+++ b/packages/views/layout/join-discord-card.tsx@@ -30,10 +30,10 @@ export function JoinDiscordCard() {exception to the semantic-token rule, like the landing social icons. */}<DiscordIcon className="mt-px size-4 shrink-0 text-[#5865F2]" /><span className="min-w-0">- <span className="block text-xs font-medium text-sidebar-foreground">+ <span className="block text-caption font-medium text-sidebar-foreground">{t(($) => $.sidebar.discord_card.title)}</span>- <span className="mt-0.5 block text-[11px] leading-snug text-muted-foreground">+ <span className="mt-0.5 block text-micro leading-snug text-muted-foreground">{t(($) => $.sidebar.discord_card.description)}</span></span>diff --git a/packages/views/layout/workspace-loader.tsx b/packages/views/layout/workspace-loader.tsxindex 306f5a8de9..4638e3820f 100644--- a/packages/views/layout/workspace-loader.tsx+++ b/packages/views/layout/workspace-loader.tsx@@ -24,12 +24,12 @@ export function WorkspaceLoader({ name }: { name?: string | null }) {<div className="flex flex-col items-center gap-4"><MulticaIcon className="size-8 animate-pulse" />{name ? (- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.workspace_loader.loading_named_prefix)}{" "}<span className="font-medium text-foreground">{name}</span>…</p>) : (- <p className="text-sm text-muted-foreground">{t(($) => $.workspace_loader.loading_workspace)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.workspace_loader.loading_workspace)}</p>)}</div></div>diff --git a/packages/views/members/member-detail-page.tsx b/packages/views/members/member-detail-page.tsxindex 1498be7f68..cbf92a12df 100644--- a/packages/views/members/member-detail-page.tsx+++ b/packages/views/members/member-detail-page.tsx@@ -32,8 +32,8 @@ export function MemberDetailPage({ userId }: { userId: string }) {<div className="flex flex-1 flex-col items-center justify-center gap-3 px-6 py-16 text-center"><UserRound className="h-8 w-8 text-muted-foreground" /><div>- <p className="text-sm font-medium">{t(($) => $.detail.not_found_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.detail.not_found_title)}</p>+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.detail.not_found_description)}</p></div>@@ -63,10 +63,10 @@ export function MemberDetailPage({ userId }: { userId: string }) {/><div className="min-w-0 flex-1"><div className="flex min-w-0 items-center gap-2">- <h1 className="truncate text-base font-semibold">{member.name}</h1>+ <h1 className="truncate text-title-sm font-semibold">{member.name}</h1><RoleBadge role={member.role} /></div>- <p className="mt-0.5 truncate text-sm text-muted-foreground">+ <p className="mt-0.5 truncate text-body text-muted-foreground">{member.email}</p></div>@@ -90,15 +90,15 @@ function MemberBreadcrumb({return (<PageHeader className="gap-1.5"><WorkspaceAvatar name={workspaceName ?? "W"} avatarUrl={workspaceAvatarUrl} size="sm" />- <span className="text-sm text-muted-foreground">+ <span className="text-body text-muted-foreground">{workspaceName ?? t(($) => $.detail.workspace_fallback)}</span><ChevronRight className="h-3 w-3 text-muted-foreground" />- <span className="text-sm text-muted-foreground">+ <span className="text-body text-muted-foreground">{t(($) => $.detail.members_breadcrumb)}</span><ChevronRight className="h-3 w-3 text-muted-foreground" />- <span className="truncate text-sm font-medium">{title}</span>+ <span className="truncate text-body font-medium">{title}</span></PageHeader>);}@@ -106,7 +106,7 @@ function MemberBreadcrumb({function RoleBadge({ role }: { role: MemberRole }) {const { t } = useT("members");return (- <span className="rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{role === "owner"? t(($) => $.role.owner): role === "admin"diff --git a/packages/views/members/member-profile-card.tsx b/packages/views/members/member-profile-card.tsxindex e3a7e59f30..09961556c2 100644--- a/packages/views/members/member-profile-card.tsx+++ b/packages/views/members/member-profile-card.tsx@@ -50,7 +50,7 @@ export function MemberProfileCard({ userId }: MemberProfileCardProps) {if (!member) {return (- <div className="text-xs text-muted-foreground">{t(($) => $.card.unavailable)}</div>+ <div className="text-caption text-muted-foreground">{t(($) => $.card.unavailable)}</div>);}@@ -87,10 +87,10 @@ export function MemberProfileCard({ userId }: MemberProfileCardProps) {/><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <p className="truncate text-sm font-semibold">{member.name}</p>+ <p className="truncate text-body font-semibold">{member.name}</p><RoleBadge role={member.role} /></div>- <p className="mt-0.5 truncate text-xs text-muted-foreground">+ <p className="mt-0.5 truncate text-caption text-muted-foreground">{member.email}</p></div>@@ -105,7 +105,7 @@ export function MemberProfileCard({ userId }: MemberProfileCardProps) {function RoleBadge({ role }: { role: MemberRole }) {const { t } = useT("members");return (- <span className="rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{role === "owner"? t(($) => $.role.owner): role === "admin"@@ -128,7 +128,7 @@ function OwnedAgentsSection({ agents }: { agents: Agent[] }) {const overflow = agents.length - visible.length;return (- <div className="flex flex-col gap-1.5 text-xs">+ <div className="flex flex-col gap-1.5 text-caption"><span className="text-muted-foreground">{t(($) => $.card.agents_section, { count: agents.length })}</span><div className="flex flex-col gap-0.5">{visible.map((a) => (diff --git a/packages/views/modals/create-issue.tsx b/packages/views/modals/create-issue.tsxindex d40b167f5e..f93d2411e2 100644--- a/packages/views/modals/create-issue.tsx+++ b/packages/views/modals/create-issue.tsx@@ -172,7 +172,7 @@ function CreateRunHint({<div className="overflow-hidden"><divaria-live="polite"- className="flex items-center gap-1.5 px-4 pb-1 pt-0.5 text-[0.6875rem] text-muted-foreground"+ className="flex items-center gap-1.5 px-4 pb-1 pt-0.5 text-micro text-muted-foreground">{avatarId && (<ActorAvatar@@ -585,15 +585,15 @@ export function ManualCreatePanel({<div className="flex items-center justify-center size-5 rounded-full bg-emerald-500/15 text-emerald-500"><Check className="size-3" /></div>- <span className="text-sm font-medium">{t(($) => $.create_issue.toast_created)}</span>+ <span className="text-body font-medium">{t(($) => $.create_issue.toast_created)}</span></div>- <div className="flex items-center gap-2 text-sm text-muted-foreground ml-7">+ <div className="flex items-center gap-2 text-body text-muted-foreground ml-7"><StatusIcon status={issue.status} className="size-3.5 shrink-0" /><span className="truncate">{issue.identifier} – {issue.title}</span></div><buttontype="button"- className="ml-7 mt-2 text-sm text-primary hover:underline cursor-pointer"+ className="ml-7 mt-2 text-body text-primary hover:underline cursor-pointer"onClick={() => {router.push(p.issueDetail(issue.id));toast.dismiss(toastId);@@ -625,16 +625,16 @@ export function ManualCreatePanel({<div className="flex items-center justify-center size-5 rounded-full bg-amber-500/15 text-amber-500"><AlertTriangle className="size-3" /></div>- <span className="text-sm font-medium">+ <span className="text-body font-medium">{t(($) => $.create_issue.toast_duplicate_title)}</span></div>- <div className="flex items-center gap-2 text-sm text-muted-foreground ml-7">+ <div className="flex items-center gap-2 text-body text-muted-foreground ml-7"><span className="truncate">{dup.issue.identifier} – {dup.issue.title}</span></div><buttontype="button"- className="ml-7 mt-2 text-sm text-primary hover:underline cursor-pointer"+ className="ml-7 mt-2 text-body text-primary hover:underline cursor-pointer"onClick={() => {router.push(p.issueDetail(dup.issue.id));toast.dismiss(toastId);@@ -803,7 +803,7 @@ export function ManualCreatePanel({{/* Header */}<div className="flex items-center justify-between px-5 pt-3 pb-2 shrink-0">- <div className="flex items-center gap-1.5 text-xs">+ <div className="flex items-center gap-1.5 text-caption"><span className="text-muted-foreground">{workspaceName}</span><ChevronRight className="size-3 text-muted-foreground/50" /><span className="font-medium">{t(($) => $.create_issue.manual_breadcrumb)}</span>@@ -852,7 +852,7 @@ export function ManualCreatePanel({autoFocusdefaultValue={draft.manual.title}placeholder={t(($) => $.create_issue.title_placeholder)}- className="text-lg font-semibold"+ className="text-title font-semibold"onChange={(v) => updateTitle(v)}// Chord only — plain Enter still just ends title editing (#5532).onSubmitShortcut={handleSubmit}@@ -1015,7 +1015,7 @@ export function ManualCreatePanel({triggerRender={<PillButton />}trigger={<>- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <PropertyIcon property={property} className="size-3.5 text-caption" /><span className="max-w-32 truncate">{property.name}</span>{value !== undefined && (<span className="max-w-40 truncate text-muted-foreground">@@ -1032,7 +1032,7 @@ export function ManualCreatePanel({Placed before the ⋯ so it wraps to a new line with ⋯ ifspace is tight, but ⋯ always stays last in DOM order. */}{parentIssueId && parentIssue && (- <div className="inline-flex items-center rounded-full border text-xs transition-colors hover:bg-accent/60">+ <div className="inline-flex items-center rounded-full border text-caption transition-colors hover:bg-accent/60"><buttontype="button"onClick={() => setParentPickerOpen(true)}@@ -1059,7 +1059,7 @@ export function ManualCreatePanel({{childIssues.map((c) => (<divkey={c.id}- className="inline-flex items-center rounded-full border text-xs transition-colors hover:bg-accent/60"+ className="inline-flex items-center rounded-full border text-caption transition-colors hover:bg-accent/60"><div className="flex items-center gap-1.5 py-1 pl-2.5"><ArrowDown className="size-3 text-muted-foreground" />@@ -1165,7 +1165,7 @@ export function ManualCreatePanel({)}onClick={() => setCustomPropertyPickerId(property.id)}>- <PropertyIcon property={property} className="size-3.5 text-xs" />+ <PropertyIcon property={property} className="size-3.5 text-caption" /><span className="truncate">{property.name}</span>{Object.prototype.hasOwnProperty.call(propertyValues,@@ -1244,12 +1244,12 @@ export function ManualCreatePanel({aria-disabled={gate.uploading || undefined}aria-busy={gate.uploading || undefined}title={t(($) => $.create_issue.switch_to_agent_tooltip)}- className="border-beam group flex shrink-0 items-center gap-1.5 text-xs px-2 py-1 rounded-sm text-muted-foreground bg-brand/5 hover:bg-brand/10 hover:text-foreground transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-50"+ className="border-beam group flex shrink-0 items-center gap-1.5 text-caption px-2 py-1 rounded-sm text-muted-foreground bg-brand/5 hover:bg-brand/10 hover:text-foreground transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-50"><ArrowLeftRight className="size-3.5 text-brand/80 transition-transform duration-300 group-hover:rotate-180" />{t(($) => $.create_issue.switch_to_agent)}</button>- <label className="flex shrink-0 items-center gap-1.5 text-xs text-muted-foreground cursor-pointer select-none">+ <label className="flex shrink-0 items-center gap-1.5 text-caption text-muted-foreground cursor-pointer select-none"><Switchsize="sm"checked={keepOpen}diff --git a/packages/views/modals/create-project.tsx b/packages/views/modals/create-project.tsxindex 9885f09e27..35ea940510 100644--- a/packages/views/modals/create-project.tsx+++ b/packages/views/modals/create-project.tsx@@ -304,7 +304,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {<DialogTitle className="sr-only">{t(($) => $.create_project.title)}</DialogTitle><div className="flex items-center justify-between px-5 pt-3 pb-2 shrink-0">- <div className="flex items-center gap-1.5 text-xs">+ <div className="flex items-center gap-1.5 text-caption"><span className="text-muted-foreground">{workspaceName}</span><ChevronRight className="size-3 text-muted-foreground/50" /><span className="font-medium">{t(($) => $.create_project.title_breadcrumb)}</span>@@ -351,7 +351,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {render={<buttontype="button"- className="text-2xl cursor-pointer rounded-lg p-1 -ml-1 hover:bg-accent/60 transition-colors"+ className="text-display-sm cursor-pointer rounded-lg p-1 -ml-1 hover:bg-accent/60 transition-colors"title={t(($) => $.create_project.icon_tooltip)}>{icon || "📁"}@@ -371,7 +371,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {autoFocusdefaultValue={draft.title}placeholder={t(($) => $.create_project.title_placeholder)}- className="text-lg font-semibold"+ className="text-title font-semibold"onChange={(v) => updateTitle(v)}onSubmit={handleSubmit}/>@@ -385,7 +385,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {onUpdate={(md) => setDraft({ description: md })}debounceMs={500}/>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.create_project.description_hint)}</p></div>@@ -463,7 +463,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {value={leadFilter}onChange={(e) => setLeadFilter(e.target.value)}placeholder={t(($) => $.create_project.lead_placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div className="p-1 max-h-60 overflow-y-auto">@@ -473,14 +473,14 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {updateLead(undefined, undefined);setLeadOpen(false);}}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><UserMinus className="h-3.5 w-3.5 text-muted-foreground" /><span className="text-muted-foreground">{t(($) => $.create_project.no_lead)}</span></button>{filteredMembers.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.create_project.members_group)}</div>{filteredMembers.map((m) => (@@ -491,7 +491,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {updateLead("member", m.user_id);setLeadOpen(false);}}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="member" actorId={m.user_id} size="sm" /><span>{m.name}</span>@@ -501,7 +501,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {)}{filteredAgents.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.create_project.agents_group)}</div>{filteredAgents.map((a) => (@@ -512,7 +512,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {updateLead("agent", a.id);setLeadOpen(false);}}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="agent" actorId={a.id} size="sm" showStatusDot /><span>{a.name}</span>@@ -523,7 +523,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {{filteredMembers.length === 0 &&filteredAgents.length === 0 &&leadFilter && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.create_project.no_results)}</div>)}@@ -596,7 +596,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {type="button"onClick={() => handleSourceModeChange("repos")}className={cn(- "rounded px-2 py-1 text-xs transition-colors",+ "rounded px-2 py-1 text-caption transition-colors",sourceMode === "repos"? "bg-background shadow-sm font-medium": "text-muted-foreground hover:text-foreground",@@ -608,7 +608,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {type="button"onClick={() => handleSourceModeChange("local")}className={cn(- "rounded px-2 py-1 text-xs transition-colors",+ "rounded px-2 py-1 text-caption transition-colors",sourceMode === "local"? "bg-background shadow-sm font-medium": "text-muted-foreground hover:text-foreground",@@ -621,7 +621,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {{sourceMode === "repos" ? (<>- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) => $.create_project.repos_heading)}</div>{workspaceRepos.length > 0 ? (@@ -634,12 +634,12 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {onChange={(e) => setRepoSearch(e.target.value)}aria-label={t(($) => $.create_project.repos_search_placeholder)}placeholder={t(($) => $.create_project.repos_search_placeholder)}- className="h-8 w-full rounded-md border bg-transparent pl-7 pr-2 text-xs outline-none placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="h-8 w-full rounded-md border bg-transparent pl-7 pr-2 text-caption outline-none placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring"/></div><div className="max-h-48 space-y-1 overflow-y-auto">{filteredWorkspaceRepos.length === 0 && repoQuery && (- <p className="py-2 text-center text-xs text-muted-foreground">+ <p className="py-2 text-center text-caption text-muted-foreground">{t(($) => $.create_project.repos_search_empty)}</p>)}@@ -651,7 +651,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {key={repo.url}onClick={() => toggleRepo(repo.url)}className={cn(- "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-xs hover:bg-accent transition-colors",+ "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-caption hover:bg-accent transition-colors",checked && "bg-accent",)}>@@ -669,7 +669,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {</div></>) : (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.create_project.repos_empty)}</p>)}@@ -685,13 +685,13 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {value={customRepoUrl}onChange={(e) => setCustomRepoUrl(e.target.value)}placeholder={t(($) => $.create_project.repos_url_placeholder)}- className="flex-1 bg-transparent text-xs px-2 py-1 outline-none placeholder:text-muted-foreground"+ className="flex-1 bg-transparent text-caption px-2 py-1 outline-none placeholder:text-muted-foreground"/><Buttontype="submit"size="sm"variant="ghost"- className="h-6 px-2 text-xs"+ className="h-6 px-2 text-caption"disabled={!customRepoUrl.trim()}>{t(($) => $.create_project.repos_add)}@@ -699,13 +699,13 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {</form>{selectedRepos.length > 0 && (<div className="space-y-1 pt-1 border-t">- <div className="text-[10px] font-medium text-muted-foreground uppercase tracking-wider">+ <div className="text-micro font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.create_project.repos_selected)}</div>{selectedRepos.map((url) => (<divkey={url}- className="flex items-center gap-2 text-xs"+ className="flex items-center gap-2 text-caption"><GithubIcon className="size-3 text-muted-foreground" /><RepoUrlText url={url} />@@ -723,7 +723,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {</>) : (<>- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) => $.create_project.local_heading)}</div>{/* Daemon must be online — daemon_id is required to bind@@ -731,26 +731,26 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {the picker; once it boots we re-render automaticallyvia useLocalDaemonStatus. */}{daemonStatus.daemonId && daemonStatus.running ? (- <p className="text-[11px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.create_project.local_on_device, {device: daemonStatus.deviceName ?? t(($) => $.create_project.local_this_machine),})}</p>) : (- <p className="text-[11px] text-amber-600 dark:text-amber-400">+ <p className="text-micro text-amber-600 dark:text-amber-400">{t(($) => $.create_project.local_daemon_offline)}</p>)}{selectedLocalPath ? (<div className="rounded-md border px-2 py-2 space-y-1">- <div className="flex items-start gap-2 text-xs">+ <div className="flex items-start gap-2 text-caption"><FolderOpen className="mt-0.5 size-3.5 shrink-0 text-muted-foreground" /><div className="min-w-0 flex-1">{selectedLocalLabel && (<div className="font-medium truncate">{selectedLocalLabel}</div>)}- <div className="font-mono text-[10px] text-muted-foreground break-all">+ <div className="font-mono text-micro text-muted-foreground break-all">{selectedLocalPath}</div></div>@@ -767,7 +767,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {type="button"size="sm"variant="ghost"- className="h-6 w-full text-xs"+ className="h-6 w-full text-caption"onClick={handlePickLocalDirectory}disabled={localPicking || !daemonStatus.running}>@@ -779,7 +779,7 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {type="button"size="sm"variant="outline"- className="w-full text-xs"+ className="w-full text-caption"onClick={handlePickLocalDirectory}disabled={localPicking || !daemonStatus.running}>@@ -791,10 +791,10 @@ export function CreateProjectModal({ onClose }: { onClose: () => void }) {)}{localPickError && (- <p className="text-[11px] text-destructive">{localPickError}</p>+ <p className="text-micro text-destructive">{localPickError}</p>)}- <p className="text-[10px] text-muted-foreground leading-snug">+ <p className="text-micro text-muted-foreground leading-snug">{t(($) => $.create_project.local_hint)}</p></>diff --git a/packages/views/modals/create-squad.tsx b/packages/views/modals/create-squad.tsxindex 9517c56ddf..b4f58336c3 100644--- a/packages/views/modals/create-squad.tsx+++ b/packages/views/modals/create-squad.tsx@@ -144,10 +144,10 @@ export function CreateSquadModal({ onClose }: { onClose: () => void }) {<Dialog open onOpenChange={(v) => { if (!v) onClose(); }}><DialogContent className="p-0 gap-0 flex flex-col overflow-hidden !top-1/2 !left-1/2 !-translate-x-1/2 !-translate-y-1/2 !w-full !max-w-2xl !h-[85vh]"><DialogHeader className="border-b px-5 py-3 space-y-0">- <DialogTitle className="text-base font-semibold">+ <DialogTitle className="text-title-sm font-semibold">{t(($) => $.create_squad.title)}</DialogTitle>- <DialogDescription className="mt-1 text-xs">+ <DialogDescription className="mt-1 text-caption">{t(($) => $.create_squad.description)}</DialogDescription></DialogHeader>@@ -167,7 +167,7 @@ export function CreateSquadModal({ onClose }: { onClose: () => void }) {/><div className="flex-1 min-w-0 space-y-3"><div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_squad.name_label)}</Label><Input@@ -185,7 +185,7 @@ export function CreateSquadModal({ onClose }: { onClose: () => void }) {</div><div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_squad.description_label)}</Label><Input@@ -285,15 +285,15 @@ function LeaderPicker({return (<div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_squad.leader_label)}</Label>- <p className="mt-0.5 mb-1.5 text-xs text-muted-foreground">+ <p className="mt-0.5 mb-1.5 text-caption text-muted-foreground">{t(($) => $.create_squad.leader_hint)}</p>{noAgents ? (- <div className="flex items-center gap-2 rounded-lg border border-dashed bg-muted/30 px-3 py-2.5 text-sm text-muted-foreground">+ <div className="flex items-center gap-2 rounded-lg border border-dashed bg-muted/30 px-3 py-2.5 text-body text-muted-foreground">{t(($) => $.create_squad.no_agents)}</div>) : (@@ -304,7 +304,7 @@ function LeaderPicker({if (!v) setFilter("");}}>- <PopoverTrigger className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 text-left text-sm transition-colors hover:bg-muted">+ <PopoverTrigger className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 text-left text-body transition-colors hover:bg-muted">{selected ? (<ActorAvatar actorType="agent" actorId={selected.id} size="sm" showStatusDot />) : (@@ -315,7 +315,7 @@ function LeaderPicker({{selected?.name ?? t(($) => $.create_squad.leader_placeholder)}</div>{selected?.description && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{selected.description}</div>)}@@ -334,7 +334,7 @@ function LeaderPicker({value={filter}onChange={(e) => setFilter(e.target.value)}placeholder={t(($) => $.create_squad.picker_search_placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div className="max-h-72 overflow-y-auto p-1">@@ -456,13 +456,13 @@ function AdditionalMembersPicker({return (<div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.create_squad.members_label)}{" "}<span className="text-muted-foreground/60">{t(($) => $.create_squad.members_optional)}</span></Label>- <p className="mt-0.5 mb-1.5 text-xs text-muted-foreground">+ <p className="mt-0.5 mb-1.5 text-caption text-muted-foreground">{t(($) => $.create_squad.members_hint)}</p>@@ -485,7 +485,7 @@ function AdditionalMembersPicker({aria-expanded={open}aria-controls="squad-member-listbox"tabIndex={0}- className="flex w-full min-w-0 cursor-pointer items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 text-left text-sm transition-colors hover:bg-muted focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"+ className="flex w-full min-w-0 cursor-pointer items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 text-left text-body transition-colors hover:bg-muted focus:outline-hidden focus-visible:ring-2 focus-visible:ring-ring">{value.length === 0 ? (<>@@ -504,7 +504,7 @@ function AdditionalMembersPicker({/>))}{value.length > CHIP_DISPLAY_LIMIT && (- <span className="rounded-md bg-muted px-1.5 py-0.5 text-xs font-medium text-muted-foreground tabular-nums">+ <span className="rounded-md bg-muted px-1.5 py-0.5 text-caption font-medium text-muted-foreground tabular-nums">{t(($) => $.create_squad.members_more_count, {count: value.length - CHIP_DISPLAY_LIMIT,})}@@ -528,7 +528,7 @@ function AdditionalMembersPicker({value={filter}onChange={(e) => setFilter(e.target.value)}placeholder={t(($) => $.create_squad.picker_search_placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div id="squad-member-listbox" role="listbox" className="max-h-72 overflow-y-auto p-1">@@ -597,7 +597,7 @@ function MemberChip({}) {const { t } = useT("modals");return (- <span className="inline-flex items-center gap-1 rounded-full border bg-background px-1.5 py-0.5 text-xs">+ <span className="inline-flex items-center gap-1 rounded-full border bg-background px-1.5 py-0.5 text-caption"><ActorAvatar actorType={m.type} actorId={m.id} size="xs" /><span className="max-w-[120px] truncate">{m.name}</span><buttondiff --git a/packages/views/modals/create-workspace.tsx b/packages/views/modals/create-workspace.tsxindex 8d296b29fb..bb8d7bffe3 100644--- a/packages/views/modals/create-workspace.tsx+++ b/packages/views/modals/create-workspace.tsx@@ -55,7 +55,7 @@ export function CreateWorkspaceModal({ onClose }: { onClose: () => void }) {<div className="flex w-full max-w-md flex-col items-center gap-6">{workspaceCreationDisabled ? (<div className="text-center">- <DialogTitle className="text-2xl font-semibold">+ <DialogTitle className="text-display-sm font-semibold">{tWorkspace(($) => $.creation_disabled.title)}</DialogTitle><DialogDescription className="mt-2">@@ -65,7 +65,7 @@ export function CreateWorkspaceModal({ onClose }: { onClose: () => void }) {) : (<><div className="text-center">- <DialogTitle className="text-2xl font-semibold">+ <DialogTitle className="text-display-sm font-semibold">{t(($) => $.create_workspace.title)}</DialogTitle><DialogDescription className="mt-2">diff --git a/packages/views/modals/delete-issue-confirm.tsx b/packages/views/modals/delete-issue-confirm.tsxindex 066de4e814..fc9f2f93e3 100644--- a/packages/views/modals/delete-issue-confirm.tsx+++ b/packages/views/modals/delete-issue-confirm.tsx@@ -59,7 +59,7 @@ export function DeleteIssueConfirmModal({<AlertDialogTitle>{t(($) => $.delete_issue.title)}</AlertDialogTitle><AlertDialogDescription>{t(($) => $.delete_issue.description)}- <span className="mt-2 block text-xs text-muted-foreground/80">+ <span className="mt-2 block text-caption text-muted-foreground/80">{t(($) => $.delete_issue.hint)}</span></AlertDialogDescription>diff --git a/packages/views/modals/feedback.tsx b/packages/views/modals/feedback.tsxindex dc0985a465..b6fdd16064 100644--- a/packages/views/modals/feedback.tsx+++ b/packages/views/modals/feedback.tsx@@ -130,7 +130,7 @@ export function FeedbackModal({<DialogContent className="sm:max-w-2xl !h-[28rem] p-0 gap-0 flex flex-col overflow-hidden"><DialogHeader className="px-5 pt-4 pb-2 shrink-0"><DialogTitle>{t(($) => $.feedback.title)}</DialogTitle>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.feedback.github_hint_prefix)}<ahref="https://github.com/multica-ai/multica/issues"diff --git a/packages/views/modals/issue-picker-modal.tsx b/packages/views/modals/issue-picker-modal.tsxindex d89b5c3820..3a263924ea 100644--- a/packages/views/modals/issue-picker-modal.tsx+++ b/packages/views/modals/issue-picker-modal.tsx@@ -101,7 +101,7 @@ export function IssuePickerModal({/><CommandList>{isLoading && (- <div className="py-6 text-center text-sm text-muted-foreground">+ <div className="py-6 text-center text-body text-muted-foreground">{t(($) => $.issue_picker.searching)}</div>)}@@ -109,7 +109,7 @@ export function IssuePickerModal({<CommandEmpty>{t(($) => $.issue_picker.no_results)}</CommandEmpty>)}{!isLoading && !query.trim() && (- <div className="py-6 text-center text-sm text-muted-foreground">+ <div className="py-6 text-center text-body text-muted-foreground">{t(($) => $.issue_picker.prompt_to_search)}</div>)}diff --git a/packages/views/modals/quick-create-issue.tsx b/packages/views/modals/quick-create-issue.tsxindex 0db4f80013..95f69277cd 100644--- a/packages/views/modals/quick-create-issue.tsx+++ b/packages/views/modals/quick-create-issue.tsx@@ -543,7 +543,7 @@ export function AgentCreatePanel({{/* Header */}<div className="flex items-center justify-between px-5 pt-3 pb-2 shrink-0">- <div className="flex items-center gap-1.5 text-xs">+ <div className="flex items-center gap-1.5 text-caption"><span className="text-muted-foreground">{workspaceName}</span><ChevronRight className="size-3 text-muted-foreground/50" /><span className="font-medium">{t(($) => $.create_issue.agent_breadcrumb)}</span>@@ -595,7 +595,7 @@ export function AgentCreatePanel({</div>{selectedAgent && versionBlocked && (- <div className="mx-5 mb-2 shrink-0 rounded-md border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">+ <div className="mx-5 mb-2 shrink-0 rounded-md border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-caption text-amber-700 dark:text-amber-300">{versionCheck.state === "missing"? t(($) => $.create_issue.agent.version_missing, { min: versionCheck.min }): t(($) => $.create_issue.agent.version_below, {@@ -635,7 +635,7 @@ export function AgentCreatePanel({{error && (- <div className="px-5 pb-2 text-xs text-destructive">{error}</div>+ <div className="px-5 pb-2 text-caption text-destructive">{error}</div>)}{/* Property toolbar — the project is visible by default; priority and@@ -738,7 +738,7 @@ export function AgentCreatePanel({{parentIssueId && (<spandata-testid="agent-sub-issue-chip"- className="inline-flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground"+ className="inline-flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-caption text-muted-foreground"title={t(($) => $.create_issue.agent.sub_issue_of, {identifier: parentIssueIdentifier ?? "",})}@@ -762,7 +762,7 @@ export function AgentCreatePanel({onSelect={(file) => editorRef.current?.uploadFile(file)}/>{keepOpen && sentCount > 0 && (- <span className="text-xs text-emerald-600 dark:text-emerald-400">+ <span className="text-caption text-emerald-600 dark:text-emerald-400">{t(($) => $.create_issue.agent.sent_count, { count: sentCount })}</span>)}@@ -775,12 +775,12 @@ export function AgentCreatePanel({aria-disabled={gate.uploading || undefined}aria-busy={gate.uploading || undefined}title={t(($) => $.create_issue.switch_to_manual_tooltip)}- className="flex shrink-0 items-center gap-1.5 text-xs px-2 py-1 rounded-sm text-muted-foreground hover:text-foreground hover:bg-accent/60 transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-50"+ className="flex shrink-0 items-center gap-1.5 text-caption px-2 py-1 rounded-sm text-muted-foreground hover:text-foreground hover:bg-accent/60 transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-50"><ArrowLeftRight className="size-3.5" />{t(($) => $.create_issue.switch_to_manual)}</button>- <label className="flex shrink-0 items-center gap-1.5 text-xs text-muted-foreground cursor-pointer select-none">+ <label className="flex shrink-0 items-center gap-1.5 text-caption text-muted-foreground cursor-pointer select-none"><Switchsize="sm"checked={keepOpen}@@ -879,7 +879,7 @@ function ActorPicker({searchPlaceholder={t(($) => $.create_issue.agent.search_placeholder)}onSearchChange={setFilter}trigger={- <span className="flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors">+ <span className="flex items-center gap-2 text-caption text-muted-foreground hover:text-foreground transition-colors"><span>{t(($) => $.create_issue.agent.created_by)}</span>{displayActor && displayLabel ? (<span className="flex items-center gap-1.5 text-foreground">@@ -900,7 +900,7 @@ function ActorPicker({query ? (<PickerEmpty />) : (- <div className="px-2 py-1.5 text-xs text-muted-foreground">+ <div className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.create_issue.agent.no_agents)}</div>)diff --git a/packages/views/modals/run-confirm.tsx b/packages/views/modals/run-confirm.tsxindex c3763a78a1..b80e5b3075 100644--- a/packages/views/modals/run-confirm.tsx+++ b/packages/views/modals/run-confirm.tsx@@ -188,7 +188,7 @@ export function RunConfirmModal({{/* Always mounted and always usable on the first frame — nothing aboutthis box depends on a server answer. */}<div className="grid gap-1.5">- <label className="text-sm font-medium" htmlFor="handoff-note">+ <label className="text-body font-medium" htmlFor="handoff-note">{t(($) => $.run_confirm.note_label)}</label><Textarea@@ -201,7 +201,7 @@ export function RunConfirmModal({rows={3}/>{noteDisabled ? (- <p className="text-xs text-muted-foreground">{t(($) => $.run_confirm.note_unsupported)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.run_confirm.note_unsupported)}</p>) : null}</div>diff --git a/packages/views/my-issues/components/my-issues-header.tsx b/packages/views/my-issues/components/my-issues-header.tsxindex 16b9eb6343..5b0b385f6f 100644--- a/packages/views/my-issues/components/my-issues-header.tsx+++ b/packages/views/my-issues/components/my-issues-header.tsx@@ -116,7 +116,7 @@ export function MyIssuesHeader({<div className="flex shrink-0 items-center gap-1">{agentRunningFilter && (- <span className="mr-1 hidden text-xs text-muted-foreground md:inline">+ <span className="mr-1 hidden text-caption text-muted-foreground md:inline">{tIssues(($) => $.agent_activity.filter_active_label)}</span>)}diff --git a/packages/views/my-issues/components/my-issues-page.tsx b/packages/views/my-issues/components/my-issues-page.tsxindex 37ad4bde47..67ee00b43f 100644--- a/packages/views/my-issues/components/my-issues-page.tsx+++ b/packages/views/my-issues/components/my-issues-page.tsx@@ -22,7 +22,7 @@ export function MyIssuesPage() {<div className="flex flex-1 min-h-0 flex-col"><PageHeader className="gap-2"><ListTodo className="h-4 w-4 text-muted-foreground" />- <h1 className="text-sm font-medium">{t(($) => $.page.breadcrumb)}</h1>+ <h1 className="text-body font-medium">{t(($) => $.page.breadcrumb)}</h1></PageHeader>{user ? (@@ -48,8 +48,8 @@ export function MyIssuesPage() {renderEmpty={() => (<div className="flex flex-1 min-h-0 flex-col items-center justify-center gap-2 text-muted-foreground"><ListTodo className="h-10 w-10 text-muted-foreground/40" />- <p className="text-sm">{t(($) => $.page.empty_title)}</p>- <p className="text-xs">{t(($) => $.page.empty_description)}</p>+ <p className="text-body">{t(($) => $.page.empty_title)}</p>+ <p className="text-caption">{t(($) => $.page.empty_description)}</p></div>)}/>diff --git a/packages/views/onboarding/components/cloud-waitlist-expand.tsx b/packages/views/onboarding/components/cloud-waitlist-expand.tsxindex 138e75c4d0..ec049b09e0 100644--- a/packages/views/onboarding/components/cloud-waitlist-expand.tsx+++ b/packages/views/onboarding/components/cloud-waitlist-expand.tsx@@ -59,7 +59,7 @@ export function CloudWaitlistExpand({return (<div className="flex flex-col gap-4 rounded-lg border bg-muted/40 p-5">- <p className="text-[13.5px] leading-[1.55] text-foreground/85">+ <p className="text-label leading-[1.55] text-foreground/85">{t(($) => $.cloud_waitlist.intro_main)}{" "}<span className="text-foreground/70">{t(($) => $.cloud_waitlist.intro_warning)}@@ -69,7 +69,7 @@ export function CloudWaitlistExpand({<div className="flex flex-col gap-1.5"><LabelhtmlFor="waitlist-email"- className="text-xs font-medium text-muted-foreground"+ className="text-caption font-medium text-muted-foreground">{t(($) => $.cloud_waitlist.email_label)}</Label>@@ -93,7 +93,7 @@ export function CloudWaitlistExpand({<div className="flex flex-col gap-1.5"><LabelhtmlFor="waitlist-reason"- className="text-xs font-medium text-muted-foreground"+ className="text-caption font-medium text-muted-foreground">{t(($) => $.cloud_waitlist.reason_label)}<span className="ml-2 font-normal text-muted-foreground/70">diff --git a/packages/views/onboarding/components/compact-runtime-row.tsx b/packages/views/onboarding/components/compact-runtime-row.tsxindex 5fa52d7dc5..e8bc1a2c83 100644--- a/packages/views/onboarding/components/compact-runtime-row.tsx+++ b/packages/views/onboarding/components/compact-runtime-row.tsx@@ -42,10 +42,10 @@ export function CompactRuntimeRow({><ProviderLogo provider={runtime.provider} className="h-5 w-5" /><div className="min-w-0 flex-1">- <div className="truncate text-sm font-medium">+ <div className="truncate text-body font-medium">{runtimeDisplayName(runtime)}</div>- <div className="text-xs text-muted-foreground">{runtime.provider}</div>+ <div className="text-caption text-muted-foreground">{runtime.provider}</div></div><spanclassName={cn(diff --git a/packages/views/onboarding/components/icon-option-card.tsx b/packages/views/onboarding/components/icon-option-card.tsxindex 0ee7af7c04..fc7686fedd 100644--- a/packages/views/onboarding/components/icon-option-card.tsx+++ b/packages/views/onboarding/components/icon-option-card.tsx@@ -64,11 +64,11 @@ export function IconOptionCard({><spanaria-hidden- className="flex h-7 w-7 shrink-0 items-center justify-center text-[18px] leading-none text-foreground"+ className="flex h-7 w-7 shrink-0 items-center justify-center text-title leading-none text-foreground">{icon}</span>- <span className="text-[14px] font-medium leading-tight text-foreground">+ <span className="text-body font-medium leading-tight text-foreground">{label}</span></button>@@ -118,7 +118,7 @@ export function IconOtherOptionCard({><spanaria-hidden- className="flex h-7 w-7 shrink-0 items-center justify-center text-[18px] leading-none text-foreground"+ className="flex h-7 w-7 shrink-0 items-center justify-center text-title leading-none text-foreground">{icon}</span>@@ -137,10 +137,10 @@ export function IconOtherOptionCard({placeholder={placeholder}maxLength={OTHER_INPUT_MAX_LENGTH}aria-label={placeholder}- className="min-w-0 flex-1 border-0 bg-transparent p-0 text-[14px] font-medium leading-tight text-foreground placeholder:text-muted-foreground/60 focus:outline-none"+ className="min-w-0 flex-1 border-0 bg-transparent p-0 text-body font-medium leading-tight text-foreground placeholder:text-muted-foreground/60 focus:outline-none"/>) : (- <span className="text-[14px] font-medium leading-tight text-foreground">+ <span className="text-body font-medium leading-tight text-foreground">{label}</span>)}diff --git a/packages/views/onboarding/components/option-card.tsx b/packages/views/onboarding/components/option-card.tsxindex 4754923f06..9cd255f5ea 100644--- a/packages/views/onboarding/components/option-card.tsx+++ b/packages/views/onboarding/components/option-card.tsx@@ -37,7 +37,7 @@ export function OptionCard({)}><RadioMark selected={selected} />- <span className="text-[14.5px] font-normal leading-tight text-foreground">+ <span className="text-body font-normal leading-tight text-foreground">{label}</span></button>@@ -83,7 +83,7 @@ export function OtherOptionCard({className="flex w-full items-center gap-3.5 px-4 py-2.5 text-left"><RadioMark selected={selected} />- <span className="text-[14.5px] font-normal leading-tight text-foreground">+ <span className="text-body font-normal leading-tight text-foreground">{t(($) => $.option_card.other_label)}</span></button>@@ -96,7 +96,7 @@ export function OtherOptionCard({onChange={(e) => onOtherChange(e.target.value)}placeholder={placeholder}maxLength={OTHER_INPUT_MAX_LENGTH}- className="h-8 rounded-none border-x-0 border-t-0 border-b px-0 text-sm shadow-none focus-visible:border-foreground focus-visible:ring-0"+ className="h-8 rounded-none border-x-0 border-t-0 border-b px-0 text-body shadow-none focus-visible:border-foreground focus-visible:ring-0"aria-label={placeholder}/></div>diff --git a/packages/views/onboarding/components/runtime-aside-panel.tsx b/packages/views/onboarding/components/runtime-aside-panel.tsxindex d80afd186b..4e3a232981 100644--- a/packages/views/onboarding/components/runtime-aside-panel.tsx+++ b/packages/views/onboarding/components/runtime-aside-panel.tsx@@ -18,10 +18,10 @@ export function RuntimeAsidePanel() {return (<div className="flex flex-col gap-6"><section>- <div className="mb-3 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mb-3 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.runtime_aside.what_eyebrow)}</div>- <p className="text-[14px] leading-[1.6] text-foreground/80">+ <p className="text-body leading-[1.6] text-foreground/80">{t(($) => $.runtime_aside.what_prefix)}<strong className="font-medium text-foreground">{t(($) => $.runtime_aside.what_term)}</strong>{t(($) => $.runtime_aside.what_suffix)}@@ -29,7 +29,7 @@ export function RuntimeAsidePanel() {</section><section>- <div className="mb-3 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mb-3 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.runtime_aside.good_eyebrow)}</div><div className="flex flex-col gap-4">@@ -50,7 +50,7 @@ export function RuntimeAsidePanel() {href={installDocHref}target="_blank"rel="noopener noreferrer"- className="self-start text-[13px] text-muted-foreground underline underline-offset-4 transition-colors hover:text-foreground"+ className="self-start text-label text-muted-foreground underline underline-offset-4 transition-colors hover:text-foreground">{t(($) => $.runtime_aside.learn_more)}</a>@@ -71,13 +71,13 @@ function AsideItem({<div className="grid grid-cols-[22px_1fr] gap-3"><divaria-hidden- className="flex h-[20px] w-[20px] items-center justify-center text-[14px] text-muted-foreground"+ className="flex h-[20px] w-[20px] items-center justify-center text-body text-muted-foreground">{glyph}</div><div className="flex flex-col">- <div className="text-[13.5px] font-medium text-foreground">{title}</div>- <div className="mt-1 text-[12.5px] leading-[1.55] text-muted-foreground">+ <div className="text-label font-medium text-foreground">{title}</div>+ <div className="mt-1 text-caption leading-[1.55] text-muted-foreground">{body}</div></div>diff --git a/packages/views/onboarding/components/step-header.tsx b/packages/views/onboarding/components/step-header.tsxindex 2e97948ef5..69cb69430c 100644--- a/packages/views/onboarding/components/step-header.tsx+++ b/packages/views/onboarding/components/step-header.tsx@@ -66,7 +66,7 @@ export function StepHeader({ currentStep }: { currentStep: OnboardingStep }) {);})}</div>- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.step_header.step_of, { current: safeIndex + 1, total })}</span></div>diff --git a/packages/views/onboarding/source-backfill-modal.tsx b/packages/views/onboarding/source-backfill-modal.tsxindex c61317308d..3a504b89b8 100644--- a/packages/views/onboarding/source-backfill-modal.tsx+++ b/packages/views/onboarding/source-backfill-modal.tsx@@ -300,13 +300,13 @@ function SourceBackfillDialogBody({return (<DialogContent className="sm:max-w-2xl p-0 gap-0 overflow-hidden"><div className="px-6 pt-6 pb-2">- <div className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="text-micro font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.source_backfill.eyebrow)}</div>- <h2 className="mt-1 text-balance font-serif text-2xl font-medium leading-tight tracking-tight text-foreground">+ <h2 className="mt-1 text-balance font-serif text-display-sm font-medium leading-tight tracking-tight text-foreground">{t(($) => $.questions.source.question)}</h2>- <p className="mt-2 text-sm text-muted-foreground">+ <p className="mt-2 text-body text-muted-foreground">{t(($) => $.source_backfill.lede)}</p></div>@@ -346,7 +346,7 @@ function SourceBackfillDialogBody({<div className="mt-4 flex flex-wrap items-center justify-end gap-x-4 gap-y-2 border-t bg-muted/40 px-6 py-3"><spanaria-live="polite"- className="mr-auto text-xs text-muted-foreground"+ className="mr-auto text-caption text-muted-foreground">{canSubmit? t(($) => $.source_backfill.hint_ready)diff --git a/packages/views/onboarding/steps/cli-install-instructions.tsx b/packages/views/onboarding/steps/cli-install-instructions.tsxindex e6aaada478..fa3f19c38e 100644--- a/packages/views/onboarding/steps/cli-install-instructions.tsx+++ b/packages/views/onboarding/steps/cli-install-instructions.tsx@@ -43,10 +43,10 @@ function CopyButton({ text }: { text: string }) {function Step({ n, label, cmd }: { n: number; label: string; cmd: string }) {return (<div>- <p className="mb-1.5 text-xs font-medium text-foreground">+ <p className="mb-1.5 text-caption font-medium text-foreground">{n}. {label}</p>- <div className="flex items-start gap-2 rounded-lg bg-muted px-3 py-2.5 font-mono text-sm">+ <div className="flex items-start gap-2 rounded-lg bg-muted px-3 py-2.5 font-mono text-body"><Terminal className="mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" /><codeclassName={cn(@@ -75,7 +75,7 @@ export function CliInstallInstructions() {return (<Card className="w-full"><CardContent className="space-y-4 pt-4">- <p className="text-xs leading-[1.55] text-muted-foreground">+ <p className="text-caption leading-[1.55] text-muted-foreground">{t(($) => $.cli_install.intro)}</p><Step n={1} label={t(($) => $.cli_install.step1_label)} cmd={INSTALL_CMD} />diff --git a/packages/views/onboarding/steps/step-about-you.tsx b/packages/views/onboarding/steps/step-about-you.tsxindex 8daa6461aa..1a354ee043 100644--- a/packages/views/onboarding/steps/step-about-you.tsx+++ b/packages/views/onboarding/steps/step-about-you.tsx@@ -186,7 +186,7 @@ export function StepAboutYou({<buttontype="button"onClick={onBack}- className="flex items-center gap-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-body text-muted-foreground transition-colors hover:text-foreground"><ArrowLeft className="h-3.5 w-3.5" />{t(($) => $.common.back)}@@ -205,10 +205,10 @@ export function StepAboutYou({className="min-h-0 flex-1 overflow-y-auto"><div className="mx-auto w-full max-w-[920px] px-6 py-10 sm:px-10 md:px-14 lg:py-14">- <div className="mb-2 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mb-2 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.questions.eyebrow_about_you)}</div>- <h1 className="text-balance font-serif text-[34px] font-medium leading-[1.15] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.15] tracking-tight text-foreground">{t(($) => $.questions.about_you.question)}</h1>@@ -240,7 +240,7 @@ export function StepAboutYou({<div className="mt-10 flex flex-wrap items-center justify-end gap-x-4 gap-y-2"><spanaria-live="polite"- className="mr-auto text-xs text-muted-foreground"+ className="mr-auto text-caption text-muted-foreground">{footerHint}</span>@@ -299,10 +299,10 @@ function QuestionGroup({return (<section className="mt-10"><div className="flex items-baseline gap-3">- <span aria-hidden className="font-mono text-xs text-muted-foreground">+ <span aria-hidden className="font-mono text-caption text-muted-foreground">{String(number).padStart(2, "0")}</span>- <h2 className="text-[17px] font-medium leading-snug text-foreground">+ <h2 className="text-title font-medium leading-snug text-foreground">{question}</h2></div>diff --git a/packages/views/onboarding/steps/step-platform-fork.tsx b/packages/views/onboarding/steps/step-platform-fork.tsxindex efc5dc044d..46c5e472cd 100644--- a/packages/views/onboarding/steps/step-platform-fork.tsx+++ b/packages/views/onboarding/steps/step-platform-fork.tsx@@ -105,7 +105,7 @@ export function StepPlatformFork({<buttontype="button"onClick={onBack}- className="flex items-center gap-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-body text-muted-foreground transition-colors hover:text-foreground"><ArrowLeft className="h-3.5 w-3.5" />{t(($) => $.common.back)}@@ -124,13 +124,13 @@ export function StepPlatformFork({className="min-h-0 flex-1 overflow-y-auto"><div className="mx-auto w-full max-w-[620px] px-6 py-10 sm:px-10 md:px-14 lg:px-0 lg:py-14">- <div className="mb-2 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mb-2 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.step_platform.eyebrow)}</div>- <h1 className="text-balance font-serif text-[36px] font-medium leading-[1.1] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.1] tracking-tight text-foreground">{t(($) => $.step_platform.headline)}</h1>- <p className="mt-4 max-w-[560px] text-[15.5px] leading-[1.55] text-muted-foreground">+ <p className="mt-4 max-w-[560px] text-body-lg leading-[1.55] text-muted-foreground">{t(($) => $.step_platform.lede)}</p>@@ -159,7 +159,7 @@ export function StepPlatformFork({<div className="mt-8 flex max-w-[560px] flex-wrap items-center justify-between gap-x-4 gap-y-2"><spanaria-live="polite"- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground">{footerHint}</span>@@ -219,13 +219,13 @@ function ForkPrimary({)}><div className="min-w-0">- <div className="flex items-center gap-2 text-[17px] font-medium tracking-tight">+ <div className="flex items-center gap-2 text-title font-medium tracking-tight"><Download className="h-4 w-4" aria-hidden />{downloaded? t(($) => $.step_platform.download_title_after): t(($) => $.step_platform.download_title)}</div>- <div className="mt-1 text-[13px] text-background/60">+ <div className="mt-1 text-label text-background/60">{downloaded? t(($) => $.step_platform.download_subtitle_after): t(($) => $.step_platform.download_subtitle)}@@ -233,7 +233,7 @@ function ForkPrimary({</div><spanaria-hidden- className="inline-flex shrink-0 items-center gap-1.5 rounded-full bg-background/10 px-4 py-2 text-[13px] font-medium transition-colors group-hover:bg-background/20"+ className="inline-flex shrink-0 items-center gap-1.5 rounded-full bg-background/10 px-4 py-2 text-label font-medium transition-colors group-hover:bg-background/20">{t(($) => $.step_platform.download_button)}<ArrowRight className="h-3.5 w-3.5" />@@ -269,13 +269,13 @@ function ForkAlt({)}><div className="min-w-0">- <div className="text-[14.5px] font-medium text-foreground">{title}</div>- <div className="mt-1 text-[12.5px] leading-[1.5] text-muted-foreground">+ <div className="text-body font-medium text-foreground">{title}</div>+ <div className="mt-1 text-caption leading-[1.5] text-muted-foreground">{subtitle}</div></div>{disabled ? (- <span className="shrink-0 rounded-full border bg-muted px-3 py-1 text-[12px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded-full border bg-muted px-3 py-1 text-caption font-medium text-muted-foreground">{actionLabel}</span>) : (@@ -342,7 +342,7 @@ function CliInstallDialog({{hasRuntimes ? (<>- <div className="flex items-center gap-2 pt-1 text-sm">+ <div className="flex items-center gap-2 pt-1 text-body"><div className="h-2 w-2 rounded-full bg-success" /><span className="font-medium">{t(($) => $.step_platform.runtimes_connected, { count: runtimes.length })}@@ -372,7 +372,7 @@ function CliInstallDialog({one" / "selected X". While still waiting, the body'sCliWaitingStatus already conveys the live-listening state,so an additional "Waiting..." footer line is duplication. */}- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{hasRuntimes? canConnect && selectedName? t(($) => $.step_runtime.hint_selected, { name: selectedName })@@ -459,7 +459,7 @@ function CliWaitingStatus({ dialogOpen }: { dialogOpen: boolean }) {return (<div className="flex flex-col gap-3 rounded-lg border bg-muted/30 p-4">- <div className="flex items-center gap-2 text-sm">+ <div className="flex items-center gap-2 text-body">{/* Pulsing green dot signals active WS subscription — theuseRuntimePicker hook is already subscribed to `daemon:register`,this is the visual confirmation that "we're listening". */}@@ -470,14 +470,14 @@ function CliWaitingStatus({ dialogOpen }: { dialogOpen: boolean }) {<span className="font-medium text-foreground">{t(($) => $.step_platform.live_listening)}</span>- <span className="ml-auto font-mono text-xs tabular-nums text-muted-foreground">+ <span className="ml-auto font-mono text-caption tabular-nums text-muted-foreground">{formatElapsed(elapsed)}</span></div><paria-live="polite"- className="text-[12.5px] leading-[1.55] text-muted-foreground"+ className="text-caption leading-[1.55] text-muted-foreground">{stage === "normal" && (<>diff --git a/packages/views/onboarding/steps/step-runtime-connect.tsx b/packages/views/onboarding/steps/step-runtime-connect.tsxindex 3d656edca0..bfea559757 100644--- a/packages/views/onboarding/steps/step-runtime-connect.tsx+++ b/packages/views/onboarding/steps/step-runtime-connect.tsx@@ -226,7 +226,7 @@ function FancyView({<buttontype="button"onClick={onBack}- className="flex items-center gap-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground"+ className="flex items-center gap-1.5 text-body text-muted-foreground transition-colors hover:text-foreground"><ArrowLeft className="h-3.5 w-3.5" />{t(($) => $.common.back)}@@ -290,7 +290,7 @@ function FancyView({<div className="mt-8 flex flex-wrap items-center justify-end gap-x-4 gap-y-2"><spanaria-live="polite"- className="mr-auto text-xs text-muted-foreground"+ className="mr-auto text-caption text-muted-foreground">{footerHint}</span>@@ -344,10 +344,10 @@ function ScanningView() {const { t } = useT("onboarding");return (<div>- <h1 className="text-balance font-serif text-[36px] font-medium leading-[1.1] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.1] tracking-tight text-foreground">{t(($) => $.step_runtime.scanning_headline)}</h1>- <p className="mt-4 max-w-[560px] text-[15.5px] leading-[1.55] text-muted-foreground">+ <p className="mt-4 max-w-[560px] text-body-lg leading-[1.55] text-muted-foreground">{t(($) => $.step_runtime.scanning_lede_prefix)}<span className="font-medium text-foreground">{"Claude Code"}</span>{", "}@@ -392,14 +392,14 @@ function FoundView({return (<div>- <h1 className="text-balance font-serif text-[36px] font-medium leading-[1.1] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.1] tracking-tight text-foreground">{t(($) => $.step_runtime.found_headline)}</h1>- <p className="mt-4 max-w-[560px] text-[15.5px] leading-[1.55] text-muted-foreground">+ <p className="mt-4 max-w-[560px] text-body-lg leading-[1.55] text-muted-foreground">{t(($) => $.step_runtime.found_lede)}</p>- <div className="mt-8 flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg bg-muted/60 px-4 py-2.5 text-xs">+ <div className="mt-8 flex flex-wrap items-center gap-x-2 gap-y-1 rounded-lg bg-muted/60 px-4 py-2.5 text-caption"><span className="font-semibold text-foreground">{t(($) => $.step_runtime.runtime_count, { count: total })}</span>@@ -449,7 +449,7 @@ function EmptyView({return (<div><div className="flex items-start justify-between gap-4">- <h1 className="text-balance font-serif text-[36px] font-medium leading-[1.1] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.1] tracking-tight text-foreground">{t(($) => $.step_runtime.empty_headline)}</h1><RefreshButton@@ -458,7 +458,7 @@ function EmptyView({className="mt-2 shrink-0"/></div>- <p className="mt-4 max-w-[560px] text-[15.5px] leading-[1.55] text-muted-foreground">+ <p className="mt-4 max-w-[560px] text-body-lg leading-[1.55] text-muted-foreground">{t(($) => $.step_runtime.empty_lede_prefix)}<span className="font-medium text-foreground">{"Claude Code"}</span>{", "}@@ -507,14 +507,14 @@ function ComingSoonCard({className="flex items-center justify-between gap-4 rounded-lg border border-dashed bg-muted/20 px-5 py-4 opacity-70"><div className="min-w-0">- <div className="text-[14.5px] font-medium text-foreground">{title}</div>- <p className="mt-1 text-[12.5px] leading-[1.55] text-muted-foreground">+ <div className="text-body font-medium text-foreground">{title}</div>+ <p className="mt-1 text-caption leading-[1.55] text-muted-foreground">{subtitle}</p></div><spanaria-hidden- className="inline-flex shrink-0 items-center rounded-full border bg-background px-3 py-1.5 text-[12px] font-medium uppercase tracking-wide text-muted-foreground"+ className="inline-flex shrink-0 items-center rounded-full border bg-background px-3 py-1.5 text-caption font-medium uppercase tracking-wide text-muted-foreground">{badgeLabel}</span>@@ -575,14 +575,14 @@ function EmptyCard({className="group flex items-center justify-between gap-4 rounded-lg border bg-card px-5 py-4 text-left transition-colors hover:border-foreground/30 hover:bg-muted/30"><div className="min-w-0">- <div className="text-[14.5px] font-medium text-foreground">{title}</div>- <p className="mt-1 text-[12.5px] leading-[1.55] text-muted-foreground">+ <div className="text-body font-medium text-foreground">{title}</div>+ <p className="mt-1 text-caption leading-[1.55] text-muted-foreground">{subtitle}</p></div><spanaria-hidden- className="inline-flex shrink-0 items-center gap-1.5 rounded-full border bg-background px-4 py-2 text-[13px] font-medium text-foreground transition-colors group-hover:border-foreground group-hover:bg-foreground group-hover:text-background"+ className="inline-flex shrink-0 items-center gap-1.5 rounded-full border bg-background px-4 py-2 text-label font-medium text-foreground transition-colors group-hover:border-foreground group-hover:bg-foreground group-hover:text-background">{actionLabel}<ArrowRight className="h-3.5 w-3.5" />@@ -624,10 +624,10 @@ function RuntimeCard({<ProviderLogo provider={runtime.provider} className="h-4 w-4" /></div><div className="min-w-0 flex-1">- <div className="truncate text-sm font-medium text-foreground">+ <div className="truncate text-body font-medium text-foreground">{runtimeDisplayName(runtime)}</div>- <div className="mt-0.5 flex items-center gap-1.5 font-mono text-[11px] text-muted-foreground">+ <div className="mt-0.5 flex items-center gap-1.5 font-mono text-micro text-muted-foreground"><spanclassName={cn("h-1.5 w-1.5 rounded-full",diff --git a/packages/views/onboarding/steps/step-welcome.tsx b/packages/views/onboarding/steps/step-welcome.tsxindex 572b059a14..998b556908 100644--- a/packages/views/onboarding/steps/step-welcome.tsx+++ b/packages/views/onboarding/steps/step-welcome.tsx@@ -79,7 +79,7 @@ export function StepWelcome({<div className="flex w-full max-w-[540px] flex-col gap-8"><div className="flex items-center gap-2.5"><MulticaIcon className="size-5 text-foreground" noSpin />- <span className="font-serif text-xl font-medium tracking-tight">+ <span className="font-serif text-title-lg font-medium tracking-tight">{t(($) => $.welcome.wordmark)}</span></div>@@ -92,10 +92,10 @@ export function StepWelcome({</h1><div className="flex flex-col gap-4">- <p className="text-lg leading-relaxed text-foreground/85">+ <p className="text-title leading-relaxed text-foreground/85">{t(($) => $.welcome.lede)}</p>- <p className="text-sm leading-relaxed text-muted-foreground">+ <p className="text-body leading-relaxed text-muted-foreground">{isWeb? t(($) => $.welcome.lede_web): t(($) => $.welcome.lede_desktop)}@@ -174,7 +174,7 @@ export function StepWelcome({<div className="hidden border-l bg-muted/40 lg:flex lg:flex-1 lg:flex-col lg:overflow-hidden"><DragStrip /><div className="flex flex-1 flex-col items-center justify-center gap-7 px-8 py-8">- <p className="max-w-[440px] text-balance text-center font-serif text-[15px] italic leading-snug text-muted-foreground">+ <p className="max-w-[440px] text-balance text-center font-serif text-body-lg italic leading-snug text-muted-foreground">{t(($) => $.welcome.illustration_caption)}</p><WelcomeIllustration />@@ -318,16 +318,16 @@ function MockActivityCard({<div className="flex items-center justify-between gap-3"><div className="flex min-w-0 items-center gap-2"><MockAvatar actor={actor} />- <span className="truncate text-sm font-medium text-foreground">+ <span className="truncate text-body font-medium text-foreground">{actor.name}</span></div>- <span className="shrink-0 font-mono text-[11px] text-muted-foreground">+ <span className="shrink-0 font-mono text-micro text-muted-foreground">{issueId}</span></div>- <p className="mt-2.5 text-sm leading-snug text-foreground/85">+ <p className="mt-2.5 text-body leading-snug text-foreground/85">{content}</p>@@ -341,7 +341,7 @@ function MockAvatar({ actor }: { actor: ActivityActor }) {return (<divaria-hidden- className="flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-foreground text-[11px] font-semibold text-background"+ className="flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-foreground text-micro font-semibold text-background">{actor.initial}</div>@@ -366,7 +366,7 @@ function StatusFooter({}) {const cfg = STATUS_CONFIG[status];return (- <div className="mt-3 flex items-center gap-2 text-xs">+ <div className="mt-3 flex items-center gap-2 text-caption"><spanclassName={cn("flex items-center gap-1.5 font-medium", cfg.iconColor)}>diff --git a/packages/views/onboarding/steps/step-workspace.tsx b/packages/views/onboarding/steps/step-workspace.tsxindex 770c7780d8..86facbaba0 100644--- a/packages/views/onboarding/steps/step-workspace.tsx+++ b/packages/views/onboarding/steps/step-workspace.tsx@@ -220,7 +220,7 @@ export function StepWorkspace({<div className="flex flex-col gap-1.5"><LabelhtmlFor="ws-name"- className="text-xs font-medium text-muted-foreground"+ className="text-caption font-medium text-muted-foreground">{t(($) => $.step_workspace.name_label)}</Label>@@ -240,12 +240,12 @@ export function StepWorkspace({<div className="flex flex-col gap-1.5"><LabelhtmlFor="ws-slug"- className="text-xs font-medium text-muted-foreground"+ className="text-caption font-medium text-muted-foreground">{t(($) => $.step_workspace.url_label)}</Label><div className="flex items-center rounded-md border bg-muted transition-colors focus-within:border-foreground">- <span className="select-none pl-3 font-mono text-sm text-muted-foreground">+ <span className="select-none pl-3 font-mono text-body text-muted-foreground">{`${urlHost}/`}</span><Input@@ -261,13 +261,13 @@ export function StepWorkspace({}}/></div>- {slugError && <p className="text-xs text-destructive">{slugError}</p>}+ {slugError && <p className="text-caption text-destructive">{slugError}</p>}</div><div className="flex flex-col gap-1.5">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) => $.step_workspace.issue_prefix_label)}</div>- <div className="text-sm leading-[1.55] text-muted-foreground">+ <div className="text-body leading-[1.55] text-muted-foreground">{t(($) => $.step_workspace.issue_prefix_prefix)}<span className="font-mono text-foreground">{issuePrefix(slug)}-123@@ -289,7 +289,7 @@ export function StepWorkspace({type="button"onClick={onBack}disabled={isCreating}- className="flex items-center gap-1.5 text-sm text-muted-foreground transition-colors hover:text-foreground disabled:opacity-40"+ className="flex items-center gap-1.5 text-body text-muted-foreground transition-colors hover:text-foreground disabled:opacity-40"><ArrowLeft className="h-3.5 w-3.5" />{t(($) => $.common.back)}@@ -308,7 +308,7 @@ export function StepWorkspace({className="min-h-0 flex-1 overflow-y-auto"><div className="mx-auto w-full max-w-[620px] px-6 py-10 sm:px-10 md:px-14 lg:px-0 lg:py-14">- <div className="mb-2 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mb-2 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{reusing? workspaceCreationAllowed? t(($) => $.step_workspace.eyebrow_resume)@@ -317,7 +317,7 @@ export function StepWorkspace({? t(($) => $.step_workspace.eyebrow_first): t(($) => $.step_workspace.creation_disabled_eyebrow)}</div>- <h1 className="text-balance font-serif text-[36px] font-medium leading-[1.1] tracking-tight text-foreground">+ <h1 className="text-balance font-serif text-display font-medium leading-[1.1] tracking-tight text-foreground">{reusing? workspaceCreationAllowed? t(($) => $.step_workspace.headline_resume, { name: reusing.name })@@ -326,7 +326,7 @@ export function StepWorkspace({? t(($) => $.step_workspace.headline_first): t(($) => $.step_workspace.creation_disabled_headline)}</h1>- <p className="mt-4 text-[15.5px] leading-[1.55] text-foreground/80">+ <p className="mt-4 text-body-lg leading-[1.55] text-foreground/80">{reusing? workspaceCreationAllowed? t(($) => $.step_workspace.lede_resume)@@ -368,7 +368,7 @@ export function StepWorkspace({<div className="mt-8 flex flex-wrap items-center justify-end gap-x-4 gap-y-2"><spanaria-live="polite"- className="mr-auto text-xs text-muted-foreground"+ className="mr-auto text-caption text-muted-foreground">{hint}</span>@@ -445,10 +445,10 @@ function ExistingWorkspaceCard({><WorkspaceAvatar name={workspace.name} avatarUrl={workspace.avatar_url} size="lg" /><div className="flex min-w-0 flex-1 flex-col">- <div className="truncate text-[14.5px] font-medium text-foreground">+ <div className="truncate text-body font-medium text-foreground">{workspace.name}</div>- <div className="truncate font-mono text-xs text-muted-foreground">+ <div className="truncate font-mono text-caption text-muted-foreground">{`${urlHost}/${workspace.slug}`}</div></div>@@ -498,10 +498,10 @@ function CreateNewWorkspaceCard({<Plus className="h-4 w-4" /></div><div className="flex min-w-0 flex-1 flex-col">- <div className="truncate text-[14.5px] font-medium text-foreground">+ <div className="truncate text-body font-medium text-foreground">{t(($) => $.step_workspace.create_new_title)}</div>- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{t(($) => $.step_workspace.create_new_subtitle)}</div></div>@@ -516,7 +516,7 @@ function CreateWorkspaceSide() {const { t } = useT("onboarding");return (<div className="flex flex-col gap-6">- <div className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.step_workspace.side_create_eyebrow)}</div>@@ -525,7 +525,7 @@ function CreateWorkspaceSide() {slug={t(($) => $.step_workspace.side_preview_slug)}/>- <div className="mt-2 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mt-2 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.step_workspace.side_things_eyebrow)}</div><div className="flex flex-col gap-3.5">@@ -542,13 +542,13 @@ function ExistingWorkspaceSide({ workspace }: { workspace: Workspace }) {const { t } = useT("onboarding");return (<div className="flex flex-col gap-6">- <div className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.step_workspace.side_existing_eyebrow)}</div><WorkspacePreviewCard name={workspace.name} slug={workspace.slug} />- <div className="mt-2 text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">+ <div className="mt-2 text-caption font-medium uppercase tracking-[0.08em] text-muted-foreground">{t(($) => $.step_workspace.side_next_eyebrow)}</div><div className="flex flex-col gap-3.5">@@ -582,10 +582,10 @@ function WorkspacePreviewCard({<div className="flex items-center gap-3 border-b px-4 py-3.5"><WorkspaceAvatar name={name} size="md" /><div className="flex min-w-0 flex-1 flex-col">- <div className="truncate text-[14px] font-medium text-foreground">+ <div className="truncate text-body font-medium text-foreground">{name}</div>- <div className="truncate font-mono text-[11.5px] text-muted-foreground">+ <div className="truncate font-mono text-micro text-muted-foreground">{`${urlHost}/${slug}`}</div></div>@@ -666,7 +666,7 @@ function EntityRow({</span><spanclassName={cn(- "flex-1 text-[13.5px]",+ "flex-1 text-label",dim ? "text-muted-foreground" : "text-foreground",)}>@@ -674,7 +674,7 @@ function EntityRow({</span><spanclassName={cn(- "font-mono text-[11.5px]",+ "font-mono text-micro",dim ? "text-muted-foreground/70" : "text-muted-foreground",)}>@@ -691,7 +691,7 @@ function PerkRow({ children }: { children: ReactNode }) {aria-hiddenclassName="mt-[11px] h-px w-3 shrink-0 bg-muted-foreground/40"/>- <div className="text-[13.5px] leading-[1.55] text-foreground/85">+ <div className="text-label leading-[1.55] text-foreground/85">{children}</div></div>diff --git a/packages/views/projects/components/local-directory-hint.tsx b/packages/views/projects/components/local-directory-hint.tsxindex e33f75da4c..b582da355b 100644--- a/packages/views/projects/components/local-directory-hint.tsx+++ b/packages/views/projects/components/local-directory-hint.tsx@@ -48,7 +48,7 @@ export function LocalDirectoryHint({if (matches.length === 0) return null;return (- <div className="mt-3 space-y-1 rounded-md border border-dashed bg-muted/40 px-3 py-2 text-xs text-muted-foreground">+ <div className="mt-3 space-y-1 rounded-md border border-dashed bg-muted/40 px-3 py-2 text-caption text-muted-foreground">{matches.map((resource) => {const ref = resource.resource_ref;const label = (ref.label || resource.label || ref.local_path).trim() ||diff --git a/packages/views/projects/components/project-badge.tsx b/packages/views/projects/components/project-badge.tsxindex 6c70c6d3a3..69426077fc 100644--- a/packages/views/projects/components/project-badge.tsx+++ b/packages/views/projects/components/project-badge.tsx@@ -27,7 +27,7 @@ export function ProjectStatusBadge({ project, handleUpdate, triggerClassName, al<DropdownMenuTriggerrender={<button type="button" className={cn(- "inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium cursor-pointer hover:opacity-80 transition-opacity",+ "inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-caption font-medium cursor-pointer hover:opacity-80 transition-opacity",statusCfg.badgeBg, statusCfg.badgeText,triggerClassName)}>@@ -57,11 +57,11 @@ export function ProjectPriorityBadge({ project, handleUpdate, triggerClassName,<DropdownMenuTriggerrender={<button type="button" className={cn(- "inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium hover:bg-accent/60 transition-colors cursor-pointer",+ "inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-caption font-medium hover:bg-accent/60 transition-colors cursor-pointer",triggerClassName)}><PriorityIcon priority={project.priority} />- <span className={cn("text-xs", priorityCfg.color)}>{priorityLabels[project.priority]}</span>+ <span className={cn("text-caption", priorityCfg.color)}>{priorityLabels[project.priority]}</span></button>}/>diff --git a/packages/views/projects/components/project-chip.tsx b/packages/views/projects/components/project-chip.tsxindex 6a6039c0af..2f50f5717e 100644--- a/packages/views/projects/components/project-chip.tsx+++ b/packages/views/projects/components/project-chip.tsx@@ -22,7 +22,7 @@ export interface ProjectChipProps {}const BASE_CLASS =- "project-chip inline-flex items-center gap-1.5 rounded-md border mx-0.5 px-2 py-0.5 text-xs max-w-72";+ "project-chip inline-flex items-center gap-1.5 rounded-md border mx-0.5 px-2 py-0.5 text-caption max-w-72";export function ProjectChip({projectId,diff --git a/packages/views/projects/components/project-detail.tsx b/packages/views/projects/components/project-detail.tsxindex e266a1e576..6c1327eb00 100644--- a/packages/views/projects/components/project-detail.tsx+++ b/packages/views/projects/components/project-detail.tsx@@ -85,8 +85,8 @@ function PropRow({}) {return (<div className="flex min-h-8 items-center gap-2 rounded-md px-2 -mx-2 hover:bg-accent/50 transition-colors">- <span className="w-16 shrink-0 text-xs text-muted-foreground">{label}</span>- <div className="flex min-w-0 flex-1 items-center gap-1.5 text-xs truncate">+ <span className="w-16 shrink-0 text-caption text-muted-foreground">{label}</span>+ <div className="flex min-w-0 flex-1 items-center gap-1.5 text-caption truncate">{children}</div></div>@@ -245,7 +245,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {render={<buttontype="button"- className="text-2xl cursor-pointer rounded-lg p-1 -ml-1 hover:bg-accent/60 transition-colors"+ className="text-display-sm cursor-pointer rounded-lg p-1 -ml-1 hover:bg-accent/60 transition-colors"title={t(($) => $.detail.icon_tooltip)}>{project.icon || "📁"}@@ -265,7 +265,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {key={`title-${projectId}`}defaultValue={project.title}placeholder={t(($) => $.detail.title_placeholder)}- className="mt-2 w-full text-base font-semibold leading-snug tracking-tight"+ className="mt-2 w-full text-title-sm font-semibold leading-snug tracking-tight"onBlur={(value) => {const trimmed = value.trim();if (trimmed && trimmed !== project.title) handleUpdateField({ title: trimmed });@@ -277,7 +277,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${propertiesOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${propertiesOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setPropertiesOpen(!propertiesOpen)}>{t(($) => $.detail.section_properties)}@@ -288,7 +288,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<DropdownMenu><DropdownMenuTriggerrender={- <button type="button" className="inline-flex items-center gap-1.5 text-xs hover:text-foreground transition-colors">+ <button type="button" className="inline-flex items-center gap-1.5 text-caption hover:text-foreground transition-colors"><span className={cn("size-2 rounded-full", statusCfg.dotColor)} /><span>{statusLabels[project.status]}</span></button>@@ -309,7 +309,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<DropdownMenu><DropdownMenuTriggerrender={- <button type="button" className="inline-flex items-center gap-1.5 text-xs hover:text-foreground transition-colors">+ <button type="button" className="inline-flex items-center gap-1.5 text-caption hover:text-foreground transition-colors"><PriorityIcon priority={project.priority} /><span>{priorityLabels[project.priority]}</span></button>@@ -330,7 +330,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<Popover open={leadOpen} onOpenChange={(v) => { setLeadOpen(v); if (!v) setLeadFilter(""); }}><PopoverTriggerrender={- <button type="button" className="inline-flex items-center gap-1.5 text-xs hover:text-foreground transition-colors">+ <button type="button" className="inline-flex items-center gap-1.5 text-caption hover:text-foreground transition-colors">{project.lead_type && project.lead_id ? (<><ActorAvatar actorType={project.lead_type} actorId={project.lead_id} size="sm" enableHoverCard showStatusDot />@@ -349,27 +349,27 @@ export function ProjectDetail({ projectId }: { projectId: string }) {value={leadFilter}onChange={(e) => setLeadFilter(e.target.value)}placeholder={t(($) => $.lead.assign_placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div className="p-1 max-h-60 overflow-y-auto"><buttontype="button"onClick={() => { handleUpdateField({ lead_type: null, lead_id: null }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><UserMinus className="h-3.5 w-3.5 text-muted-foreground" /><span className="text-muted-foreground">{t(($) => $.lead.no_lead)}</span></button>{filteredMembers.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.members_group)}</div>+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.members_group)}</div>{filteredMembers.map((m) => (<buttontype="button"key={m.user_id}onClick={() => { handleUpdateField({ lead_type: "member", lead_id: m.user_id }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="member" actorId={m.user_id} size="sm" /><span>{m.name}</span>@@ -379,13 +379,13 @@ export function ProjectDetail({ projectId }: { projectId: string }) {)}{filteredAgents.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.agents_group)}</div>+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.agents_group)}</div>{filteredAgents.map((a) => (<buttontype="button"key={a.id}onClick={() => { handleUpdateField({ lead_type: "agent", lead_id: a.id }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="agent" actorId={a.id} size="sm" showStatusDot /><span>{a.name}</span>@@ -394,7 +394,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {</>)}{filteredMembers.length === 0 && filteredAgents.length === 0 && leadFilter && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">{t(($) => $.lead.no_results)}</div>+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.lead.no_results)}</div>)}</div></PopoverContent>@@ -416,7 +416,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${progressOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${progressOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setProgressOpen(!progressOpen)}>{t(($) => $.detail.section_progress)}@@ -429,7 +429,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {style={{ width: `${pct}%` }}/></div>- <span className="text-xs text-muted-foreground tabular-nums shrink-0">+ <span className="text-caption text-muted-foreground tabular-nums shrink-0">{issueMetrics.completedCount}/{issueMetrics.totalCount}</span></div>}@@ -441,7 +441,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${descriptionOpen ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${descriptionOpen ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setDescriptionOpen(!descriptionOpen)}>{t(($) => $.detail.section_description)}@@ -456,7 +456,7 @@ export function ProjectDetail({ projectId }: { projectId: string }) {onUpdate={(md) => handleUpdateField({ description: md || null })}debounceMs={1500}/>- <p className="mt-1 px-2 text-xs text-muted-foreground">+ <p className="mt-1 px-2 text-caption text-muted-foreground">{t(($) => $.detail.description_hint)}</p></div>}diff --git a/packages/views/projects/components/project-icon.tsx b/packages/views/projects/components/project-icon.tsxindex a07e9ec9c2..1893375100 100644--- a/packages/views/projects/components/project-icon.tsx+++ b/packages/views/projects/components/project-icon.tsx@@ -10,9 +10,9 @@ export interface ProjectIconProps {}const SIZE_CLASS: Record<ProjectIconSize, string> = {- sm: "size-3.5 text-xs leading-none",- md: "size-4 text-sm leading-none",- lg: "size-6 text-2xl leading-none",+ sm: "size-3.5 text-caption leading-none",+ md: "size-4 text-body leading-none",+ lg: "size-6 text-display-sm leading-none",};export function ProjectIcon({ project, size = "sm", className }: ProjectIconProps) {diff --git a/packages/views/projects/components/project-lead-picker.tsx b/packages/views/projects/components/project-lead-picker.tsxindex 161c004e12..505af2c12e 100644--- a/packages/views/projects/components/project-lead-picker.tsx+++ b/packages/views/projects/components/project-lead-picker.tsx@@ -45,27 +45,27 @@ export function ProjectLeadPicker({ project, handleUpdate, renderTrigger, alignvalue={leadFilter}onChange={(e) => setLeadFilter(e.target.value)}placeholder={t(($) => $.lead.assign_placeholder)}- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div className="p-1 max-h-48 overflow-y-auto"><buttontype="button"onClick={() => { handleUpdate({ lead_type: null, lead_id: null }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><UserMinus className="h-3.5 w-3.5 text-muted-foreground" /><span className="text-muted-foreground">{t(($) => $.lead.no_lead)}</span></button>{filteredMembers.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.members_group)}</div>+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.members_group)}</div>{filteredMembers.map((m) => (<buttontype="button"key={m.user_id}onClick={() => { handleUpdate({ lead_type: "member", lead_id: m.user_id }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="member" actorId={m.user_id} size="sm" /><span>{m.name}</span>@@ -75,13 +75,13 @@ export function ProjectLeadPicker({ project, handleUpdate, renderTrigger, align)}{filteredAgents.length > 0 && (<>- <div className="px-2 pt-2 pb-1 text-xs font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.agents_group)}</div>+ <div className="px-2 pt-2 pb-1 text-caption font-medium text-muted-foreground uppercase tracking-wider">{t(($) => $.lead.agents_group)}</div>{filteredAgents.map((a) => (<buttontype="button"key={a.id}onClick={() => { handleUpdate({ lead_type: "agent", lead_id: a.id }); setLeadOpen(false); }}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-accent transition-colors"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-body hover:bg-accent transition-colors"><ActorAvatar actorType="agent" actorId={a.id} size="sm" showStatusDot /><span>{a.name}</span>@@ -90,7 +90,7 @@ export function ProjectLeadPicker({ project, handleUpdate, renderTrigger, align</>)}{filteredMembers.length === 0 && filteredAgents.length === 0 && leadFilter && (- <div className="px-2 py-3 text-center text-sm text-muted-foreground">{t(($) => $.lead.no_results)}</div>+ <div className="px-2 py-3 text-center text-body text-muted-foreground">{t(($) => $.lead.no_results)}</div>)}</div></PopoverContent>diff --git a/packages/views/projects/components/project-picker.tsx b/packages/views/projects/components/project-picker.tsxindex d091307026..be17874cb5 100644--- a/packages/views/projects/components/project-picker.tsx+++ b/packages/views/projects/components/project-picker.tsx@@ -132,7 +132,7 @@ export function ProjectPicker({))}{projects.length === 0 && (- <div className="px-2 py-1.5 text-xs text-muted-foreground">{t(($) => $.picker.empty)}</div>+ <div className="px-2 py-1.5 text-caption text-muted-foreground">{t(($) => $.picker.empty)}</div>)}{projects.length > 0 && filtered.length === 0 && query && <PickerEmpty />}</PropertyPicker>diff --git a/packages/views/projects/components/project-resources-section.tsx b/packages/views/projects/components/project-resources-section.tsxindex 97c9b585e6..ef181747c1 100644--- a/packages/views/projects/components/project-resources-section.tsx+++ b/packages/views/projects/components/project-resources-section.tsx@@ -234,7 +234,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {<div><buttontype="button"- className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-xs font-medium transition-colors mb-2 hover:bg-accent/70 ${open ? "" : "text-muted-foreground hover:text-foreground"}`}+ className={`flex w-full items-center gap-1 rounded-md px-2 py-1 text-caption font-medium transition-colors mb-2 hover:bg-accent/70 ${open ? "" : "text-muted-foreground hover:text-foreground"}`}onClick={() => setOpen(!open)}>{t(($) => $.resources.section_header)}@@ -245,7 +245,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {{open && (<div className="pl-2 space-y-1.5">{resources.length === 0 && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.resources.empty)}</p>)}@@ -275,7 +275,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {<Buttonvariant="ghost"size="sm"- className="h-7 px-2 text-xs text-muted-foreground hover:text-foreground"+ className="h-7 px-2 text-caption text-muted-foreground hover:text-foreground"><Plus className="size-3" />{t(($) => $.resources.add_button)}@@ -283,7 +283,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {}/><PopoverContent align="start" className="w-72 p-2 space-y-2">- <div className="text-xs font-medium text-muted-foreground">+ <div className="text-caption font-medium text-muted-foreground">{t(($) => $.resources.popover_title)}</div>{workspace?.repos && workspace.repos.length > 0 && (@@ -296,12 +296,12 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {onChange={(e) => setRepoSearch(e.target.value)}aria-label={t(($) => $.resources.repos_search_placeholder)}placeholder={t(($) => $.resources.repos_search_placeholder)}- className="h-8 w-full rounded-md border bg-transparent pl-7 pr-2 text-xs outline-none placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring"+ className="h-8 w-full rounded-md border bg-transparent pl-7 pr-2 text-caption outline-none placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring"/></div><div className="max-h-48 space-y-1 overflow-y-auto">{filteredRepos.length === 0 && repoQuery && (- <p className="py-2 text-center text-xs text-muted-foreground">+ <p className="py-2 text-center text-caption text-muted-foreground">{t(($) => $.resources.repos_search_empty)}</p>)}@@ -321,7 +321,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {await handleAttach(repo.url);setAddOpen(false);}}- className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-xs text-left hover:bg-accent transition-colors aria-disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:hover:bg-transparent"+ className="flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-caption text-left hover:bg-accent transition-colors aria-disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:hover:bg-transparent"><FolderGit className="size-3.5" /><Tooltip>@@ -333,7 +333,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {<TooltipContent side="top">{repo.url}</TooltipContent></Tooltip>{isAttached && (- <span className="text-[10px] text-muted-foreground">+ <span className="text-micro text-muted-foreground">{t(($) => $.resources.attached_badge)}</span>)}@@ -356,7 +356,7 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {<Buttonvariant="ghost"size="sm"- className="h-7 justify-start px-2 text-xs text-muted-foreground hover:text-foreground"+ className="h-7 justify-start px-2 text-caption text-muted-foreground hover:text-foreground"disabled={picking ||createResource.isPending ||@@ -371,12 +371,12 @@ export function ProjectResourcesSection({ projectId }: { projectId: string }) {{t(($) => $.resources.add_local_directory_button)}</Button>{!daemonStatus.running && (- <p className="px-2 pt-0.5 text-[10px] text-muted-foreground">+ <p className="px-2 pt-0.5 text-micro text-muted-foreground">{t(($) => $.resources.local_daemon_offline_hint)}</p>)}{daemonStatus.running && hasLocalDirectoryForCurrentDaemon && (- <p className="px-2 pt-0.5 text-[10px] text-muted-foreground">+ <p className="px-2 pt-0.5 text-micro text-muted-foreground">{t(($) => $.resources.local_daemon_already_attached_hint)}</p>)}@@ -412,7 +412,7 @@ function ResourceRow({const display = resource.label || (ref.ref ? `${githubShortLabel(ref.url)} @ ${ref.ref}` : githubShortLabel(ref.url));const tooltip = ref.ref ? `${ref.url}\nref: ${ref.ref}` : ref.url;return (- <div className="flex items-center gap-2 text-xs group">+ <div className="flex items-center gap-2 text-caption group"><FolderGit className="size-3.5 text-muted-foreground shrink-0" /><Tooltip><TooltipTrigger@@ -454,7 +454,7 @@ function ResourceRow({}return (- <div className="flex items-center gap-2 text-xs text-muted-foreground">+ <div className="flex items-center gap-2 text-caption text-muted-foreground"><span className="truncate flex-1">{resource.label || resource.resource_type}</span>@@ -519,7 +519,7 @@ function LocalDirectoryRow({return (<div- className={`flex items-center gap-2 text-xs group ${+ className={`flex items-center gap-2 text-caption group ${mismatch ? "opacity-60" : ""}`}>@@ -539,7 +539,7 @@ function LocalDirectoryRow({cancel();}}}- className="flex-1 min-w-0 rounded-sm border bg-transparent px-1 py-0.5 text-xs outline-none focus-visible:ring-1 focus-visible:ring-ring"+ className="flex-1 min-w-0 rounded-sm border bg-transparent px-1 py-0.5 text-caption outline-none focus-visible:ring-1 focus-visible:ring-ring"aria-label={t(($) => $.resources.local_rename_label)}/>) : (@@ -550,7 +550,7 @@ function LocalDirectoryRow({}/><TooltipContent side="top">- <div className="space-y-0.5 text-[11px]">+ <div className="space-y-0.5 text-micro"><div className="font-mono">{ref.local_path}</div>{mismatch && (<div className="text-muted-foreground">@@ -612,13 +612,13 @@ function CustomRepoForm({value={url}onChange={(e) => setUrl(e.target.value)}placeholder={t(($) => $.resources.url_placeholder)}- className="flex-1 bg-transparent text-xs px-2 py-1 outline-none placeholder:text-muted-foreground"+ className="flex-1 bg-transparent text-caption px-2 py-1 outline-none placeholder:text-muted-foreground"/><Buttontype="submit"size="sm"variant="ghost"- className="h-6 px-2 text-xs"+ className="h-6 px-2 text-caption"disabled={!url.trim() || submitting}>{t(($) => $.resources.url_submit)}diff --git a/packages/views/projects/components/projects-page.tsx b/packages/views/projects/components/projects-page.tsxindex b18c4fc087..054c4a2be7 100644--- a/packages/views/projects/components/projects-page.tsx+++ b/packages/views/projects/components/projects-page.tsx@@ -188,7 +188,7 @@ function columnTrackVars(function ProgressRing({ project }: { project: Project }) {if (project.issue_count === 0) {- return <span className="text-xs text-muted-foreground/40">—</span>;+ return <span className="text-caption text-muted-foreground/40">—</span>;}const pct = Math.round((project.done_count / project.issue_count) * 100);return (@@ -209,7 +209,7 @@ function ProgressRing({ project }: { project: Project }) {/></svg></span>- <span className="text-xs tabular-nums text-muted-foreground">+ <span className="text-caption tabular-nums text-muted-foreground">{project.done_count}/{project.issue_count}</span></span>@@ -377,7 +377,7 @@ function ProjectTableRow({<CheckboxCell checked={selected} onToggle={onToggleSelect} /><ListGridCell className="gap-2"><ProjectIcon project={project} size="sm" />- <span className="min-w-0 truncate text-sm font-medium">+ <span className="min-w-0 truncate text-body font-medium">{project.title}</span></ListGridCell>@@ -419,7 +419,7 @@ function ProjectTableRow({) : (<span className="inline-flex h-[18px] w-[18px] rounded-full border border-dashed border-muted-foreground/30" />)}- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{leadName ?? "—"}</span></button>@@ -431,7 +431,7 @@ function ProjectTableRow({)}{isColVisible("issues") ? (- <ListGridCell className="hidden justify-end font-mono text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden justify-end font-mono text-caption tabular-nums text-muted-foreground @2xl:flex">{project.issue_count}</ListGridCell>) : (@@ -439,7 +439,7 @@ function ProjectTableRow({)}{isColVisible("created") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{formatRelativeDate(project.created_at)}</ListGridCell>) : (@@ -588,7 +588,7 @@ function ProjectCard({className="flex min-w-0 flex-1 items-center gap-2"><ProjectIcon project={project} size="sm" />- <h3 className="truncate text-sm font-medium">{project.title}</h3>+ <h3 className="truncate text-body font-medium">{project.title}</h3></AppLink><ProjectRowActions project={project} pinned={pinned} canDelete={canDelete} /><ProjectStatusBadge project={project} handleUpdate={handleUpdate} triggerClassName="shrink-0" />@@ -612,12 +612,12 @@ function ProjectCard({/></svg></div>- <span className="text-[10px] tabular-nums text-muted-foreground">+ <span className="text-micro tabular-nums text-muted-foreground">{project.done_count}/{project.issue_count}</span></div>) : (- <span className="flex justify-end pt-2 text-[10px] text-muted-foreground">+ <span className="flex justify-end pt-2 text-micro text-muted-foreground">{t(($) => $.detail.no_issues_yet)}</span>)}@@ -634,7 +634,7 @@ function ProjectCard({) : (<span className="inline-flex h-5 w-5 rounded-full border border-dashed border-muted-foreground/30" />)}- <span className="max-w-[60px] truncate text-[10px] text-muted-foreground">+ <span className="max-w-[60px] truncate text-micro text-muted-foreground">{leadName ?? t(($) => $.lead.no_lead)}</span></button>@@ -642,7 +642,7 @@ function ProjectCard({/><div className="flex items-center gap-2"><ProjectPriorityBadge project={project} handleUpdate={handleUpdate} align="start" />- <span className="text-[10px] text-muted-foreground">+ <span className="text-micro text-muted-foreground">{formatRelativeDate(project.created_at)}</span></div>@@ -700,7 +700,7 @@ function ProjectBatchToolbar({<><div className="absolute bottom-6 left-1/2 z-50 flex -translate-x-1/2 items-center gap-1 rounded-lg border bg-background px-2 py-1.5 shadow-lg"><div className="mr-1 flex items-center gap-1.5 border-r pl-1 pr-2">- <span className="text-sm font-medium">+ <span className="text-body font-medium">{t(($) => $.page.selected, { count: rows.length })}</span><button@@ -914,7 +914,7 @@ export function ProjectsPage() {const showEmpty = !isLoading && projects.length === 0;const countBadge = (n: number) => (- <span className="ml-auto pl-3 text-xs text-muted-foreground">{n}</span>+ <span className="ml-auto pl-3 text-caption text-muted-foreground">{n}</span>);return (@@ -955,13 +955,13 @@ export function ProjectsPage() {onChange={(e) => setSearch(e.target.value)}aria-label={t(($) => $.page.search_placeholder)}placeholder={t(($) => $.page.search_placeholder)}- className="h-8 w-56 pl-8 text-sm"+ className="h-8 w-56 pl-8 text-body"/></div>{(hasActiveFilters || search.trim().length > 0) && (<spantitle={t(($) => $.toolbar.result_count_title)}- className="hidden shrink-0 text-xs tabular-nums text-muted-foreground md:inline"+ className="hidden shrink-0 text-caption tabular-nums text-muted-foreground md:inline">{visible.length} / {projects.length}</span>@@ -1017,7 +1017,7 @@ export function ProjectsPage() {<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.toolbar.section_status)}</span>{filters.statuses.length > 0 && (- <span className="text-xs font-medium text-primary">{filters.statuses.length}</span>+ <span className="text-caption font-medium text-primary">{filters.statuses.length}</span>)}</DropdownMenuSubTrigger><DropdownMenuSubContent className="w-auto min-w-44">@@ -1038,7 +1038,7 @@ export function ProjectsPage() {<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.toolbar.section_priority)}</span>{filters.priorities.length > 0 && (- <span className="text-xs font-medium text-primary">{filters.priorities.length}</span>+ <span className="text-caption font-medium text-primary">{filters.priorities.length}</span>)}</DropdownMenuSubTrigger><DropdownMenuSubContent className="w-auto min-w-44">@@ -1059,7 +1059,7 @@ export function ProjectsPage() {<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.toolbar.section_lead)}</span>{filters.leads.length > 0 && (- <span className="text-xs font-medium text-primary">{filters.leads.length}</span>+ <span className="text-caption font-medium text-primary">{filters.leads.length}</span>)}</DropdownMenuSubTrigger><DropdownMenuSubContent className="max-h-72 w-auto min-w-48 overflow-y-auto">@@ -1103,12 +1103,12 @@ export function ProjectsPage() {</Tooltip><PopoverContent align="end" className="w-64 p-0"><div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span>+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span><div className="mt-2 flex items-center gap-1.5"><DropdownMenu><DropdownMenuTriggerrender={- <Button variant="outline" size="sm" className="flex-1 justify-between text-xs">+ <Button variant="outline" size="sm" className="flex-1 justify-between text-caption">{sortLabel(sortField)}<ChevronDown className="size-3 text-muted-foreground" /></Button>@@ -1139,11 +1139,11 @@ export function ProjectsPage() {</div>{isCompact && (<div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span>+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span><div className="mt-2 space-y-2">{COLUMN_KEYS.map((key) => (<label key={key} className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{columnLabel(key)}</span>+ <span className="text-body">{columnLabel(key)}</span><Switch size="sm" checked={!hiddenColumns.includes(key)} onCheckedChange={() => toggleColumn(key)} /></label>))}@@ -1211,7 +1211,7 @@ export function ProjectsPage() {) : visible.length === 0 ? (<div className="flex flex-1 flex-col items-center justify-center py-24 text-muted-foreground"><Search className="mb-3 h-10 w-10 opacity-30" />- <p className="text-sm">{t(($) => $.page.no_matches)}</p>+ <p className="text-body">{t(($) => $.page.no_matches)}</p></div>) : isCompact ? (<div className="min-h-0 flex-1 overflow-auto @container">diff --git a/packages/views/rich-content/rich-code-block.tsx b/packages/views/rich-content/rich-code-block.tsxindex b8db1a8010..f2177b1e0d 100644--- a/packages/views/rich-content/rich-code-block.tsx+++ b/packages/views/rich-content/rich-code-block.tsx@@ -137,7 +137,7 @@ export function CodeBlockShell({<div className="code-block-wrapper group/code relative my-3"><div className="absolute top-0 right-0 z-10 flex items-center gap-1.5 px-2 py-1.5 opacity-0 transition-opacity group-hover/code:opacity-100 focus-within:opacity-100">{language && (- <span className="text-xs text-muted-foreground select-none">+ <span className="text-caption text-muted-foreground select-none">{language}</span>)}diff --git a/packages/views/rich-content/rich-content.tsx b/packages/views/rich-content/rich-content.tsxindex 292c6bf55b..6ea121bdb9 100644--- a/packages/views/rich-content/rich-content.tsx+++ b/packages/views/rich-content/rich-content.tsx@@ -475,7 +475,7 @@ export const RichContent = memo(function RichContent({data-density={density}data-phase={phase}className={cn(- "rich-text-editor readonly text-sm",+ "rich-text-editor readonly text-body",density === "compact" && "rich-content-compact",className,)}diff --git a/packages/views/runtimes/components/charts/activity-heatmap.tsx b/packages/views/runtimes/components/charts/activity-heatmap.tsxindex 4fbf7d7ede..d9e6867cf8 100644--- a/packages/views/runtimes/components/charts/activity-heatmap.tsx+++ b/packages/views/runtimes/components/charts/activity-heatmap.tsx@@ -248,7 +248,7 @@ export function ActivityHeatmap({))}</svg></div>- <div className="flex items-center gap-1 text-[10px] text-muted-foreground">+ <div className="flex items-center gap-1 text-micro text-muted-foreground"><span>{t(($) => $.charts.heatmap_less)}</span>{[0, 1, 2, 3, 4].map((level) => (<div@@ -312,13 +312,13 @@ function Insight({}) {return (<div className="min-w-0">- <dt className="truncate text-[11px] uppercase tracking-wider text-muted-foreground">+ <dt className="truncate text-micro uppercase tracking-wider text-muted-foreground">{label}</dt>- <dd className="mt-0.5 truncate text-sm font-medium tabular-nums">+ <dd className="mt-0.5 truncate text-body font-medium tabular-nums">{value}{sub != null && (- <span className="ml-1.5 text-xs font-normal text-muted-foreground">+ <span className="ml-1.5 text-caption font-normal text-muted-foreground">{sub}</span>)}diff --git a/packages/views/runtimes/components/cloud-runtime-dialog.tsx b/packages/views/runtimes/components/cloud-runtime-dialog.tsxindex f71635bceb..934d040176 100644--- a/packages/views/runtimes/components/cloud-runtime-dialog.tsx+++ b/packages/views/runtimes/components/cloud-runtime-dialog.tsx@@ -96,11 +96,11 @@ export function CloudRuntimeDialog({ onClose }: { onClose: () => void }) {<Dialog open onOpenChange={(open) => !open && onClose()}><DialogContent className="flex max-h-[88vh] flex-col gap-0 p-0 sm:max-w-3xl"><DialogHeader className="border-b px-6 py-5">- <DialogTitle className="flex items-center gap-2 text-base">+ <DialogTitle className="flex items-center gap-2 text-title-sm"><Cloud className="h-4 w-4 text-muted-foreground" />{t(($) => $.cloud_runtime.title)}</DialogTitle>- <DialogDescription className="text-xs">+ <DialogDescription className="text-caption">{t(($) => $.cloud_runtime.description)}</DialogDescription></DialogHeader>@@ -109,10 +109,10 @@ export function CloudRuntimeDialog({ onClose }: { onClose: () => void }) {<div className="grid gap-5 lg:grid-cols-[minmax(0,1fr)_minmax(280px,0.82fr)]"><form id={formId} onSubmit={handleSubmit} className="space-y-4"><div>- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.cloud_runtime.create_title)}</h3>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.cloud_runtime.create_hint)}</p></div>@@ -146,7 +146,7 @@ export function CloudRuntimeDialog({ onClose }: { onClose: () => void }) {<section className="min-h-0 rounded-md border bg-muted/20"><div className="flex items-center justify-between border-b bg-background px-3 py-2.5">- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.cloud_runtime.nodes_title)}</h3><Button@@ -173,10 +173,10 @@ export function CloudRuntimeDialog({ onClose }: { onClose: () => void }) {</div>) : nodesQuery.isError ? (<div className="flex h-40 flex-col items-center justify-center px-5 text-center">- <p className="text-sm font-medium">+ <p className="text-body font-medium">{t(($) => $.cloud_runtime.nodes_failed)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{nodesQuery.error instanceof Error? nodesQuery.error.message: t(($) => $.cloud_runtime.nodes_failed_hint)}@@ -185,7 +185,7 @@ export function CloudRuntimeDialog({ onClose }: { onClose: () => void }) {) : sortedNodes.length === 0 ? (<div className="flex h-40 flex-col items-center justify-center px-5 text-center"><Cloud className="h-7 w-7 text-muted-foreground/50" />- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{t(($) => $.cloud_runtime.nodes_empty)}</p></div>@@ -251,7 +251,7 @@ function LabeledInput({if (options) {return (<div className="space-y-1.5">- <Label htmlFor={id} className="text-xs text-muted-foreground">+ <Label htmlFor={id} className="text-caption text-muted-foreground">{label}</Label><Select@@ -259,7 +259,7 @@ function LabeledInput({value={value}onValueChange={(next) => onChange(next ?? value)}>- <SelectTrigger id={id} className="h-9 w-full rounded-md text-sm">+ <SelectTrigger id={id} className="h-9 w-full rounded-md text-body"><SelectValue>{() => <span className="truncate">{value}</span>}</SelectValue>@@ -278,7 +278,7 @@ function LabeledInput({return (<div className="space-y-1.5">- <Label htmlFor={id} className="text-xs text-muted-foreground">+ <Label htmlFor={id} className="text-caption text-muted-foreground">{label}</Label><Input@@ -289,7 +289,7 @@ function LabeledInput({required={required}type={type}inputMode={inputMode}- className="h-9 text-sm"+ className="h-9 text-body"/></div>);@@ -308,10 +308,10 @@ function CloudRuntimeNodeRow({ node, wsId }: { node: CloudRuntimeNode; wsId: str<div className="flex min-w-0 items-start justify-between gap-3"><div className="min-w-0"><div className="flex min-w-0 items-center gap-2">- <span className="truncate text-sm font-medium">{title}</span>+ <span className="truncate text-body font-medium">{title}</span><CloudRuntimeStatusBadge status={node.status} /></div>- <div className="mt-1 flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-xs text-muted-foreground">+ <div className="mt-1 flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-caption text-muted-foreground"><span>{node.instance_type}</span><span className="text-muted-foreground/40">/</span><span>{node.region}</span>@@ -351,7 +351,7 @@ function CloudRuntimeNodeRow({ node, wsId }: { node: CloudRuntimeNode; wsId: str</Button></div>{node.instance_id && (- <div className="mt-2 truncate font-mono text-[11px] text-muted-foreground/80">+ <div className="mt-2 truncate font-mono text-micro text-muted-foreground/80">{node.instance_id}</div>)}@@ -375,7 +375,7 @@ function CloudRuntimeStatusBadge({ status }: { status: string }) {<Badgevariant="secondary"className={cn(- "h-5 rounded-md px-1.5 font-mono text-[10px]",+ "h-5 rounded-md px-1.5 font-mono text-micro",active.has(normalized) && "bg-success/10 text-success",pending.has(normalized) && "bg-warning/10 text-warning",failed.has(normalized) && "bg-destructive/10 text-destructive",diff --git a/packages/views/runtimes/components/connect-remote-dialog.tsx b/packages/views/runtimes/components/connect-remote-dialog.tsxindex d1fd39ef85..6be58202d3 100644--- a/packages/views/runtimes/components/connect-remote-dialog.tsx+++ b/packages/views/runtimes/components/connect-remote-dialog.tsx@@ -204,10 +204,10 @@ function CommandStep({}) {return (<div>- <p className="mb-1.5 text-xs font-medium text-foreground">+ <p className="mb-1.5 text-caption font-medium text-foreground">{n}. {label}</p>- <div className="flex items-start gap-2 rounded-lg bg-muted px-3 py-2.5 font-mono text-sm">+ <div className="flex items-start gap-2 rounded-lg bg-muted px-3 py-2.5 font-mono text-body"><TerminalclassName="mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground"aria-hidden@@ -238,10 +238,10 @@ function InstructionsStep({ onClose }: { onClose: () => void }) {return (<><DialogHeader className="px-6 pt-6 pb-2">- <DialogTitle className="text-base text-balance">+ <DialogTitle className="text-title-sm text-balance">{t(($) => $.connect.title)}</DialogTitle>- <DialogDescription className="text-xs text-balance">+ <DialogDescription className="text-caption text-balance">{t(($) => $.connect.description)}</DialogDescription></DialogHeader>@@ -262,7 +262,7 @@ function InstructionsStep({ onClose }: { onClose: () => void }) {cmd={setupCmd}copyAria={t(($) => $.connect.copy_aria)}/>- <p className="mt-1.5 text-[11px] leading-[1.55] text-muted-foreground">+ <p className="mt-1.5 text-micro leading-[1.55] text-muted-foreground">{t(($) => $.connect.step2_hint)}</p></div>@@ -286,14 +286,14 @@ function TroubleshootingDetails({ tokenCmd }: { tokenCmd: string }) {const { t } = useT("runtimes");return (<details className="group rounded-lg border border-dashed">- <summary className="flex cursor-pointer list-none items-center gap-1.5 px-3 py-2 text-xs font-medium text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">+ <summary className="flex cursor-pointer list-none items-center gap-1.5 px-3 py-2 text-caption font-medium text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><ChevronRightclassName="h-3 w-3 transition-transform group-open:rotate-90"aria-hidden/>{t(($) => $.connect.troubleshooting)}</summary>- <div className="space-y-2 border-t px-3 pt-2.5 pb-3 text-[11px] leading-[1.55] text-muted-foreground">+ <div className="space-y-2 border-t px-3 pt-2.5 pb-3 text-micro leading-[1.55] text-muted-foreground"><p>{t(($) => $.connect.trouble_intro)}</p><CommandStepn={2}@@ -314,7 +314,7 @@ function TroubleshootingDetails({ tokenCmd }: { tokenCmd: string }) {{/* CLI command — literal shell string, not i18n content. */}<codeclassName={cn(- "rounded bg-muted px-1.5 py-0.5 font-mono text-[10px] text-foreground",+ "rounded bg-muted px-1.5 py-0.5 font-mono text-micro text-foreground",CODE_LIGATURE_CLASS,)}>@@ -326,7 +326,7 @@ function TroubleshootingDetails({ tokenCmd }: { tokenCmd: string }) {{/* CLI command — literal shell string, not i18n content. */}<codeclassName={cn(- "rounded bg-muted px-1.5 py-0.5 font-mono text-[10px] text-foreground",+ "rounded bg-muted px-1.5 py-0.5 font-mono text-micro text-foreground",CODE_LIGATURE_CLASS,)}>@@ -347,7 +347,7 @@ function LiveListening() {const { t } = useT("runtimes");return (<div- className="flex items-center gap-2.5 rounded-lg border bg-muted/40 px-3 py-2.5 text-xs"+ className="flex items-center gap-2.5 rounded-lg border bg-muted/40 px-3 py-2.5 text-caption"role="status"aria-live="polite">@@ -380,10 +380,10 @@ function SuccessStep({return (<><DialogHeader className="px-6 pt-6 pb-2">- <DialogTitle className="text-base text-balance">+ <DialogTitle className="text-title-sm text-balance">{t(($) => $.connect.success_title)}</DialogTitle>- <DialogDescription className="text-xs text-balance">+ <DialogDescription className="text-caption text-balance">{t(($) => $.connect.success_description)}</DialogDescription></DialogHeader>diff --git a/packages/views/runtimes/components/custom-pricing-dialog.tsx b/packages/views/runtimes/components/custom-pricing-dialog.tsxindex 5cd6b8debb..211779d06d 100644--- a/packages/views/runtimes/components/custom-pricing-dialog.tsx+++ b/packages/views/runtimes/components/custom-pricing-dialog.tsx@@ -134,7 +134,7 @@ export function CustomPricingDialog({ open, onOpenChange, unmappedModels }: Prop<div className="max-h-[60vh] space-y-4 overflow-y-auto">{rows.length === 0 ? (- <p className="py-4 text-center text-xs text-muted-foreground">+ <p className="py-4 text-center text-caption text-muted-foreground">{t(($) => $.usage.custom_pricing.empty)}</p>) : (@@ -144,7 +144,7 @@ export function CustomPricingDialog({ open, onOpenChange, unmappedModels }: Propreturn (<div key={key} className="space-y-2 rounded-md border p-3"><div className="flex items-center justify-between gap-2">- <code className="truncate font-mono text-xs">{key}</code>+ <code className="truncate font-mono text-caption">{key}</code>{hasOverride && (<Buttontype="button"@@ -184,7 +184,7 @@ export function CustomPricingDialog({ open, onOpenChange, unmappedModels }: Prop);}))}- <p className="text-[11px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.usage.custom_pricing.unit_hint)}</p></div>@@ -213,7 +213,7 @@ function PriceField({}) {return (<div className="space-y-1">- <Label className="text-[11px] text-muted-foreground">{label}</Label>+ <Label className="text-micro text-muted-foreground">{label}</Label><Inputtype="number"inputMode="decimal"diff --git a/packages/views/runtimes/components/delete-runtime-dialog.tsx b/packages/views/runtimes/components/delete-runtime-dialog.tsxindex 9f0d8a2464..cfe3e263e8 100644--- a/packages/views/runtimes/components/delete-runtime-dialog.tsx+++ b/packages/views/runtimes/components/delete-runtime-dialog.tsx@@ -240,7 +240,7 @@ function DeletePersistenceNotice({ runtime }: { runtime: AgentRuntime }) {return (<divrole="status"- className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-xs"+ className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-caption"><Info className="mt-0.5 size-3.5 shrink-0 text-warning" /><span>{t(($) => $.detail.delete_dialog.profile_backed_notice)}</span>@@ -251,7 +251,7 @@ function DeletePersistenceNotice({ runtime }: { runtime: AgentRuntime }) {return (<divrole="status"- className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-xs"+ className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-caption"><Info className="mt-0.5 size-3.5 shrink-0 text-warning" /><span>{t(($) => $.detail.delete_dialog.self_heal_notice)}</span>@@ -280,10 +280,10 @@ function LightBody({return (<><div className="px-5 pb-4 pt-5">- <h2 className="text-base font-semibold">+ <h2 className="text-title-sm font-semibold">{t(($) => $.detail.delete_dialog.light.title)}</h2>- <p className="mt-1 text-sm leading-5 text-muted-foreground">+ <p className="mt-1 text-body leading-5 text-muted-foreground">{t(($) => $.detail.delete_dialog.light.description, {name: runtimeDisplayLabel(runtime),})}@@ -355,10 +355,10 @@ function CascadeBody({return (<><div className="px-5 pb-4 pt-5">- <h2 className="text-base font-semibold">+ <h2 className="text-title-sm font-semibold">{t(($) => $.detail.delete_dialog.cascade.title, { count })}</h2>- <p className="mt-1 text-sm leading-5 text-muted-foreground">+ <p className="mt-1 text-body leading-5 text-muted-foreground">{t(($) => $.detail.delete_dialog.cascade.description, {name: runtimeDisplayLabel(runtime),})}@@ -370,7 +370,7 @@ function CascadeBody({half before they scan the agent table. */}<divrole="alert"- className="mt-3 flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/5 px-3 py-2 text-xs text-destructive"+ className="mt-3 flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/5 px-3 py-2 text-caption text-destructive"><AlertTriangle className="mt-0.5 size-3.5 shrink-0" /><span>{t(($) => $.detail.delete_dialog.cascade.warning)}</span>@@ -379,7 +379,7 @@ function CascadeBody({{planChangedNotice && (<divrole="status"- className="mt-2 rounded-md border bg-muted/40 px-3 py-2 text-xs text-foreground"+ className="mt-2 rounded-md border bg-muted/40 px-3 py-2 text-caption text-foreground">{planChangedNotice}</div>@@ -394,7 +394,7 @@ function CascadeBody({</div><div className="border-t bg-muted/25 px-5 py-4">- <label className="flex cursor-pointer items-start gap-2 text-sm text-foreground">+ <label className="flex cursor-pointer items-start gap-2 text-body text-foreground"><CheckboxclassName="mt-0.5"checked={confirmed}@@ -456,7 +456,7 @@ function AgentPlanTable({return (<div className="mt-3 overflow-hidden rounded-md border">- <div className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,1.2fr)_minmax(0,0.8fr)_minmax(0,1fr)] gap-3 border-b bg-muted/40 px-3 py-2 text-[11px] uppercase tracking-wide text-muted-foreground">+ <div className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,1.2fr)_minmax(0,0.8fr)_minmax(0,1fr)] gap-3 border-b bg-muted/40 px-3 py-2 text-micro uppercase tracking-wide text-muted-foreground"><span>{t(($) => $.detail.delete_dialog.cascade.table.header_agent)}</span><span>{t(($) => $.detail.delete_dialog.cascade.table.header_owner)}</span><span>{t(($) => $.detail.delete_dialog.cascade.table.header_status)}</span>@@ -479,7 +479,7 @@ function AgentPlanTable({return (<divkey={agent.id}- className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,1.2fr)_minmax(0,0.8fr)_minmax(0,1fr)] items-center gap-3 px-3 py-2 text-xs"+ className="grid grid-cols-[minmax(0,1.6fr)_minmax(0,1fr)_minmax(0,1.2fr)_minmax(0,0.8fr)_minmax(0,1fr)] items-center gap-3 px-3 py-2 text-caption"><span className="inline-flex min-w-0 items-center gap-2"><ActorAvatardiff --git a/packages/views/runtimes/components/delete-runtime-profile-dialog.tsx b/packages/views/runtimes/components/delete-runtime-profile-dialog.tsxindex c1ca27b7ef..1cf6c8fb16 100644--- a/packages/views/runtimes/components/delete-runtime-profile-dialog.tsx+++ b/packages/views/runtimes/components/delete-runtime-profile-dialog.tsx@@ -88,10 +88,10 @@ export function DeleteRuntimeProfileDialog({onClick={(e) => e.stopPropagation()}><div className="px-5 pb-4 pt-5">- <AlertDialogTitle className="font-sans text-base font-semibold">+ <AlertDialogTitle className="font-sans text-title-sm font-semibold">{t(($) => $.profiles.delete_dialog.title)}</AlertDialogTitle>- <AlertDialogDescription className="mt-1 text-left text-sm leading-5 text-pretty">+ <AlertDialogDescription className="mt-1 text-left text-body leading-5 text-pretty">{t(($) => $.profiles.delete_dialog.description, {name: profile.display_name,})}@@ -99,7 +99,7 @@ export function DeleteRuntimeProfileDialog({{boundMessage && (<divrole="alert"- className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-xs"+ className="mt-3 flex items-start gap-2 rounded-md border border-warning/40 bg-warning/5 px-3 py-2 text-caption"><AlertTrianglearia-hidden="true"diff --git a/packages/views/runtimes/components/rename-machine-dialog.tsx b/packages/views/runtimes/components/rename-machine-dialog.tsxindex 744b22e10d..ca22fed4f8 100644--- a/packages/views/runtimes/components/rename-machine-dialog.tsx+++ b/packages/views/runtimes/components/rename-machine-dialog.tsx@@ -87,10 +87,10 @@ export function RenameMachineDialog({onClick={(e) => e.stopPropagation()}><div className="px-5 pb-4 pt-5">- <h2 className="text-base font-semibold">+ <h2 className="text-title-sm font-semibold">{t(($) => $.machine.rename_dialog.title)}</h2>- <p className="mt-1 text-sm leading-5 text-muted-foreground">+ <p className="mt-1 text-body leading-5 text-muted-foreground">{t(($) => $.machine.rename_dialog.description)}</p>@@ -108,7 +108,7 @@ export function RenameMachineDialog({}}}/>- <p className="mt-1.5 text-xs text-muted-foreground">+ <p className="mt-1.5 text-caption text-muted-foreground">{t(($) => $.machine.rename_dialog.hint)}</p></div>diff --git a/packages/views/runtimes/components/runtime-detail-page.tsx b/packages/views/runtimes/components/runtime-detail-page.tsxindex e1f92ded45..211fb39d73 100644--- a/packages/views/runtimes/components/runtime-detail-page.tsx+++ b/packages/views/runtimes/components/runtime-detail-page.tsx@@ -184,10 +184,10 @@ export function RuntimeDetailPage({<div className="flex flex-1 flex-col items-center justify-center gap-3 px-6 py-16 text-center"><AlertCircle className="h-8 w-8 text-destructive" /><div>- <p className="text-sm font-medium">+ <p className="text-body font-medium">{t(($) => $.machine.not_found_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.machine.not_found_hint)}</p></div>@@ -205,7 +205,7 @@ export function RuntimeDetailPage({<div className="flex min-h-0 flex-1 flex-col"><header className="shrink-0 border-b bg-background px-4 pb-5 pt-3 sm:px-6"><div className="mx-auto max-w-[1440px]">- <div className="flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">+ <div className="flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground"><AppLinkhref={paths.runtimes()}className="rounded-sm transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"@@ -226,25 +226,25 @@ export function RuntimeDetailPage({</div><div className="min-w-0 pt-0.5"><div className="flex flex-wrap items-center gap-x-3 gap-y-1.5">- <h1 className="min-w-0 text-balance text-xl font-semibold tracking-tight sm:text-2xl">+ <h1 className="min-w-0 text-balance text-title-lg font-semibold tracking-tight sm:text-display-sm">{machine.title}</h1>- <span className="inline-flex items-center gap-1.5 text-xs">+ <span className="inline-flex items-center gap-1.5 text-caption"><HealthIcon health={machine.health} />{healthLabel(machine.health)}</span>{machine.isCurrent && (- <span className="rounded bg-foreground px-1.5 py-0.5 text-[10px] font-medium text-background">+ <span className="rounded bg-foreground px-1.5 py-0.5 text-micro font-medium text-background">{t(($) => $.machine.this_machine)}</span>)}</div>{machine.subtitle && (- <p className="mt-1 text-sm text-muted-foreground">+ <p className="mt-1 text-body text-muted-foreground">{machine.subtitle}</p>)}- <div className="mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-xs text-muted-foreground">+ <div className="mt-3 flex flex-wrap items-center gap-x-4 gap-y-2 text-caption text-muted-foreground"><span>{t(($) => $.machine.runtime_count, {count: machineRuntimes.length,@@ -292,10 +292,10 @@ export function RuntimeDetailPage({<div className="mx-auto w-full max-w-[1440px] p-4 sm:p-6"><div className="mb-4 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between"><div className="min-w-0">- <h2 className="text-sm font-semibold">+ <h2 className="text-body font-semibold">{t(($) => $.machine.metrics.runtimes)}</h2>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.machine.select_runtime)}</p></div>@@ -327,12 +327,12 @@ export function RuntimeDetailPage({aria-hidden="true"className="h-7 w-7 text-muted-foreground/40"/>- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{bootstrapping? t(($) => $.page.bootstrapping.title): t(($) => $.machine.no_runtimes_title)}</p>- <p className="mt-1 max-w-sm text-xs text-muted-foreground">+ <p className="mt-1 max-w-sm text-caption text-muted-foreground">{bootstrapping? t(($) => $.page.bootstrapping.hint): t(($) => $.machine.no_runtimes_hint)}diff --git a/packages/views/runtimes/components/runtime-detail.tsx b/packages/views/runtimes/components/runtime-detail.tsxindex af497bb7db..253f87d097 100644--- a/packages/views/runtimes/components/runtime-detail.tsx+++ b/packages/views/runtimes/components/runtime-detail.tsx@@ -158,13 +158,13 @@ export function RuntimeDetail({: []),]}leaf={- <span className="truncate font-mono text-xs text-foreground">+ <span className="truncate font-mono text-caption text-foreground">{runtimeDisplayName(runtime)}</span>}actions={!canEditRuntime ? (- <span className="inline-flex items-center gap-1 text-xs text-muted-foreground">+ <span className="inline-flex items-center gap-1 text-caption text-muted-foreground"><Lock className="h-3 w-3" />{t(($) => $.detail.read_only)}</span>@@ -272,11 +272,11 @@ function HeroCard({</div><div className="min-w-0 flex-1"><div className="flex flex-wrap items-center gap-x-3 gap-y-1">- <h2 className="truncate text-base font-semibold tracking-tight">+ <h2 className="truncate text-title-sm font-semibold tracking-tight">{runtimeDisplayName(runtime)}</h2><HealthBadge health={health} />- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.detail.last_seen, { when: lastSeen })}</span></div>@@ -296,10 +296,10 @@ function HeroCard({size="sm"enableHoverCard/>- <span className="cursor-pointer truncate text-sm">{ownerMember.name}</span>+ <span className="cursor-pointer truncate text-body">{ownerMember.name}</span></span>) : (- <span className="text-sm text-muted-foreground">—</span>+ <span className="text-body text-muted-foreground">—</span>)}</Fact><Fact label={t(($) => $.detail.fact_device)}>@@ -307,7 +307,7 @@ function HeroCard({<Tooltip><TooltipTriggerrender={- <span className="block truncate font-mono text-xs">+ <span className="block truncate font-mono text-caption">{device.hostname}</span>}@@ -315,11 +315,11 @@ function HeroCard({<TooltipContent>{device.hostname}</TooltipContent></Tooltip>) : (- <span className="text-sm text-muted-foreground">—</span>+ <span className="text-body text-muted-foreground">—</span>)}</Fact><Fact label={t(($) => $.detail.fact_runtime)}>- <span className="block truncate text-sm">+ <span className="block truncate text-body">{device?.runtime ?? (<span className="capitalize">{runtime.provider}</span>)}@@ -335,7 +335,7 @@ function HeroCard({<buttontype="button"onClick={() => setShowDetails((v) => !v)}- className="flex w-full items-center gap-1 px-4 py-2 text-xs text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"+ className="flex w-full items-center gap-1 px-4 py-2 text-caption text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"><ChevronRightclassName={`h-3 w-3 transition-transform ${@@ -377,10 +377,10 @@ function Fact({}) {return (<div className={`min-w-0 ${compact ? "" : "px-4 py-3"}`}>- <dt className="text-[11px] uppercase tracking-wider text-muted-foreground">+ <dt className="text-micro uppercase tracking-wider text-muted-foreground">{label}</dt>- <dd className={`mt-1 ${mono ? "font-mono text-xs" : ""}`}>{children}</dd>+ <dd className={`mt-1 ${mono ? "font-mono text-caption" : ""}`}>{children}</dd></div>);}@@ -399,15 +399,15 @@ function ServingAgentsCard({return (<div className="rounded-lg border"><div className="flex items-center justify-between border-b px-4 py-2.5">- <span className="text-xs font-semibold">{t(($) => $.detail.serving_title)}</span>- <span className="text-xs text-muted-foreground">+ <span className="text-caption font-semibold">{t(($) => $.detail.serving_title)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.detail.serving_count, { count: agents.length })}</span></div>{agents.length === 0 ? (<div className="flex flex-col items-center px-4 py-6 text-center"><Cpu className="h-5 w-5 text-muted-foreground/40" />- <p className="mt-2 text-xs text-muted-foreground">+ <p className="mt-2 text-caption text-muted-foreground">{t(($) => $.detail.no_agents)}</p></div>@@ -430,10 +430,10 @@ function ServingAgentsCard({><ActorAvatar actorType="agent" actorId={agent.id} size="sm" enableHoverCard showStatusDot /><div className="min-w-0 flex-1">- <div className="truncate text-xs font-medium">+ <div className="truncate text-caption font-medium">{agent.name}</div>- <div className="mt-0.5 flex flex-wrap items-center gap-x-1.5 gap-y-0.5 text-xs">+ <div className="mt-0.5 flex flex-wrap items-center gap-x-1.5 gap-y-0.5 text-caption"><span className="inline-flex items-center gap-1.5"><span className={`h-1.5 w-1.5 rounded-full ${av.dotClass}`} /><span className={av.textClass}>{avLabel}</span>@@ -480,11 +480,11 @@ function DiagnosticsCard({return (<div className="rounded-lg border"><div className="border-b px-4 py-2.5">- <span className="text-xs font-semibold">{t(($) => $.detail.diagnostics_title)}</span>+ <span className="text-caption font-semibold">{t(($) => $.detail.diagnostics_title)}</span></div><div className="space-y-3 p-4"><div>- <div className="mb-1.5 text-[11px] uppercase tracking-wide text-muted-foreground">+ <div className="mb-1.5 text-micro uppercase tracking-wide text-muted-foreground">{t(($) => $.detail.diagnostics_visibility)}</div>{canEdit ? (@@ -530,7 +530,7 @@ function VisibilityReadout({ runtime }: { runtime: AgentRuntime }) {<Tooltip><TooltipTriggerrender={- <span className="inline-flex items-center gap-1.5 rounded-md border bg-muted/30 px-2 py-1.5 text-xs">+ <span className="inline-flex items-center gap-1.5 rounded-md border bg-muted/30 px-2 py-1.5 text-caption"><Icon className="h-3 w-3 text-muted-foreground" /><span className="font-medium">{t(($) => $.detail.visibility_label[visibility])}@@ -622,7 +622,7 @@ function VisibilityChoice({type="button"onClick={onClick}disabled={disabled}- className={`inline-flex items-center gap-1.5 rounded px-2 py-1 text-xs font-medium transition-colors ${+ className={`inline-flex items-center gap-1.5 rounded px-2 py-1 text-caption font-medium transition-colors ${active? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"diff --git a/packages/views/runtimes/components/runtime-list.tsx b/packages/views/runtimes/components/runtime-list.tsxindex 8a01938905..6227b3bdda 100644--- a/packages/views/runtimes/components/runtime-list.tsx+++ b/packages/views/runtimes/components/runtime-list.tsx@@ -206,7 +206,7 @@ function RuntimeNameCell({<ProviderLogo provider={runtime.provider} className="h-5 w-5" /></div><div className="flex min-w-0 flex-1 items-center gap-1.5">- <span className="block min-w-0 shrink truncate text-sm font-medium">+ <span className="block min-w-0 shrink truncate text-body font-medium">{label}</span><RuntimeKindBadge runtime={runtime} />@@ -228,8 +228,8 @@ function RuntimeKindBadge({ runtime }: { runtime: AgentRuntime }) {<spanclassName={isCustom- ? "inline-flex shrink-0 items-center rounded bg-info/10 px-1 text-[10px] font-medium text-info"- : "inline-flex shrink-0 items-center rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground"+ ? "inline-flex shrink-0 items-center rounded bg-info/10 px-1 text-micro font-medium text-info"+ : "inline-flex shrink-0 items-center rounded bg-muted px-1 text-micro font-medium text-muted-foreground"}>{isCustom@@ -244,13 +244,13 @@ function PendingRuntimeBadge({ runtime }: { runtime: AgentRuntime }) {if (!isPendingCustomRuntime(runtime)) return null;if (isDisabledCustomRuntime(runtime)) {return (- <span className="inline-flex shrink-0 items-center rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground">+ <span className="inline-flex shrink-0 items-center rounded bg-muted px-1 text-micro font-medium text-muted-foreground">{t(($) => $.list.badge_disabled)}</span>);}return (- <span className="inline-flex shrink-0 items-center rounded bg-warning/10 px-1 text-[10px] font-medium text-warning">+ <span className="inline-flex shrink-0 items-center rounded bg-warning/10 px-1 text-micro font-medium text-warning">{t(($) => $.list.badge_registering)}</span>);@@ -265,7 +265,7 @@ function VisibilityBadge({ runtime }: { runtime: AgentRuntime }) {<Tooltip><TooltipTriggerrender={- <span className="inline-flex shrink-0 items-center gap-0.5 rounded bg-info/10 px-1 text-[10px] font-medium text-info">+ <span className="inline-flex shrink-0 items-center gap-0.5 rounded bg-info/10 px-1 text-micro font-medium text-info"><Globe className="h-2.5 w-2.5" />{t(($) => $.detail.visibility_label.public)}</span>@@ -301,7 +301,7 @@ function HealthCell({if (isDisabledCustomRuntime(runtime)) {return (<ListGridCell>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.list.pending_health_disabled)}</span></ListGridCell>@@ -313,7 +313,7 @@ function HealthCell({<ListGridCell className="gap-1.5"><AlertTriangle className="h-3.5 w-3.5 shrink-0 text-destructive" /><span- className="block min-w-0 truncate text-xs text-destructive"+ className="block min-w-0 truncate text-caption text-destructive"title={registrationFailure}>{t(($) => $.list.pending_health_error)}@@ -330,7 +330,7 @@ function HealthCell({) : (<Loader2 className="h-3.5 w-3.5 shrink-0 animate-spin text-info" />)}- <span className="block min-w-0 truncate text-xs">+ <span className="block min-w-0 truncate text-caption">{warning? t(($) => $.list.pending_health_warning): t(($) => $.list.pending_health)}@@ -347,7 +347,7 @@ function HealthCell({return (<ListGridCell className="gap-1.5"><HealthIcon health={health} />- <span className="block min-w-0 truncate text-xs">+ <span className="block min-w-0 truncate text-caption">{labelOf(health)}{health !== "online" && lastSeen && (<span className="text-muted-foreground"> · {lastSeen}</span>@@ -390,7 +390,7 @@ export function CostCell({ runtimeId }: { runtimeId: string }) {if (usage.length === 0) {return (<div className="w-full text-right">- <span className="text-xs text-muted-foreground/50">—</span>+ <span className="text-caption text-muted-foreground/50">—</span></div>);}@@ -415,10 +415,10 @@ export function CostCell({ runtimeId }: { runtimeId: string }) {value={cost7d}locales={locales}aria-label={fmt}- className="text-sm font-medium"+ className="text-body font-medium"/>{deltaLabel && (- <span className={`text-[11px] tabular-nums ${deltaTone}`}>+ <span className={`text-micro tabular-nums ${deltaTone}`}>{deltaLabel}</span>)}@@ -432,7 +432,7 @@ export function CliCell({ runtime }: { runtime: AgentRuntime }) {if (failure) {const command = pendingRuntimeCommandName(runtime);return (- <div className="flex min-w-0 flex-col text-xs">+ <div className="flex min-w-0 flex-col text-caption">{command && (<spanclassName="truncate font-mono text-muted-foreground"@@ -451,13 +451,13 @@ export function CliCell({ runtime }: { runtime: AgentRuntime }) {const command = pendingRuntimeCommandName(runtime);if (!command) {return (- <span className="text-xs text-muted-foreground/50">+ <span className="text-caption text-muted-foreground/50">{t(($) => $.list.pending_cli_unknown)}</span>);}return (- <div className="flex min-w-0 items-center text-xs">+ <div className="flex min-w-0 items-center text-caption"><spanclassName="truncate font-mono text-muted-foreground"title={command}@@ -469,7 +469,7 @@ export function CliCell({ runtime }: { runtime: AgentRuntime }) {}if (runtime.runtime_mode === "cloud") {- return <span className="text-xs text-muted-foreground/50">—</span>;+ return <span className="text-caption text-muted-foreground/50">—</span>;}const meta = runtime.metadata as Record<string, unknown> | null;// `version` is the agent's own underlying CLI tool version — distinct per@@ -483,11 +483,11 @@ export function CliCell({ runtime }: { runtime: AgentRuntime }) {meta && typeof meta.version === "string" ? meta.version : null;if (!version) {- return <span className="text-xs text-muted-foreground/50">—</span>;+ return <span className="text-caption text-muted-foreground/50">—</span>;}return (- <div className="flex min-w-0 items-center text-xs">+ <div className="flex min-w-0 items-center text-caption"><span className="truncate font-mono text-muted-foreground">{version}</span>@@ -500,7 +500,7 @@ export function CliCell({ runtime }: { runtime: AgentRuntime }) {// surfaces AgentProfileCard.function AgentStack({ agentIds }: { agentIds: string[] }) {if (agentIds.length === 0) {- return <span className="text-xs text-muted-foreground/50">—</span>;+ return <span className="text-caption text-muted-foreground/50">—</span>;}const visible = agentIds.slice(0, 3);const extra = agentIds.length - visible.length;@@ -520,7 +520,7 @@ function AgentStack({ agentIds }: { agentIds: string[] }) {</span>))}{extra > 0 && (- <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-xs font-medium text-muted-foreground ring-2 ring-background">+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-caption font-medium text-muted-foreground ring-2 ring-background">+{extra}</span>)}@@ -769,12 +769,12 @@ export function RuntimeList({actorId={row.ownerMember.user_id}size="sm"/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{row.ownerMember.name}</span></>) : (- <span className="text-xs text-muted-foreground/50">—</span>+ <span className="text-caption text-muted-foreground/50">—</span>)}</ListGridCell>) : (@@ -786,7 +786,7 @@ export function RuntimeList({<ListGridCell className="hidden @2xl:flex">{pending ? (<div className="w-full text-right">- <span className="text-xs text-muted-foreground/50">—</span>+ <span className="text-caption text-muted-foreground/50">—</span></div>) : (<CostCell runtimeId={row.runtime.id} />diff --git a/packages/views/runtimes/components/runtime-profiles-dialog.tsx b/packages/views/runtimes/components/runtime-profiles-dialog.tsxindex 28ae65f376..0f52d2a810 100644--- a/packages/views/runtimes/components/runtime-profiles-dialog.tsx+++ b/packages/views/runtimes/components/runtime-profiles-dialog.tsx@@ -118,7 +118,7 @@ export function RuntimeProfilesDialog({><DialogHeader className="border-b px-6 py-5"><div className="flex items-start justify-between gap-3">- <DialogTitle className="flex min-w-0 items-center gap-2 text-base">+ <DialogTitle className="flex min-w-0 items-center gap-2 text-title-sm"><Serveraria-hidden="true"className="h-4 w-4 shrink-0 text-muted-foreground"@@ -159,7 +159,7 @@ export function RuntimeProfilesDialog({</DialogClose></div></div>- <DialogDescription className="text-xs">+ <DialogDescription className="text-caption"><span className="block">{intent === "create"? t(($) => $.profiles.create_dialog_description, {@@ -271,7 +271,7 @@ function CatalogList({return (<div className="flex min-h-0 flex-col border-b md:border-b-0 md:border-r"><div className="flex shrink-0 items-center justify-between border-b bg-background px-4 py-3">- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.profiles.list_title)}</h3></div>@@ -285,7 +285,7 @@ function CatalogList({<div className="mb-2 flex items-center justify-between gap-3"><h4id="runtime-profile-custom-section"- className="text-xs font-medium uppercase tracking-wide text-muted-foreground"+ className="text-caption font-medium uppercase tracking-wide text-muted-foreground">{t(($) => $.profiles.custom_section_title, {count: catalog.customs.length,@@ -332,13 +332,13 @@ function CatalogList({<span className="min-w-0"><spanid="runtime-profile-builtin-section"- className="block text-xs font-medium uppercase tracking-wide text-muted-foreground"+ className="block text-caption font-medium uppercase tracking-wide text-muted-foreground">{t(($) => $.profiles.builtin_section_title, {count: catalog.builtins.length,})}</span>- <span className="mt-0.5 block truncate text-xs text-muted-foreground">+ <span className="mt-0.5 block truncate text-caption text-muted-foreground">{t(($) => $.profiles.builtin_section_hint)}</span></span>@@ -383,8 +383,8 @@ function EmptyCustomState({ onAddNew }: { onAddNew: () => void }) {<Server aria-hidden="true" className="h-4 w-4 text-muted-foreground" /></span><div className="min-w-0 flex-1">- <h5 className="text-sm font-medium">{t(($) => $.profiles.empty_title)}</h5>- <p className="mt-1 text-xs leading-relaxed text-muted-foreground">+ <h5 className="text-body font-medium">{t(($) => $.profiles.empty_title)}</h5>+ <p className="mt-1 text-caption leading-relaxed text-muted-foreground">{t(($) => $.profiles.empty_description)}</p><Button@@ -439,26 +439,26 @@ function CatalogRow({<span className="flex items-center gap-1.5"><spanclassName={cn(- "truncate text-sm font-medium",+ "truncate text-body font-medium",entry.kind === "builtin" && "capitalize",)}>{label}</span>{disabled && (- <span className="shrink-0 rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded bg-muted px-1 text-micro font-medium text-muted-foreground">{t(($) => $.profiles.badge_disabled)}</span>)}</span>{entry.kind === "custom" && (- <span className="block truncate text-xs capitalize text-muted-foreground">+ <span className="block truncate text-caption capitalize text-muted-foreground">{entry.protocolFamily}</span>)}</span>{isBuiltin && (- <span className="shrink-0 text-[10px] font-medium uppercase tracking-wide text-muted-foreground">+ <span className="shrink-0 text-micro font-medium uppercase tracking-wide text-muted-foreground">{t(($) => $.profiles.builtin_reference)}</span>)}@@ -492,10 +492,10 @@ function DetailPanel({<span className="mx-auto flex h-11 w-11 items-center justify-center rounded-md border bg-background"><Server className="h-5 w-5 text-muted-foreground" /></span>- <h3 className="mt-4 text-base font-semibold">+ <h3 className="mt-4 text-title-sm font-semibold">{t(($) => $.profiles.detail.default_title)}</h3>- <p className="mt-2 text-sm leading-relaxed text-muted-foreground">+ <p className="mt-2 text-body leading-relaxed text-muted-foreground">{t(($) => $.profiles.detail.default_description)}</p></div>@@ -511,15 +511,15 @@ function DetailPanel({<ProviderLogo provider={entry.protocolFamily} className="h-5 w-5" /></span><div className="min-w-0">- <h3 className="truncate text-base font-semibold capitalize">+ <h3 className="truncate text-title-sm font-semibold capitalize">{entry.protocolFamily}</h3>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.profiles.builtin_detail.read_only)}</span></div></div>- <p className="mt-4 text-sm text-muted-foreground">+ <p className="mt-4 text-body text-muted-foreground">{t(($) => $.profiles.builtin_detail.description, {family: entry.protocolFamily,})}@@ -546,10 +546,10 @@ function DetailPanel({/></span><div className="min-w-0">- <h3 className="truncate text-base font-semibold">+ <h3 className="truncate text-title-sm font-semibold">{profile.display_name}</h3>- <span className="text-xs capitalize text-muted-foreground">+ <span className="text-caption capitalize text-muted-foreground">{profile.protocol_family}</span></div>@@ -561,7 +561,7 @@ function DetailPanel({<span className="capitalize">{profile.protocol_family}</span></DetailRow><DetailRow label={t(($) => $.profiles.detail.command)}>- <span className="font-mono text-xs">{commandLine}</span>+ <span className="font-mono text-caption">{commandLine}</span></DetailRow><DetailRow label={t(($) => $.profiles.detail.description)}>{profile.description ? (@@ -620,10 +620,10 @@ function DetailRow({}) {return (<div>- <dt className="text-xs font-medium uppercase tracking-wide text-muted-foreground">+ <dt className="text-caption font-medium uppercase tracking-wide text-muted-foreground">{label}</dt>- <dd className="mt-1 text-sm">{children}</dd>+ <dd className="mt-1 text-body">{children}</dd></div>);}@@ -663,13 +663,13 @@ function ProfileFormView({return (<div className="flex min-h-0 flex-1 flex-col"><div className="min-h-0 flex-1 overflow-y-auto px-6 py-5">- <p className="text-[11px] font-medium uppercase tracking-wide text-muted-foreground">+ <p className="text-micro font-medium uppercase tracking-wide text-muted-foreground">{t(($) => $.profiles.form.step_progress, { current: 1, total: 2 })}</p>- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{t(($) => $.profiles.form.step_family_label)}</h3>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.profiles.form.step_family_hint)}</p><div@@ -681,7 +681,7 @@ function ProfileFormView({key={option}type="button"onClick={() => onPickFamily(option)}- className="flex items-center gap-2 rounded-md border bg-background px-3 py-2.5 text-left text-sm transition-colors hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none"+ className="flex items-center gap-2 rounded-md border bg-background px-3 py-2.5 text-left text-body transition-colors hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none"><ProviderLogo provider={option} className="h-4 w-4 shrink-0" /><span className="truncate capitalize">{option}</span>@@ -852,12 +852,12 @@ function ProfileDetailsForm({className="min-h-0 flex-1 space-y-4 overflow-y-auto px-6 py-5">{mode === "create" && (- <p className="text-[11px] font-medium uppercase tracking-wide text-muted-foreground">+ <p className="text-micro font-medium uppercase tracking-wide text-muted-foreground">{t(($) => $.profiles.form.step_progress, { current: 2, total: 2 })}</p>)}{(mode === "create" || !hideEditHeading) && (- <h3 className="text-sm font-medium">+ <h3 className="text-body font-medium">{mode === "create"? t(($) => $.profiles.form.step_details_label): t(($) => $.profiles.form.edit_title)}@@ -865,14 +865,14 @@ function ProfileDetailsForm({)}<div className="space-y-1.5">- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.profiles.form.family_label)}</Label><div className="flex items-center gap-2 rounded-md border bg-muted/30 px-3 py-2"><ProviderLogo provider={family} className="h-4 w-4 shrink-0" />- <span className="text-sm capitalize">{family}</span>+ <span className="text-body capitalize">{family}</span></div>- <p className="text-[11px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.profiles.form.family_locked_hint)}</p></div>@@ -880,7 +880,7 @@ function ProfileDetailsForm({<div className="space-y-1.5"><LabelhtmlFor={`${idPrefix}-display-name`}- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground">{t(($) => $.profiles.form.display_name_label)}</Label>@@ -897,12 +897,12 @@ function ProfileDetailsForm({? `${idPrefix}-display-name-error`: undefined}- className="h-9 text-sm"+ className="h-9 text-body"/>{hasError("displayName") && (<pid={`${idPrefix}-display-name-error`}- className="text-xs text-destructive"+ className="text-caption text-destructive">{t(($) => $.profiles.form.error_display_name_required)}</p>@@ -910,7 +910,7 @@ function ProfileDetailsForm({{duplicateName && !hasError("displayName") && (<pid={`${idPrefix}-display-name-error`}- className="text-xs text-destructive"+ className="text-caption text-destructive">{t(($) => $.profiles.form.error_duplicate_name)}</p>@@ -920,7 +920,7 @@ function ProfileDetailsForm({<div className="space-y-1.5"><LabelhtmlFor={`${idPrefix}-command`}- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground">{t(($) => $.profiles.form.command_name_label)}</Label>@@ -936,15 +936,15 @@ function ProfileDetailsForm({aria-describedby={hasError("commandLine") ? `${idPrefix}-command-error` : undefined}- className="h-9 font-mono text-sm"+ className="h-9 font-mono text-body"/>{commandError && (- <p id={`${idPrefix}-command-error`} className="text-xs text-destructive">+ <p id={`${idPrefix}-command-error`} className="text-caption text-destructive">{commandError}</p>)}{parsedCommand.ok && (- <div className="space-y-1 rounded-md border bg-muted/20 px-3 py-2 text-[11px] text-muted-foreground">+ <div className="space-y-1 rounded-md border bg-muted/20 px-3 py-2 text-micro text-muted-foreground"><div className="flex min-w-0 gap-1"><span>{t(($) => $.profiles.form.command_preview_executable)}</span><span className="truncate font-mono text-foreground">@@ -971,7 +971,7 @@ function ProfileDetailsForm({<div className="space-y-1.5"><LabelhtmlFor={`${idPrefix}-description`}- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground">{t(($) => $.profiles.form.description_label)}</Label>@@ -982,7 +982,7 @@ function ProfileDetailsForm({value={values.description}onChange={(e) => setField("description", e.target.value)}placeholder={t(($) => $.profiles.form.description_placeholder)}- className="min-h-16 text-sm"+ className="min-h-16 text-body"/></div>@@ -994,7 +994,7 @@ function ProfileDetailsForm({MUL-3308. */}{formError && (- <p role="alert" className="text-xs text-destructive">+ <p role="alert" className="text-caption text-destructive">{formError}</p>)}diff --git a/packages/views/runtimes/components/runtime-settings-page.tsx b/packages/views/runtimes/components/runtime-settings-page.tsxindex d3903c823b..2bdaa2a514 100644--- a/packages/views/runtimes/components/runtime-settings-page.tsx+++ b/packages/views/runtimes/components/runtime-settings-page.tsx@@ -51,8 +51,8 @@ export function RuntimeSettingsPage({aria-hidden="true"className="h-10 w-10 text-muted-foreground/30"/>- <p className="mt-3 text-sm">{t(($) => $.detail_page.not_found_title)}</p>- <p className="mt-1 text-xs text-muted-foreground/70">+ <p className="mt-3 text-body">{t(($) => $.detail_page.not_found_title)}</p>+ <p className="mt-1 text-caption text-muted-foreground/70">{t(($) => $.detail_page.not_found_hint)}</p></div>diff --git a/packages/views/runtimes/components/runtimes-page.tsx b/packages/views/runtimes/components/runtimes-page.tsxindex 7483c26aa7..a1c5904272 100644--- a/packages/views/runtimes/components/runtimes-page.tsx+++ b/packages/views/runtimes/components/runtimes-page.tsx@@ -189,10 +189,10 @@ function OrphanRuntimeProfiles({return (<section className={hasMachines ? "mt-6" : undefined}><div className="mb-3">- <h2 className="text-sm font-semibold">+ <h2 className="text-body font-semibold">{t(($) => $.profiles.unassigned_title)}</h2>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.profiles.unassigned_description)}</p></div>@@ -300,10 +300,10 @@ function MachineRow({ machine }: { machine: RuntimeMachine }) {/></span><span className="min-w-0 flex-1">- <span className="block truncate text-sm font-medium">+ <span className="block truncate text-body font-medium">{machine.title}</span>- <span className="mt-1 flex min-w-0 items-center gap-2 text-xs text-muted-foreground">+ <span className="mt-1 flex min-w-0 items-center gap-2 text-caption text-muted-foreground"><span className="truncate">{machine.subtitle ??(machine.section === "cloud"@@ -311,26 +311,26 @@ function MachineRow({ machine }: { machine: RuntimeMachine }) {: t(($) => $.machine.metrics.local_daemon))}</span>{machine.isCurrent && (- <span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="shrink-0 rounded bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{t(($) => $.machine.this_machine)}</span>)}</span></span>- <span className="hidden w-36 shrink-0 items-center gap-1.5 text-xs md:flex">+ <span className="hidden w-36 shrink-0 items-center gap-1.5 text-caption md:flex"><HealthIcon health={machine.health} /><span>{healthLabel(machine.health)}</span></span><span className="hidden w-40 shrink-0 flex-col gap-1 lg:flex">- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.machine.runtime_count, {count: machine.runtimes.length,})}</span><ProviderIconStack providers={machine.providerNames} /></span>- <span className="hidden w-36 shrink-0 text-xs text-muted-foreground xl:block">+ <span className="hidden w-36 shrink-0 text-caption text-muted-foreground xl:block">{busyCount > 0? t(($) => $.machine.metrics.workload_hint, {running: machine.runningCount,@@ -338,7 +338,7 @@ function MachineRow({ machine }: { machine: RuntimeMachine }) {}): t(($) => $.machine.metrics.workload_idle)}</span>- <span className="hidden w-28 shrink-0 text-right text-xs text-muted-foreground lg:block">+ <span className="hidden w-28 shrink-0 text-right text-caption text-muted-foreground lg:block">{machine.lastSeenAt ? timeAgo(machine.lastSeenAt) : "—"}</span>{locator && (@@ -375,7 +375,7 @@ function ProviderIconStack({ providers }: { providers: string[] }) {</span>))}{extra > 0 && (- <span className="inline-flex h-5 min-w-5 items-center justify-center rounded bg-muted px-1 text-[10px] font-medium text-muted-foreground ring-1 ring-border">+ <span className="inline-flex h-5 min-w-5 items-center justify-center rounded bg-muted px-1 text-micro font-medium text-muted-foreground ring-1 ring-border">+{extra}</span>)}diff --git a/packages/views/runtimes/components/shared.tsx b/packages/views/runtimes/components/shared.tsxindex 433b41e9c9..2ed7d31e5a 100644--- a/packages/views/runtimes/components/shared.tsx+++ b/packages/views/runtimes/components/shared.tsx@@ -16,7 +16,7 @@ export function RuntimeModeIcon({ mode }: { mode: string }) {// list rows to identify which CLI / model provider a runtime is wired to.export function ProviderChip({ provider }: { provider: string }) {return (- <span className="inline-flex items-center gap-1 rounded-md border bg-muted/40 px-1.5 py-0.5 text-xs font-medium text-muted-foreground">+ <span className="inline-flex items-center gap-1 rounded-md border bg-muted/40 px-1.5 py-0.5 text-caption font-medium text-muted-foreground"><ProviderLogo provider={provider} className="h-3 w-3" /><span className="capitalize">{provider}</span></span>@@ -148,9 +148,9 @@ export function InfoField({}) {return (<div>- <div className="text-xs text-muted-foreground">{label}</div>+ <div className="text-caption text-muted-foreground">{label}</div><div- className={`mt-0.5 text-sm truncate ${mono ? "font-mono text-xs" : ""}`}+ className={`mt-0.5 text-body truncate ${mono ? "font-mono text-caption" : ""}`}>{value}</div>@@ -161,8 +161,8 @@ export function InfoField({export function TokenCard({ label, value }: { label: string; value: string }) {return (<div className="rounded-lg border px-3 py-2">- <div className="text-xs text-muted-foreground">{label}</div>- <div className="mt-0.5 text-sm font-semibold tabular-nums">{value}</div>+ <div className="text-caption text-muted-foreground">{label}</div>+ <div className="mt-0.5 text-body font-semibold tabular-nums">{value}</div></div>);}@@ -191,14 +191,14 @@ export function KpiCard({: "";return (<div className="flex flex-col gap-2 p-5">- <div className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground">+ <div className="text-micro font-medium uppercase tracking-wider text-muted-foreground">{label}</div>- <div className={`text-3xl font-semibold leading-none tabular-nums ${valueClass}`}>+ <div className={`text-display font-semibold leading-none tabular-nums ${valueClass}`}>{value}</div>{hint != null && (- <div className="text-xs text-muted-foreground">{hint}</div>+ <div className="text-caption text-muted-foreground">{hint}</div>)}</div>);diff --git a/packages/views/runtimes/components/update-section.tsx b/packages/views/runtimes/components/update-section.tsxindex c662b9c551..82dc8b3630 100644--- a/packages/views/runtimes/components/update-section.tsx+++ b/packages/views/runtimes/components/update-section.tsx@@ -183,14 +183,14 @@ export function UpdateSection({return (<div className="space-y-2"><div className="flex items-center gap-2 flex-wrap">- <span className="text-xs text-muted-foreground">{t(($) => $.update.cli_version_label)}</span>- <span className="text-xs font-mono">+ <span className="text-caption text-muted-foreground">{t(($) => $.update.cli_version_label)}</span>+ <span className="text-caption font-mono">{currentVersion ?? t(($) => $.update.version_unknown)}</span>{isManaged ? (<span- className="inline-flex items-center gap-1 text-xs text-muted-foreground"+ className="inline-flex items-center gap-1 text-caption text-muted-foreground"title={t(($) => $.update.managed_by_desktop_title)}>{t(($) => $.update.managed_by_desktop)}@@ -198,7 +198,7 @@ export function UpdateSection({) : (<>{!hasUpdate && currentVersion && latestVersion && !status && (- <span className="inline-flex items-center gap-1 text-xs text-success">+ <span className="inline-flex items-center gap-1 text-caption text-success"><Check className="h-3 w-3" />{t(($) => $.update.latest)}</span>@@ -206,17 +206,17 @@ export function UpdateSection({{hasUpdate && !status && (<>- <span className="text-xs text-muted-foreground">→</span>- <span className="text-xs font-mono text-info">+ <span className="text-caption text-muted-foreground">→</span>+ <span className="text-caption font-mono text-info">{latestVersion}</span>- <span className="text-xs text-muted-foreground">{t(($) => $.update.available)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.update.available)}</span></>)}{hasUpdate && !runtimeId && (<span- className="inline-flex items-center gap-1 text-xs text-muted-foreground"+ className="inline-flex items-center gap-1 text-caption text-muted-foreground"title={t(($) => $.update.read_only_title)}><Lock className="h-3 w-3" />@@ -240,7 +240,7 @@ export function UpdateSection({{config && Icon && status && (<span- className={`inline-flex items-center gap-1 text-xs ${config.color}`}+ className={`inline-flex items-center gap-1 text-caption ${config.color}`}><Icon className={`h-3 w-3 ${isActive ? "animate-spin" : ""}`} />{t(($) => $.update.status[status])}@@ -250,13 +250,13 @@ export function UpdateSection({{status === "completed" && output && (<div className="rounded-lg border bg-success/5 px-3 py-2">- <p className="text-xs text-success">{output}</p>+ <p className="text-caption text-success">{output}</p></div>)}{(status === "failed" || status === "timeout") && error && (<div className="rounded-lg border border-destructive/20 bg-destructive/5 px-3 py-2">- <p className="text-xs text-destructive">{error}</p>+ <p className="text-caption text-destructive">{error}</p>{status === "failed" && (<Buttonvariant="ghost"diff --git a/packages/views/runtimes/components/usage-section.tsx b/packages/views/runtimes/components/usage-section.tsxindex da28e7d2bc..bc74ae75b0 100644--- a/packages/views/runtimes/components/usage-section.tsx+++ b/packages/views/runtimes/components/usage-section.tsx@@ -103,7 +103,7 @@ function Segmented<T extends string | number>({type="button"disabled={disabled}onClick={() => onChange(o.value)}- className={`rounded-sm px-2.5 py-1 text-xs font-medium transition-colors disabled:cursor-not-allowed ${+ className={`rounded-sm px-2.5 py-1 text-caption font-medium transition-colors disabled:cursor-not-allowed ${o.value === value? "bg-background text-foreground shadow-sm": "text-muted-foreground hover:text-foreground"@@ -191,7 +191,7 @@ export function UsageSection({ runtime }: { runtime: AgentRuntime }) {26 weeks), and its tab disables this control to telegraph that. */}<div className="flex flex-wrap items-center justify-between gap-3"><div className="flex items-center gap-3">- <span className="text-xs uppercase tracking-wider text-muted-foreground">+ <span className="text-caption uppercase tracking-wider text-muted-foreground">{t(($) => $.usage.dimension_label)}</span><Segmented@@ -206,7 +206,7 @@ export function UsageSection({ runtime }: { runtime: AgentRuntime }) {/></div><div className="flex items-center gap-3">- <span className="text-xs uppercase tracking-wider text-muted-foreground">+ <span className="text-caption uppercase tracking-wider text-muted-foreground">{t(($) => $.usage.period_label)}</span><Segmented@@ -376,7 +376,7 @@ function WhenChart({<div className="rounded-lg border bg-card p-4"><div className="mb-3 flex flex-wrap items-center justify-between gap-3"><div className="flex flex-wrap items-center gap-3">- <h4 className="text-sm font-semibold">{t(($) => $.usage.when_title)}</h4>+ <h4 className="text-body font-semibold">{t(($) => $.usage.when_title)}</h4>{/* Cost / Tokens metric toggle — only meaningful when the chartactually has two series-types to switch between. */}{metricToggleVisible && (@@ -397,7 +397,7 @@ function WhenChart({<buttontype="button"onClick={() => setShowHeatmap((v) => !v)}- className={`rounded-md border px-2.5 py-1 text-xs font-medium transition-colors ${+ className={`rounded-md border px-2.5 py-1 text-caption font-medium transition-colors ${showHeatmap? "border-foreground bg-foreground text-background": "border-border text-muted-foreground hover:text-foreground"@@ -413,7 +413,7 @@ function WhenChart({</div>{showHeatmap && (- <p className="mb-2 text-center text-xs text-muted-foreground">+ <p className="mb-2 text-center text-caption text-muted-foreground">{t(($) => $.usage.heatmap_caption)}</p>)}@@ -514,25 +514,25 @@ function EmptyChartState({ usage }: { usage: RuntimeUsage[] }) {<div className="flex aspect-[3/1] flex-col items-center justify-center gap-2 rounded-md border border-dashed bg-muted/20 p-6 text-center"><BarChart3 className="h-5 w-5 text-muted-foreground/50" />{!hasTokens ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.usage.empty_no_usage)}</p>) : unmapped.length > 0 ? (// CTA lives in the page-level UnmappedPricingNotice above. Keep the// chart-area copy descriptive only so the two surfaces don't bicker.<>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.usage.empty_pricing_missing)}</p>- <p className="font-mono text-[11px] text-foreground">+ <p className="font-mono text-micro text-foreground">{unmapped.join(", ")}</p>- <p className="text-[11px] text-muted-foreground/70">+ <p className="text-micro text-muted-foreground/70">{t(($) => $.usage.empty_pricing_hint)}</p></>) : (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.usage.empty_zero_cost)}</p>)}@@ -571,7 +571,7 @@ function CustomPricingBar({ usage }: { usage: RuntimeUsage[] }) {<divrole={hasGap ? "alert" : undefined}className={cn(- "flex flex-wrap items-center gap-3 rounded-lg border px-3 py-2 text-xs",+ "flex flex-wrap items-center gap-3 rounded-lg border px-3 py-2 text-caption",hasGap ? "border-warning/30 bg-warning/10" : "bg-muted/20",)}>@@ -582,7 +582,7 @@ function CustomPricingBar({ usage }: { usage: RuntimeUsage[] }) {<p className="text-foreground">{t(($) => $.usage.unmapped_notice, { count: unmapped.length })}</p>- <p className="truncate font-mono text-[11px] text-muted-foreground">+ <p className="truncate font-mono text-micro text-muted-foreground">{unmapped.join(", ")}</p></div>@@ -630,7 +630,7 @@ function ChartLegend({ includeCacheRead = false }: { includeCacheRead?: boolean{ label: t(($) => $.usage.legend_cache_write), color: "var(--color-chart-3)" },];return (- <div className="flex items-center gap-3 text-xs text-muted-foreground">+ <div className="flex items-center gap-3 text-caption text-muted-foreground">{items.map((it) => (<span key={it.label} className="inline-flex items-center gap-1.5"><span@@ -693,7 +693,7 @@ function CostByBlock({<div><div className="flex flex-wrap items-center justify-between gap-3 border-b pb-3"><div className="flex items-center gap-3">- <h4 className="text-sm font-semibold">+ <h4 className="text-body font-semibold">{tab === "agent"? t(($) => $.usage.cost_by_title_agent): t(($) => $.usage.cost_by_title_model)}@@ -709,7 +709,7 @@ function CostByBlock({}/></div>- <span className="text-xs text-muted-foreground">{caption}</span>+ <span className="text-caption text-muted-foreground">{caption}</span></div><div className="pt-4">{tab === "agent" && (@@ -720,7 +720,7 @@ function CostByBlock({return (<div className="flex min-w-0 items-center gap-2"><ActorAvatar actorType="agent" actorId={key} size="md" enableHoverCard />- <span className="cursor-pointer truncate text-sm font-medium">+ <span className="cursor-pointer truncate text-body font-medium">{agent?.name ?? key}</span></div>@@ -732,7 +732,7 @@ function CostByBlock({<CostByListrows={byModel}renderKey={(key) => (- <span className="truncate font-mono text-xs text-foreground">+ <span className="truncate font-mono text-caption text-foreground">{key}</span>)}@@ -758,7 +758,7 @@ function CostByList({const { t } = useT("runtimes");if (rows.length === 0) {return (- <p className="py-4 text-center text-xs text-muted-foreground">+ <p className="py-4 text-center text-caption text-muted-foreground">{emptyHint ?? t(($) => $.usage.empty_no_usage)}</p>);@@ -780,10 +780,10 @@ function CostByList({style={{ width: `${pct}%` }}/></div>- <div className="text-right text-xs tabular-nums text-muted-foreground">+ <div className="text-right text-caption tabular-nums text-muted-foreground">{formatTokens(row.tokens)}</div>- <div className="text-right text-sm font-medium tabular-nums">+ <div className="text-right text-body font-medium tabular-nums">${row.cost.toFixed(2)}</div></div>@@ -807,7 +807,7 @@ function FoldedRow({ usage }: { usage: RuntimeUsage[] }) {<buttontype="button"onClick={() => setOpen((v) => !v)}- className="inline-flex items-center gap-1 text-xs text-muted-foreground transition-colors hover:text-foreground"+ className="inline-flex items-center gap-1 text-caption text-muted-foreground transition-colors hover:text-foreground"><ChevronRightclassName={`h-3 w-3 transition-transform ${open ? "rotate-90" : ""}`}@@ -833,7 +833,7 @@ function DailyBreakdownTable({ usage }: { usage: RuntimeUsage[] }) {}return (<div className="rounded-lg border">- <div className="grid grid-cols-[100px_1fr_80px_80px_80px_80px] gap-2 border-b px-3 py-2 text-xs font-medium text-muted-foreground">+ <div className="grid grid-cols-[100px_1fr_80px_80px_80px_80px] gap-2 border-b px-3 py-2 text-caption font-medium text-muted-foreground"><div>{t(($) => $.usage.table_date)}</div><div>{t(($) => $.usage.table_model)}</div><div className="text-right">{t(($) => $.usage.table_input)}</div>@@ -846,7 +846,7 @@ function DailyBreakdownTable({ usage }: { usage: RuntimeUsage[] }) {rows.map((row, i) => (<divkey={`${date}-${row.model}-${i}`}- className="grid grid-cols-[100px_1fr_80px_80px_80px_80px] gap-2 px-3 py-1.5 text-xs"+ className="grid grid-cols-[100px_1fr_80px_80px_80px_80px] gap-2 px-3 py-1.5 text-caption"><div className="text-muted-foreground">{date}</div><div className="truncate font-mono">{row.model}</div>@@ -889,7 +889,7 @@ function UsageEmpty() {return (<div className="flex flex-col items-center rounded-lg border border-dashed py-8"><BarChart3 className="h-5 w-5 text-muted-foreground/40" />- <p className="mt-2 text-xs text-muted-foreground">+ <p className="mt-2 text-caption text-muted-foreground">{t(($) => $.usage.no_data)}</p></div>diff --git a/packages/views/search/search-command.tsx b/packages/views/search/search-command.tsxindex c9273cf0ad..f2b67c6f6b 100644--- a/packages/views/search/search-command.tsx+++ b/packages/views/search/search-command.tsx@@ -520,7 +520,7 @@ export function SearchCommand() {e.stopPropagation();}}}- className="flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"+ className="flex-1 bg-transparent text-body outline-none placeholder:text-muted-foreground"/><ShortcutKeycapsshortcut={createShortcutChord("Escape")}@@ -533,7 +533,7 @@ export function SearchCommand() {{/* Pages section — only shown when query matches */}{filteredPages.length > 0 && (<CommandPrimitive.Group className="p-2">- <div className="px-3 py-1.5 text-xs font-medium text-muted-foreground">+ <div className="px-3 py-1.5 text-caption font-medium text-muted-foreground">{t(($) => $.groups.pages)}</div>{filteredPages.map((page) => {@@ -543,7 +543,7 @@ export function SearchCommand() {key={page.key}value={`page:${page.key}`}onSelect={() => handlePageSelect(page.key)}- className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><PageIcon className="size-4 shrink-0 text-muted-foreground" /><span className="truncate">@@ -558,7 +558,7 @@ export function SearchCommand() {{/* Commands section — New Issue / New Project / Copy link / Theme, only shown when query matches */}{filteredCommands.length > 0 && (<CommandPrimitive.Group className="p-2">- <div className="px-3 py-1.5 text-xs font-medium text-muted-foreground">+ <div className="px-3 py-1.5 text-caption font-medium text-muted-foreground">{t(($) => $.groups.commands)}</div>{filteredCommands.map((cmd) => (@@ -566,7 +566,7 @@ export function SearchCommand() {key={cmd.key}value={`command:${cmd.key}`}onSelect={cmd.onSelect}- className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><cmd.icon className="size-4 shrink-0 text-muted-foreground" /><span className="truncate">@@ -580,7 +580,7 @@ export function SearchCommand() {{filteredMembers.length > 0 && (<CommandPrimitive.Group className="p-2">- <div className="px-3 py-1.5 text-xs font-medium text-muted-foreground">+ <div className="px-3 py-1.5 text-caption font-medium text-muted-foreground">{t(($) => $.groups.members)}</div>{filteredMembers.map((member) => (@@ -588,7 +588,7 @@ export function SearchCommand() {key={member.user_id}value={`member:${member.user_id}`}onSelect={() => handleMemberSelect(member.user_id)}- className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><ActorAvatarBasename={member.name}@@ -600,7 +600,7 @@ export function SearchCommand() {<div className="truncate"><HighlightText text={member.name} query={query} /></div>- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground"><HighlightText text={member.email} query={query} /></div></div>@@ -620,7 +620,7 @@ export function SearchCommand() {!hasResults &&filteredPages.length === 0 &&filteredCommands.length === 0 && (- <CommandPrimitive.Empty className="py-10 text-center text-sm text-muted-foreground">+ <CommandPrimitive.Empty className="py-10 text-center text-body text-muted-foreground">{t(($) => $.empty.no_results)}</CommandPrimitive.Empty>)}@@ -628,14 +628,14 @@ export function SearchCommand() {{!isLoading && results.projects.length > 0 && (<CommandPrimitive.Groupheading={t(($) => $.groups.projects)}- className="p-2 [&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground"+ className="p-2 [&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-caption [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground">{results.projects.map((project) => (<CommandPrimitive.Itemkey={`project:${project.id}`}value={`project:${project.id}`}onSelect={handleSelect}- className="flex cursor-default select-none flex-col gap-1 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none flex-col gap-1 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><div className="flex items-center gap-2.5"><ProjectIcon project={project} size="md" />@@ -643,7 +643,7 @@ export function SearchCommand() {<HighlightText text={project.title} query={query} /></span><span- className={`ml-auto text-xs shrink-0 ${PROJECT_STATUS_CONFIG[project.status as ProjectStatus]?.color ?? "text-muted-foreground"}`}+ className={`ml-auto text-caption shrink-0 ${PROJECT_STATUS_CONFIG[project.status as ProjectStatus]?.color ?? "text-muted-foreground"}`}>{PROJECT_STATUS_CONFIG[project.status as ProjectStatus]?.label ?? project.status}</span>@@ -651,7 +651,7 @@ export function SearchCommand() {{project.match_source === "description" &&project.matched_snippet && (<div className="flex items-start gap-2 pl-[26px]">- <span className="text-xs text-muted-foreground truncate">+ <span className="text-caption text-muted-foreground truncate"><HighlightTexttext={project.matched_snippet}query={query}@@ -667,21 +667,21 @@ export function SearchCommand() {{!isLoading && results.issues.length > 0 && (<CommandPrimitive.Groupheading={t(($) => $.groups.issues)}- className="p-2 [&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground"+ className="p-2 [&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-caption [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground">{results.issues.map((issue) => (<CommandPrimitive.Itemkey={issue.id}value={issue.id}onSelect={handleSelect}- className="flex cursor-default select-none flex-col gap-1 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none flex-col gap-1 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><div className="flex items-center gap-2.5"><StatusIconstatus={issue.status}className="size-4 shrink-0"/>- <span className="text-xs text-muted-foreground shrink-0">+ <span className="text-caption text-muted-foreground shrink-0">{issue.identifier}</span><span className="min-w-0 flex-1 truncate">@@ -695,7 +695,7 @@ export function SearchCommand() {{issue.matched_description_snippet && (<div className="flex items-start gap-2 pl-[26px]"><FileText className="size-3 shrink-0 text-muted-foreground mt-0.5" />- <span className="text-xs text-muted-foreground truncate">+ <span className="text-caption text-muted-foreground truncate"><HighlightTexttext={issue.matched_description_snippet}query={query}@@ -706,7 +706,7 @@ export function SearchCommand() {{issue.matched_comment_snippet && (<div className="flex items-start gap-2 pl-[26px]"><MessageSquare className="size-3 shrink-0 text-muted-foreground mt-0.5" />- <span className="text-xs text-muted-foreground truncate">+ <span className="text-caption text-muted-foreground truncate"><HighlightTexttext={issue.matched_comment_snippet}query={query}@@ -721,7 +721,7 @@ export function SearchCommand() {{!isLoading && !query.trim() && recentIssues.length > 0 && (<CommandPrimitive.Group className="p-2">- <div className="flex items-center gap-2 px-3 py-1.5 text-xs font-medium text-muted-foreground">+ <div className="flex items-center gap-2 px-3 py-1.5 text-caption font-medium text-muted-foreground"><Clock className="size-3" /><span>{t(($) => $.groups.recent)}</span></div>@@ -730,13 +730,13 @@ export function SearchCommand() {key={item.id}value={item.id}onSelect={handleSelect}- className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"+ className="flex cursor-default select-none items-center gap-2.5 rounded-lg px-3 py-2.5 text-body outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent"><StatusIconstatus={item.status}className="size-4 shrink-0"/>- <span className="text-xs text-muted-foreground shrink-0">+ <span className="text-caption text-muted-foreground shrink-0">{item.identifier}</span><span className="min-w-0 flex-1 truncate">{item.title}</span>@@ -750,7 +750,7 @@ export function SearchCommand() {)}{!isLoading && !query.trim() && recentIssues.length === 0 && (- <div className="px-5 py-4 text-center text-xs text-muted-foreground">+ <div className="px-5 py-4 text-center text-caption text-muted-foreground">{t(($) => $.empty.type_to_search)}</div>)}diff --git a/packages/views/settings/components/account-tab.tsx b/packages/views/settings/components/account-tab.tsxindex cac5564f48..88976bf811 100644--- a/packages/views/settings/components/account-tab.tsx+++ b/packages/views/settings/components/account-tab.tsx@@ -170,7 +170,7 @@ export function AccountTab() {aria-invalid={descriptionTooLong}className="resize-y"/>- <div className="mt-1 flex justify-end text-xs text-muted-foreground">+ <div className="mt-1 flex justify-end text-caption text-muted-foreground"><spanclassName={descriptionTooLong ? "text-destructive shrink-0" : "shrink-0"}aria-live="polite"@@ -179,7 +179,7 @@ export function AccountTab() {</span></div>{descriptionTooLong ? (- <p className="mt-1 text-xs text-destructive">+ <p className="mt-1 text-caption text-destructive">{t(($) => $.account.profile_description_too_long, {max: MAX_PROFILE_DESCRIPTION_LEN,count: profileDescription.length,diff --git a/packages/views/settings/components/browser-notification-setting.tsx b/packages/views/settings/components/browser-notification-setting.tsxindex 3c385615cb..e4adcba5dd 100644--- a/packages/views/settings/components/browser-notification-setting.tsx+++ b/packages/views/settings/components/browser-notification-setting.tsx@@ -59,7 +59,7 @@ export function BrowserNotificationSetting() {</Button>)}{permission === "granted" && (- <span className="shrink-0 text-xs font-medium text-muted-foreground">+ <span className="shrink-0 text-caption font-medium text-muted-foreground">{t(($) => $.notifications.browser.enabled_badge)}</span>)}diff --git a/packages/views/settings/components/composio-tab.tsx b/packages/views/settings/components/composio-tab.tsxindex 1ba5d35786..e40ad8075e 100644--- a/packages/views/settings/components/composio-tab.tsx+++ b/packages/views/settings/components/composio-tab.tsx@@ -177,26 +177,26 @@ export function ComposioTab() {return (<div className="space-y-6"><section className="space-y-1">- <p className="text-sm text-muted-foreground">{t(($) => $.composio.page_description)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.composio.page_description)}</p></section>{toolkitsQuery.isLoading ? (<Card><CardContent>- <p className="text-sm text-muted-foreground">{t(($) => $.composio.loading)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.composio.loading)}</p></CardContent></Card>) : toolkitsQuery.isError ? (<Card><CardContent>- <p className="text-sm text-destructive">{t(($) => $.composio.load_failed)}</p>+ <p className="text-body text-destructive">{t(($) => $.composio.load_failed)}</p></CardContent></Card>) : toolkits.length === 0 ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.composio.empty_title)}</p>- <p className="text-xs text-muted-foreground">{t(($) => $.composio.empty_description)}</p>+ <p className="text-body font-medium">{t(($) => $.composio.empty_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.composio.empty_description)}</p></CardContent></Card>) : (@@ -212,7 +212,7 @@ export function ComposioTab() {// connected" — that would hide real connections and offer Connect// on something already linked. Surface it so the user knows the// connected state may be incomplete; the catalog still renders.- <p className="text-xs text-destructive">+ <p className="text-caption text-destructive">{t(($) => $.composio.connections_load_failed)}</p>)}@@ -297,18 +297,18 @@ function ToolkitCard({fallbackLogo={toolkit.logo}/><div className="min-w-0 flex-1">- <p className="truncate text-sm font-medium">{toolkit.name || toolkit.slug}</p>+ <p className="truncate text-body font-medium">{toolkit.name || toolkit.slug}</p>{isConnected ? (// Last-used line. Backend leaves last_used_at null until Stage 3// dispatch stamps it, so show a localized "never used" placeholder// rather than hiding the line entirely.- <p className="truncate text-[10px] text-muted-foreground">+ <p className="truncate text-micro text-muted-foreground">{lastUsedAt? t(($) => $.composio.last_used, { when: timeAgo(lastUsedAt) }): t(($) => $.composio.last_used_never)}</p>) : toolkit.category ? (- <p className="truncate text-[10px] uppercase tracking-wide text-muted-foreground">+ <p className="truncate text-micro uppercase tracking-wide text-muted-foreground">{toolkit.category}</p>) : null}@@ -316,7 +316,7 @@ function ToolkitCard({{isConnected ? (<div className="flex items-center gap-2">- <span className="inline-flex items-center gap-1 text-xs text-emerald-600">+ <span className="inline-flex items-center gap-1 text-caption text-emerald-600"><Check className="h-3 w-3" />{t(($) => $.composio.connected)}</span>@@ -333,7 +333,7 @@ function ToolkitCard({// Token-expired connection: surface the failure and let the user// re-run the same connect flow in one click (no disconnect step).<div className="flex items-center gap-2">- <span className="inline-flex items-center gap-1 text-xs text-amber-600">+ <span className="inline-flex items-center gap-1 text-caption text-amber-600"><AlertTriangle className="h-3 w-3" />{t(($) => $.composio.expired)}</span>diff --git a/packages/views/settings/components/delete-workspace-dialog.tsx b/packages/views/settings/components/delete-workspace-dialog.tsxindex 777e621eb8..af04cc0291 100644--- a/packages/views/settings/components/delete-workspace-dialog.tsx+++ b/packages/views/settings/components/delete-workspace-dialog.tsx@@ -72,9 +72,9 @@ export function DeleteWorkspaceDialog({</DialogHeader><div className="space-y-2">- <Label htmlFor="delete-workspace-confirm" className="text-xs">+ <Label htmlFor="delete-workspace-confirm" className="text-caption">{t(($) => $.delete_workspace_dialog.type_to_confirm_prefix)}{" "}- <code className="rounded bg-muted px-1 py-0.5 font-mono text-xs">+ <code className="rounded bg-muted px-1 py-0.5 font-mono text-caption">{workspaceName}</code>{" "}{t(($) => $.delete_workspace_dialog.type_to_confirm_suffix)}diff --git a/packages/views/settings/components/github-tab.tsx b/packages/views/settings/components/github-tab.tsxindex a1ed4b6480..1020665495 100644--- a/packages/views/settings/components/github-tab.tsx+++ b/packages/views/settings/components/github-tab.tsx@@ -142,10 +142,10 @@ export function GitHubTab() {<GitHubMark className="h-4 w-4" /></div><div className="space-y-1">- <Label htmlFor="github-master" className="text-sm font-medium">+ <Label htmlFor="github-master" className="text-body font-medium">{t(($) => $.github.section_master)}</Label>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{flags.enabled? t(($) => $.github.master_description_on): t(($) => $.github.master_description_off)}@@ -164,23 +164,23 @@ export function GitHubTab() {</section><section className="space-y-3">- <h2 className="text-sm font-semibold">{t(($) => $.github.section_connection)}</h2>+ <h2 className="text-body font-semibold">{t(($) => $.github.section_connection)}</h2><Card><CardContent className="space-y-4"><div className="flex items-start justify-between gap-4"><div className="flex items-start gap-3"><GitHubMark className="h-6 w-6 mt-0.5 shrink-0" /><div className="space-y-1">- <p className="text-sm font-medium">{t(($) => $.github.connection_title)}</p>+ <p className="text-body font-medium">{t(($) => $.github.connection_title)}</p>{connected ? (<>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.connected_to, {login: installations.map((i) => i.account_login).join(", "),})}</p>{primaryInstallation?.connected_by && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.connected_by, {name: primaryInstallation.connected_by!,})}@@ -188,16 +188,16 @@ export function GitHubTab() {)}</>) : canManage ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.connection_description_prefix)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">+ <code className="rounded bg-muted px-1 py-0.5 text-micro">{t(($) => $.github.connection_identifier_example)}</code>{" "}{t(($) => $.github.connection_description_suffix)}{" "}<strong>{t(($) => $.github.connection_description_done)}</strong>.</p>) : (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.contact_admin_to_connect)}</p>)}@@ -237,16 +237,16 @@ export function GitHubTab() {</div>{canManage && !configured && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.not_configured)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">GITHUB_APP_SLUG</code>{" "}+ <code className="rounded bg-muted px-1 py-0.5 text-micro">GITHUB_APP_SLUG</code>{" "}{t(($) => $.github.not_configured_and)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">GITHUB_WEBHOOK_SECRET</code>.+ <code className="rounded bg-muted px-1 py-0.5 text-micro">GITHUB_WEBHOOK_SECRET</code>.</p>)}{!canManage && connected && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.github.read_only_hint)}</p>)}@@ -255,7 +255,7 @@ export function GitHubTab() {</section><section className="space-y-3">- <h2 className="text-sm font-semibold">{t(($) => $.github.section_features)}</h2>+ <h2 className="text-body font-semibold">{t(($) => $.github.section_features)}</h2><Card className="gap-0 py-0"><CardContent className="divide-y divide-surface-border px-0"><FeatureRow@@ -263,7 +263,7 @@ export function GitHubTab() {icon={<PanelRight className="h-4 w-4" />}label={t(($) => $.github.feature_pr_sidebar_label)}description={- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.github.feature_pr_sidebar_description)}</p>}@@ -277,9 +277,9 @@ export function GitHubTab() {icon={<GitCommitHorizontal className="h-4 w-4" />}label={t(($) => $.github.feature_co_author_label)}description={- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.github.feature_co_author_description_prefix)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-xs">+ <code className="rounded bg-muted px-1 py-0.5 text-caption">{"Co-authored-by: multica-agent <[email protected]>"}</code>{" "}{t(($) => $.github.feature_co_author_description_suffix)}@@ -295,7 +295,7 @@ export function GitHubTab() {icon={<Link2 className="h-4 w-4" />}label={t(($) => $.github.feature_auto_link_label)}description={- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.github.feature_auto_link_description)}</p>}@@ -308,11 +308,11 @@ export function GitHubTab() {</section><section className="space-y-3">- <h2 className="text-sm font-semibold">{t(($) => $.github.section_repositories)}</h2>+ <h2 className="text-body font-semibold">{t(($) => $.github.section_repositories)}</h2><Card><CardContent><div className="flex flex-wrap items-center justify-between gap-3">- <p className="text-sm font-medium">+ <p className="text-body font-medium">{t(($) => $.github.repositories_shortcut_label)}</p><Button@@ -381,7 +381,7 @@ function FeatureRow({<div className="flex items-start gap-3"><div className="rounded-md border bg-muted/50 p-2 text-muted-foreground">{icon}</div><div className="space-y-1">- <Label htmlFor={id} className="text-sm font-medium">+ <Label htmlFor={id} className="text-body font-medium">{label}</Label>{description}diff --git a/packages/views/settings/components/keyboard-shortcuts-tab.tsx b/packages/views/settings/components/keyboard-shortcuts-tab.tsxindex 4db3f21528..f65d3e7b4f 100644--- a/packages/views/settings/components/keyboard-shortcuts-tab.tsx+++ b/packages/views/settings/components/keyboard-shortcuts-tab.tsx@@ -185,7 +185,7 @@ export function KeyboardShortcutsTab() {})}{visibleActions.length === 0 ? (- <div className="rounded-lg border border-dashed px-4 py-10 text-center text-sm text-muted-foreground">+ <div className="rounded-lg border border-dashed px-4 py-10 text-center text-body text-muted-foreground">{t(($) => $.shortcuts.no_results)}</div>) : null}@@ -297,7 +297,7 @@ function ShortcutRow({onKeyDown={recording ? onCapture : undefined}onBlur={onCancelRecording}className={cn(- "inline-flex h-8 min-w-28 items-center justify-center rounded-md border bg-background px-2.5 font-mono text-xs font-medium shadow-xs outline-none transition-colors hover:bg-surface-hover focus-visible:ring-2 focus-visible:ring-ring",+ "inline-flex h-8 min-w-28 items-center justify-center rounded-md border bg-background px-2.5 font-mono text-caption font-medium shadow-xs outline-none transition-colors hover:bg-surface-hover focus-visible:ring-2 focus-visible:ring-ring",recording && "border-brand bg-brand/5 text-brand ring-2 ring-brand/20",error && "border-destructive text-destructive ring-destructive/20",)}@@ -341,11 +341,11 @@ function ShortcutRow({</Button></div>{errorText ? (- <span role="alert" className="max-w-72 text-right text-xs text-destructive">+ <span role="alert" className="max-w-72 text-right text-caption text-destructive">{errorText}</span>) : recording ? (- <span className="text-right text-[11px] text-muted-foreground">+ <span className="text-right text-micro text-muted-foreground">{t(($) => $.shortcuts.record_hint)}</span>) : null}diff --git a/packages/views/settings/components/labels-tab.tsx b/packages/views/settings/components/labels-tab.tsxindex d2955470dc..e2df1c78c4 100644--- a/packages/views/settings/components/labels-tab.tsx+++ b/packages/views/settings/components/labels-tab.tsx@@ -121,7 +121,7 @@ export function LabelsTab() {><Tag className="size-3.5" />{t(($) => $.labels.scopes[type])}- <span className="text-xs tabular-nums text-muted-foreground">+ <span className="text-caption tabular-nums text-muted-foreground">{type === resourceType ? labels.length : ""}</span></Button>@@ -145,7 +145,7 @@ export function LabelsTab() {</div><div className="overflow-hidden rounded-lg border border-surface-border bg-card">- <div className="hidden grid-cols-[minmax(11rem,1fr)_minmax(12rem,1.4fr)_6rem_7rem_2rem] gap-4 border-b border-surface-border bg-muted/20 px-4 py-2.5 text-xs font-medium text-muted-foreground md:grid">+ <div className="hidden grid-cols-[minmax(11rem,1fr)_minmax(12rem,1.4fr)_6rem_7rem_2rem] gap-4 border-b border-surface-border bg-muted/20 px-4 py-2.5 text-caption font-medium text-muted-foreground md:grid"><span>{t(($) => $.labels.columns.name)}</span><span>{t(($) => $.labels.columns.description)}</span><span>{t(($) => $.labels.columns.usage)}</span>@@ -154,13 +154,13 @@ export function LabelsTab() {</div>{isLoading ? (- <div className="px-4 py-12 text-center text-sm text-muted-foreground">+ <div className="px-4 py-12 text-center text-body text-muted-foreground">{t(($) => $.labels.loading)}</div>) : filteredLabels.length === 0 ? (<div className="px-4 py-12 text-center"><Tag className="mx-auto size-6 text-muted-foreground/60" />- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{query? t(($) => $.labels.no_results): t(($) => $.labels.empty, { scope: scopeLabel })}@@ -178,15 +178,15 @@ export function LabelsTab() {className="size-2.5 shrink-0 rounded-full"style={{ backgroundColor: label.color }}/>- <span className="truncate text-sm font-medium">{label.name}</span>+ <span className="truncate text-body font-medium">{label.name}</span></div>- <p className="min-w-0 truncate text-xs text-muted-foreground md:text-sm">+ <p className="min-w-0 truncate text-caption text-muted-foreground md:text-body">{label.description || "—"}</p>- <span className="text-xs tabular-nums text-muted-foreground md:text-sm">+ <span className="text-caption tabular-nums text-muted-foreground md:text-body">{t(($) => $.labels.usage_count, { count: label.usage_count ?? 0 })}</span>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{new Date(label.updated_at).toLocaleDateString()}</span><DropdownMenu>@@ -362,7 +362,7 @@ function LabelEditorDialog({className="size-5 rounded-full"style={{ backgroundColor: draft.color }}/>- <span className="font-mono text-xs uppercase text-muted-foreground">+ <span className="font-mono text-caption uppercase text-muted-foreground">{draft.color}</span></button>diff --git a/packages/views/settings/components/lark-tab.tsx b/packages/views/settings/components/lark-tab.tsxindex 79f8db90ea..5cebed5921 100644--- a/packages/views/settings/components/lark-tab.tsx+++ b/packages/views/settings/components/lark-tab.tsx@@ -108,7 +108,7 @@ export function LarkTab() {return (<div className="space-y-8"><section className="space-y-1">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.lark.page_description)}</p></section>@@ -116,10 +116,10 @@ export function LarkTab() {{!configured ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.lark.not_enabled_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.lark.not_enabled_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.lark.not_enabled_description_prefix)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">+ <code className="rounded bg-muted px-1 py-0.5 text-micro">MULTICA_LARK_SECRET_KEY</code>{" "}{t(($) => $.lark.not_enabled_description_suffix)}{" "}@@ -136,26 +136,26 @@ export function LarkTab() {// when there is nothing to manage.<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.lark.preview_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.lark.preview_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.lark.preview_description)}</p></CardContent></Card>) : (<section className="space-y-3">- <h2 className="text-sm font-semibold">{t(($) => $.lark.connected_bots)}</h2>+ <h2 className="text-body font-semibold">{t(($) => $.lark.connected_bots)}</h2>{isLoading ? (<Card><CardContent>- <p className="text-sm text-muted-foreground">{t(($) => $.lark.loading)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.lark.loading)}</p></CardContent></Card>) : installations.length === 0 ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.lark.empty_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.lark.empty_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.lark.empty_description_prefix)}{" "}<strong>{t(($) => $.lark.empty_description_cta)}</strong>{" "}{t(($) => $.lark.empty_description_suffix)}@@ -240,20 +240,20 @@ function InstallationRow({profileLink/><div className="space-y-1">- <p className="text-sm font-medium">+ <p className="text-body font-medium">{agentName}- <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-micro text-muted-foreground">{installation.region === "lark"? t(($) => $.lark.region_lark): t(($) => $.lark.region_feishu)}</span>{!isActive && (- <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-micro text-muted-foreground">{t(($) => $.lark.revoked_badge)}</span>)}</p>- <p className="text-[10px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.lark.installed_at_label, {when: new Date(installation.installed_at).toLocaleString(),})}@@ -468,13 +468,13 @@ function LarkAgentBotStatusRow({type="button"onClick={onClick}className={cn(- "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs text-muted-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",+ "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-caption text-muted-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",className,)}data-testid="lark-agent-bot-status"><span className="inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500" />- <span className="rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ <span className="rounded bg-muted px-1.5 py-0.5 text-micro text-muted-foreground">{installation.region === "lark"? t(($) => $.lark.region_lark): t(($) => $.lark.region_feishu)}@@ -563,9 +563,9 @@ function LarkAgentBotConnectedBadge({is mandatory: the backend disconnect tears down the WebSocketand stops message delivery. */}<div className="flex items-center justify-between gap-3">- <span className="inline-flex min-w-0 items-center gap-2 text-xs text-muted-foreground">+ <span className="inline-flex min-w-0 items-center gap-2 text-caption text-muted-foreground"><span className="inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500" />- <span className="rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ <span className="rounded bg-muted px-1.5 py-0.5 text-micro text-muted-foreground">{installation.region === "lark"? t(($) => $.lark.region_lark): t(($) => $.lark.region_feishu)}@@ -596,7 +596,7 @@ function LarkAgentBotConnectedBadge({href={manageHref}target="_blank"rel="noopener noreferrer"- className="inline-flex items-center gap-1 text-xs text-muted-foreground underline-offset-2 transition-colors hover:text-foreground hover:underline"+ className="inline-flex items-center gap-1 text-caption text-muted-foreground underline-offset-2 transition-colors hover:text-foreground hover:underline"title={installation.region === "lark"? t(($) => $.lark.agent_bot_manage_tooltip_lark)@@ -852,7 +852,7 @@ function LarkInstallDialog({<div className="flex flex-col items-center gap-4 py-2">{beginning && !session && (- <p className="text-sm text-muted-foreground">{t(($) => $.lark.install_starting)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.lark.install_starting)}</p>)}{session && status === "pending" && (@@ -862,7 +862,7 @@ function LarkInstallDialog({network image dependency, prints at any DPI. */}<QRCode value={session.qrCodeURL} size={192} /></div>- <p className="text-center text-xs text-muted-foreground">+ <p className="text-center text-caption text-muted-foreground">{region === "lark"? t(($) => $.lark.install_scan_hint_lark): t(($) => $.lark.install_scan_hint_feishu)}@@ -871,7 +871,7 @@ function LarkInstallDialog({href={session.qrCodeURL}target="_blank"rel="noopener noreferrer"- className="text-xs underline text-muted-foreground"+ className="text-caption underline text-muted-foreground">{region === "lark"? t(($) => $.lark.install_open_link_fallback_lark)@@ -881,12 +881,12 @@ function LarkInstallDialog({)}{status === "success" && (- <p className="text-sm font-medium">{t(($) => $.lark.install_success)}</p>+ <p className="text-body font-medium">{t(($) => $.lark.install_success)}</p>)}{status === "error" && (<div className="space-y-2 text-center">- <p className="text-sm font-medium text-destructive">+ <p className="text-body font-medium text-destructive">{(() => {switch (errorReason) {case "expired":@@ -911,7 +911,7 @@ function LarkInstallDialog({})()}</p>{errorMessage && (- <p className="text-[10px] text-muted-foreground break-all">+ <p className="text-micro text-muted-foreground break-all">{errorMessage}</p>)}diff --git a/packages/views/settings/components/members-tab.tsx b/packages/views/settings/components/members-tab.tsxindex 7659e4c2c0..e9efb47f61 100644--- a/packages/views/settings/components/members-tab.tsx+++ b/packages/views/settings/components/members-tab.tsx@@ -106,8 +106,8 @@ function MemberRow({<div className="flex items-center gap-3 px-4 py-3"><ActorAvatar actorType="member" actorId={member.user_id} size="lg" /><div className="min-w-0 flex-1">- <div className="text-sm font-medium truncate">{member.name}</div>- <div className="text-xs text-muted-foreground truncate">{member.email}</div>+ <div className="text-body font-medium truncate">{member.name}</div>+ <div className="text-caption text-muted-foreground truncate">{member.email}</div></div>{showMenu && (<DropdownMenu>@@ -148,14 +148,14 @@ function MemberRow({<Icon className="h-3.5 w-3.5" /><div className="flex flex-col"><span>{config.label}</span>- <span className="text-xs text-muted-foreground font-normal">+ <span className="text-caption text-muted-foreground font-normal">{wouldDemoteLastOwner? t(($) => $.members.cannot_demote_last_owner): config.description}</span></div>{member.role === role && (- <span className="ml-auto text-xs text-muted-foreground">{"✓"}</span>+ <span className="ml-auto text-caption text-muted-foreground">{"✓"}</span>)}</DropdownMenuItem>);@@ -203,8 +203,8 @@ function InvitationRow({<Mail className="h-4 w-4 text-muted-foreground" /></div><div className="min-w-0 flex-1">- <div className="text-sm font-medium truncate">{invitation.invitee_email}</div>- <div className="flex items-center gap-1 text-xs text-muted-foreground">+ <div className="text-body font-medium truncate">{invitation.invitee_email}</div>+ <div className="flex items-center gap-1 text-caption text-muted-foreground"><Clock className="h-3 w-3" /><span>{t(($) => $.members.pending_status)}</span></div>@@ -340,7 +340,7 @@ export function MembersTab() {<CardContent className="space-y-3"><div className="flex items-center gap-2"><Plus className="h-4 w-4 text-muted-foreground" />- <h3 className="text-sm font-medium">{t(($) => $.members.invite_title)}</h3>+ <h3 className="text-body font-medium">{t(($) => $.members.invite_title)}</h3></div><div className="grid gap-3 sm:grid-cols-[1fr_120px_auto]"><Input@@ -401,7 +401,7 @@ export function MembersTab() {))}</SettingsCard>) : (- <p className="text-sm text-muted-foreground">{t(($) => $.members.no_members)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.members.no_members)}</p>)}</SettingsSection>diff --git a/packages/views/settings/components/preferences-tab.tsx b/packages/views/settings/components/preferences-tab.tsxindex e250dc09a3..ce31ef5c3d 100644--- a/packages/views/settings/components/preferences-tab.tsx+++ b/packages/views/settings/components/preferences-tab.tsx@@ -288,17 +288,17 @@ function TimezoneRow() {><SelectTriggersize="sm"- className="w-full font-mono text-xs"+ className="w-full font-mono text-caption"aria-label={t(($) => $.preferences.timezone.title)}><SelectValue>{formatTZLabel(value)}</SelectValue></SelectTrigger><SelectContent align="end" className="max-h-72">- <SelectItem value={BROWSER_TZ_VALUE} className="font-mono text-xs">+ <SelectItem value={BROWSER_TZ_VALUE} className="font-mono text-caption">{formatTZLabel(BROWSER_TZ_VALUE)}</SelectItem>{options.map((timezone) => (- <SelectItem key={timezone} value={timezone} className="font-mono text-xs">+ <SelectItem key={timezone} value={timezone} className="font-mono text-caption">{formatTZLabel(timezone)}</SelectItem>))}diff --git a/packages/views/settings/components/properties-tab.tsx b/packages/views/settings/components/properties-tab.tsxindex c59dbe6446..c3547373c6 100644--- a/packages/views/settings/components/properties-tab.tsx+++ b/packages/views/settings/components/properties-tab.tsx@@ -153,11 +153,11 @@ export function PropertiesTab() {/></div><div className="flex items-center gap-4">- <label className="flex items-center gap-2 text-xs text-muted-foreground">+ <label className="flex items-center gap-2 text-caption text-muted-foreground"><Switch checked={showArchived} onCheckedChange={setShowArchived} />{t(($) => $.properties.show_archived)}</label>- <span className="text-xs tabular-nums text-muted-foreground">+ <span className="text-caption tabular-nums text-muted-foreground">{t(($) => $.properties.limit_hint, {count: activeCount,max: MAX_ACTIVE_PROPERTIES,@@ -177,13 +177,13 @@ export function PropertiesTab() {</div>{!canManage && (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.properties.editor.admin_hint)}</p>)}<div className="overflow-hidden rounded-lg border border-surface-border bg-card">- <div className="hidden grid-cols-[minmax(10rem,1fr)_6rem_minmax(10rem,1.4fr)_6rem_7rem_2rem] gap-4 border-b border-surface-border bg-muted/20 px-4 py-2.5 text-xs font-medium text-muted-foreground md:grid">+ <div className="hidden grid-cols-[minmax(10rem,1fr)_6rem_minmax(10rem,1.4fr)_6rem_7rem_2rem] gap-4 border-b border-surface-border bg-muted/20 px-4 py-2.5 text-caption font-medium text-muted-foreground md:grid"><span>{t(($) => $.properties.columns.name)}</span><span>{t(($) => $.properties.columns.type)}</span><span>{t(($) => $.properties.columns.options)}</span>@@ -193,19 +193,19 @@ export function PropertiesTab() {</div>{isLoading ? (- <div className="px-4 py-12 text-center text-sm text-muted-foreground">+ <div className="px-4 py-12 text-center text-body text-muted-foreground">{t(($) => $.properties.loading)}</div>) : visible.length === 0 ? (<div className="px-4 py-12 text-center"><SlidersHorizontal className="mx-auto size-6 text-muted-foreground/60" />- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{query? t(($) => $.properties.no_results): t(($) => $.properties.empty)}</p>{!query && (- <p className="mx-auto mt-1 max-w-sm text-xs text-muted-foreground">+ <p className="mx-auto mt-1 max-w-sm text-caption text-muted-foreground">{t(($) => $.properties.empty_hint)}</p>)}@@ -219,21 +219,21 @@ export function PropertiesTab() {><div className="flex min-w-0 items-center gap-2"><PropertyIcon property={property} />- <span className="truncate text-sm font-medium">{property.name}</span>+ <span className="truncate text-body font-medium">{property.name}</span>{property.archived && (- <Badge variant="outline" className="shrink-0 text-[10px]">+ <Badge variant="outline" className="shrink-0 text-micro">{t(($) => $.properties.archived_badge)}</Badge>)}</div>- <span className="text-xs text-muted-foreground md:text-sm">+ <span className="text-caption text-muted-foreground md:text-body"><PropertyTypeLabel type={property.type} /></span><div className="flex min-w-0 flex-wrap items-center gap-1">{(property.config.options ?? []).slice(0, 6).map((option) => (<spankey={option.id}- className="inline-flex items-center gap-1.5 rounded-full border border-surface-border px-2 py-0.5 text-xs"+ className="inline-flex items-center gap-1.5 rounded-full border border-surface-border px-2 py-0.5 text-caption"><spanclassName="size-2 rounded-full"@@ -243,18 +243,18 @@ export function PropertiesTab() {</span>))}{(property.config.options?.length ?? 0) > 6 && (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">+{(property.config.options?.length ?? 0) - 6}</span>)}{!typeHasOptions(property.type) && (- <span className="text-xs text-muted-foreground">—</span>+ <span className="text-caption text-muted-foreground">—</span>)}</div>- <span className="text-xs tabular-nums text-muted-foreground md:text-sm">+ <span className="text-caption tabular-nums text-muted-foreground md:text-body">{t(($) => $.properties.usage_count, { count: property.usage_count ?? 0 })}</span>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{new Date(property.updated_at).toLocaleDateString()}</span>{canManage ? (@@ -468,7 +468,7 @@ function PropertyEditorDialog({<Buttontype="button"variant="outline"- className="w-full px-0 text-lg"+ className="w-full px-0 text-title"aria-label={t(($) => $.properties.editor.choose_icon)}>{draft.icon ? (@@ -515,7 +515,7 @@ function PropertyEditorDialog({<FieldLabel>{t(($) => $.properties.editor.type)}</FieldLabel>{property ? (<div- className="flex h-9 items-center rounded-md border border-surface-border px-3 text-sm text-muted-foreground"+ className="flex h-9 items-center rounded-md border border-surface-border px-3 text-body text-muted-foreground"title={t(($) => $.properties.editor.type_locked_hint)}><PropertyTypeLabel type={property.type} />diff --git a/packages/views/settings/components/repositories-tab.tsx b/packages/views/settings/components/repositories-tab.tsxindex f6ddaca032..8543436a32 100644--- a/packages/views/settings/components/repositories-tab.tsx+++ b/packages/views/settings/components/repositories-tab.tsx@@ -376,7 +376,7 @@ export function RepositoriesTab() {><SettingsCard>{repositories.length === 0 ? (- <div className="px-4 py-8 text-center text-xs text-muted-foreground">+ <div className="px-4 py-8 text-center text-caption text-muted-foreground">{t(($) => $.repositories.empty)}</div>) : null}@@ -400,7 +400,7 @@ export function RepositoriesTab() {disabled={!canManageWorkspace}aria-invalid={!repository.url.trim()}placeholder={t(($) => $.repositories.url_placeholder)}- className="font-mono text-xs"+ className="font-mono text-caption"/><Inputtype="text"@@ -462,13 +462,13 @@ export function RepositoriesTab() {</Button></div>{!allUrlsValid ? (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.repositories.url_empty)}</span>) : null}</div>) : (- <div className="px-4 py-3 text-xs text-muted-foreground">+ <div className="px-4 py-3 text-caption text-muted-foreground">{t(($) => $.repositories.manage_hint)}</div>)}@@ -520,7 +520,7 @@ export function RepositoriesTab() {</SelectContent></Select>) : githubInstallations[0] ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.repositories.github_account)}:{" "}<span className="font-medium text-foreground">{githubInstallations[0].account_login}@@ -546,16 +546,16 @@ export function RepositoriesTab() {<div className="min-h-0 flex-1 overflow-y-auto border-y">{githubRepositoriesQuery.isPending ? (- <div className="flex items-center justify-center gap-2 px-6 py-12 text-sm text-muted-foreground">+ <div className="flex items-center justify-center gap-2 px-6 py-12 text-body text-muted-foreground"><LoaderCircle className="size-4 animate-spin" />{t(($) => $.repositories.github_loading)}</div>) : githubRepositoriesQuery.isError ? (- <div className="px-6 py-12 text-center text-sm text-muted-foreground">+ <div className="px-6 py-12 text-center text-body text-muted-foreground">{t(($) => $.repositories.github_load_failed)}</div>) : filteredGitHubRepositories.length === 0 ? (- <div className="px-6 py-12 text-center text-sm text-muted-foreground">+ <div className="px-6 py-12 text-center text-body text-muted-foreground">{repositorySearch? t(($) => $.repositories.github_no_search_results): t(($) => $.repositories.github_empty)}@@ -590,7 +590,7 @@ export function RepositoriesTab() {/><span className="min-w-0 flex-1 space-y-1"><span className="flex flex-wrap items-center gap-2">- <span className="truncate text-sm font-medium">+ <span className="truncate text-body font-medium">{repository.full_name}</span>{repository.private ? (@@ -610,7 +610,7 @@ export function RepositoriesTab() {) : null}</span>{repository.description ? (- <span className="block truncate text-xs text-muted-foreground">+ <span className="block truncate text-caption text-muted-foreground">{repository.description}</span>) : null}@@ -638,7 +638,7 @@ export function RepositoriesTab() {</div><DialogFooter className="m-0 border-t bg-muted/30 px-6 py-4">- <p className="mr-auto text-xs text-muted-foreground">+ <p className="mr-auto text-caption text-muted-foreground">{t(($) => $.repositories.github_selected_count, {count: selectedRepositories.size,})}diff --git a/packages/views/settings/components/settings-layout.tsx b/packages/views/settings/components/settings-layout.tsxindex 689e1d49b4..4553a4eec4 100644--- a/packages/views/settings/components/settings-layout.tsx+++ b/packages/views/settings/components/settings-layout.tsx@@ -17,9 +17,9 @@ export function SettingsTab({return (<div className="space-y-8"><header>- <h2 className="text-xl font-semibold tracking-tight">{title}</h2>+ <h2 className="text-title-lg font-semibold tracking-tight">{title}</h2>{description ? (- <p className="mt-1 max-w-2xl text-sm leading-6 text-muted-foreground">+ <p className="mt-1 max-w-2xl text-body leading-6 text-muted-foreground">{description}</p>) : null}@@ -47,9 +47,9 @@ export function SettingsSection({{title || description || action ? (<div className="flex min-w-0 items-end justify-between gap-4 px-0.5"><div className="min-w-0">- {title ? <h3 className="text-sm font-semibold">{title}</h3> : null}+ {title ? <h3 className="text-body font-semibold">{title}</h3> : null}{description ? (- <p className="mt-1 text-xs leading-5 text-muted-foreground">+ <p className="mt-1 text-caption leading-5 text-muted-foreground">{description}</p>) : null}@@ -125,9 +125,9 @@ export function SettingsRow({)}><div className="min-w-0 flex-1">- <div className="text-sm font-medium">{label}</div>+ <div className="text-body font-medium">{label}</div>{description ? (- <div className="mt-0.5 text-xs leading-5 text-muted-foreground">+ <div className="mt-0.5 text-caption leading-5 text-muted-foreground">{description}</div>) : null}@@ -179,7 +179,7 @@ export function SettingsSaveState({<spanrole="status"className={cn(- "inline-flex items-center gap-1.5 text-xs text-muted-foreground",+ "inline-flex items-center gap-1.5 text-caption text-muted-foreground",status === "error" && "text-destructive",)}>diff --git a/packages/views/settings/components/settings-page.tsx b/packages/views/settings/components/settings-page.tsxindex 6a4b7990b1..daa83f5c40 100644--- a/packages/views/settings/components/settings-page.tsx+++ b/packages/views/settings/components/settings-page.tsx@@ -152,13 +152,13 @@ export function SettingsPage({ extraAccountTabs }: SettingsPageProps = {}) {tab merges into the card top, and a tinted panel under the first tabsbreaks that seam (MUL-4439). Zoning comes from the divider instead. */}<div className="shrink-0 overflow-x-auto border-b border-surface-border p-2 md:w-56 md:overflow-y-auto md:border-b-0 md:border-r md:p-4">- <h1 className="sr-only text-sm font-semibold md:not-sr-only md:mb-4 md:px-2">{t(($) => $.page.title)}</h1>+ <h1 className="sr-only text-body font-semibold md:not-sr-only md:mb-4 md:px-2">{t(($) => $.page.title)}</h1><TabsListvariant="line"className="flex w-max min-w-full flex-row items-center gap-1 p-0 md:w-full md:flex-col md:items-stretch">{/* My Account group */}- <span className="hidden px-2 pb-1 pt-2 text-xs font-medium text-muted-foreground md:block">+ <span className="hidden px-2 pb-1 pt-2 text-caption font-medium text-muted-foreground md:block">{t(($) => $.page.my_account)}</span>{ACCOUNT_TAB_KEYS.map((key) => {@@ -186,7 +186,7 @@ export function SettingsPage({ extraAccountTabs }: SettingsPageProps = {}) {))}{/* Workspace group */}- <span className="hidden truncate px-2 pb-1 pt-4 text-xs font-medium text-muted-foreground md:block">+ <span className="hidden truncate px-2 pb-1 pt-4 text-caption font-medium text-muted-foreground md:block">{workspaceName ?? t(($) => $.page.workspace_fallback)}</span>{WORKSPACE_TAB_KEYS.map((key) => {diff --git a/packages/views/settings/components/slack-tab.tsx b/packages/views/settings/components/slack-tab.tsxindex 2a73d199a5..9e1585c169 100644--- a/packages/views/settings/components/slack-tab.tsx+++ b/packages/views/settings/components/slack-tab.tsx@@ -91,7 +91,7 @@ export function SlackTab() {return (<div className="space-y-8"><section className="space-y-1">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.slack.page_description)}</p></section>@@ -99,10 +99,10 @@ export function SlackTab() {{!configured ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.slack.not_enabled_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.slack.not_enabled_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.slack.not_enabled_description_prefix)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">+ <code className="rounded bg-muted px-1 py-0.5 text-micro">MULTICA_SLACK_SECRET_KEY</code>{" "}{t(($) => $.slack.not_enabled_description_suffix)}{" "}@@ -113,26 +113,26 @@ export function SlackTab() {) : !installSupported && installations.length === 0 ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.slack.preview_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.slack.preview_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.slack.preview_description)}</p></CardContent></Card>) : (<section className="space-y-3">- <h2 className="text-sm font-semibold">{t(($) => $.slack.connected_bots)}</h2>+ <h2 className="text-body font-semibold">{t(($) => $.slack.connected_bots)}</h2>{isLoading ? (<Card><CardContent>- <p className="text-sm text-muted-foreground">{t(($) => $.slack.loading)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.slack.loading)}</p></CardContent></Card>) : installations.length === 0 ? (<Card><CardContent className="space-y-2">- <p className="text-sm font-medium">{t(($) => $.slack.empty_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.slack.empty_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.slack.empty_description_prefix)}{" "}<strong>{t(($) => $.slack.empty_description_cta)}</strong>{" "}{t(($) => $.slack.empty_description_suffix)}@@ -211,15 +211,15 @@ function InstallationRow({profileLink/><div className="space-y-1">- <p className="text-sm font-medium">+ <p className="text-body font-medium">{agentName}{!isActive && (- <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground">+ <span className="ml-2 rounded bg-muted px-1.5 py-0.5 text-micro text-muted-foreground">{t(($) => $.slack.revoked_badge)}</span>)}</p>- <p className="text-[10px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.slack.installed_at_label, {when: new Date(installation.installed_at).toLocaleString(),})}@@ -390,7 +390,7 @@ export function SlackAgentBindButton({<buttontype="button"onClick={() => openExternal(SLACK_BYO_VIDEO_URL)}- className="inline-flex w-fit items-center gap-2 text-sm font-medium text-primary underline-offset-2 hover:underline"+ className="inline-flex w-fit items-center gap-2 text-body font-medium text-primary underline-offset-2 hover:underline"><ExternalLink className="h-4 w-4" />{t(($) => $.slack.byo_video_cta)}@@ -400,7 +400,7 @@ export function SlackAgentBindButton({<buttontype="button"onClick={() => openExternal(slackDocsUrl(i18n.language))}- className="inline-flex w-fit items-center gap-2 text-sm font-medium text-primary underline-offset-2 hover:underline"+ className="inline-flex w-fit items-center gap-2 text-body font-medium text-primary underline-offset-2 hover:underline"data-testid="slack-byo-docs-link"><ExternalLink className="h-4 w-4" />@@ -483,7 +483,7 @@ function SlackAgentBotStatusRow({type="button"onClick={onClick}className={cn(- "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs text-muted-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",+ "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-caption text-muted-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",className,)}data-testid="slack-agent-bot-status"@@ -536,7 +536,7 @@ function SlackAgentBotConnectedBadge({data-testid="slack-agent-bot-connected"><div className="flex items-center justify-between gap-3">- <span className="inline-flex min-w-0 items-center gap-2 text-xs text-muted-foreground">+ <span className="inline-flex min-w-0 items-center gap-2 text-caption text-muted-foreground"><span className="inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-500" /><span className="truncate">{t(($) => $.slack.agent_bot_connected_label)}</span></span>@@ -562,7 +562,7 @@ function SlackAgentBotConnectedBadge({onClick={() =>openExternal(`https://app.slack.com/client/${installation.team_id}`)}- className="inline-flex items-center gap-1 text-xs text-muted-foreground underline-offset-2 transition-colors hover:text-foreground hover:underline"+ className="inline-flex items-center gap-1 text-caption text-muted-foreground underline-offset-2 transition-colors hover:text-foreground hover:underline"title={t(($) => $.slack.agent_bot_manage_tooltip)}><ExternalLink className="h-3 w-3" />diff --git a/packages/views/settings/components/tokens-tab.tsx b/packages/views/settings/components/tokens-tab.tsxindex 4787557bd6..dac2e0d89e 100644--- a/packages/views/settings/components/tokens-tab.tsx+++ b/packages/views/settings/components/tokens-tab.tsx@@ -190,7 +190,7 @@ export function TokensTab() {) : tokens.length === 0 ? (<Card><CardContent>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{tokensLoadFailed ? t(($) => $.tokens.load_failed) : t(($) => $.tokens.empty)}</p></CardContent>@@ -201,8 +201,8 @@ export function TokensTab() {<Card key={token.id}><CardContent className="flex items-center gap-3"><div className="min-w-0 flex-1">- <div className="text-sm font-medium truncate">{token.name}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-body font-medium truncate">{token.name}</div>+ <div className="text-caption text-muted-foreground">{t(($) => $.tokens.metadata_prefix, {prefix: token.token_prefix,created: new Date(token.created_at).toLocaleDateString(),@@ -277,7 +277,7 @@ export function TokensTab() {</AlertDescription></Alert><div className="flex min-w-0 items-center gap-2">- <code className="min-w-0 flex-1 truncate rounded-md border bg-muted/50 px-3 py-2 text-sm select-all">+ <code className="min-w-0 flex-1 truncate rounded-md border bg-muted/50 px-3 py-2 text-body select-all">{newToken}</code><Tooltip>@@ -297,9 +297,9 @@ export function TokensTab() {</Tooltip></div><div className="min-w-0 space-y-1.5">- <p className="text-xs text-muted-foreground">{t(($) => $.tokens.created_dialog.cli_hint)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.tokens.created_dialog.cli_hint)}</p><div className="flex min-w-0 items-center gap-2">- <code className="min-w-0 flex-1 truncate rounded-md border bg-muted/50 px-3 py-2 text-sm select-all">+ <code className="min-w-0 flex-1 truncate rounded-md border bg-muted/50 px-3 py-2 text-body select-all">{`multica login --token ${newToken}`}</code><Tooltip>@@ -320,7 +320,7 @@ export function TokensTab() {</div></div><DialogFooter className="items-center sm:justify-between">- <label className="flex items-center gap-2 text-sm">+ <label className="flex items-center gap-2 text-body"><Checkboxchecked={storedConfirmed}onCheckedChange={(v) => setStoredConfirmed(v === true)}diff --git a/packages/views/settings/components/vcs-tab.tsx b/packages/views/settings/components/vcs-tab.tsxindex 11a554e29f..37adb17566 100644--- a/packages/views/settings/components/vcs-tab.tsx+++ b/packages/views/settings/components/vcs-tab.tsx@@ -127,7 +127,7 @@ export function VCSTab() {return (<div className="space-y-6">- <p className="text-sm text-muted-foreground">{t(($) => $.vcs.page_description)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.vcs.page_description)}</p>{connections.length > 0 && (<div className="space-y-3">@@ -139,10 +139,10 @@ export function VCSTab() {<GitBranch className="h-4 w-4" /></div><div className="min-w-0 space-y-0.5">- <p className="text-sm font-medium break-all">+ <p className="text-body font-medium break-all">{(PROVIDER_LABELS[c.provider] ?? c.provider) + " · " + c.instance_url}</p>- <p className="text-xs text-muted-foreground break-all">+ <p className="text-caption text-muted-foreground break-all">{t(($) => $.vcs.connected_as, { login: c.account_login })}</p></div>@@ -173,8 +173,8 @@ export function VCSTab() {<Card className="border-primary/40"><CardContent className="space-y-3"><div className="space-y-1">- <p className="text-sm font-medium">{t(($) => $.vcs.webhook_setup_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.vcs.webhook_setup_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.vcs.webhook_setup_description)}</p></div>@@ -191,7 +191,7 @@ export function VCSTab() {copyLabel={t(($) => $.vcs.copy)}mono/>- <p className="text-xs text-amber-600 dark:text-amber-500">+ <p className="text-caption text-amber-600 dark:text-amber-500">{t(($) => $.vcs.webhook_secret_warning)}</p></CardContent>@@ -201,11 +201,11 @@ export function VCSTab() {{canManage && (<Card><CardContent className="space-y-4">- <p className="text-sm font-medium">{t(($) => $.vcs.connect_title)}</p>+ <p className="text-body font-medium">{t(($) => $.vcs.connect_title)}</p>{!configured ? (- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.vcs.not_configured)}{" "}- <code className="rounded bg-muted px-1 py-0.5 text-[10px]">+ <code className="rounded bg-muted px-1 py-0.5 text-micro">MULTICA_VCS_SECRET_KEY</code>.@@ -251,7 +251,7 @@ export function VCSTab() {onChange={(e) => setToken(e.target.value)}disabled={connecting}/>- <p className="text-xs text-muted-foreground">{t(($) => $.vcs.form_token_hint)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.vcs.form_token_hint)}</p></div><div className="flex justify-end"><Button@@ -269,7 +269,7 @@ export function VCSTab() {)}{!canManage && connections.length === 0 && (- <p className="text-xs text-muted-foreground">{t(($) => $.vcs.contact_admin)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.vcs.contact_admin)}</p>)}<AlertDialog@@ -338,12 +338,12 @@ function CopyField({}) {return (<div className="space-y-1.5">- <Label className="text-xs">{label}</Label>+ <Label className="text-caption">{label}</Label><div className="flex items-center gap-2"><InputreadOnlyvalue={value}- className={mono ? "min-w-0 font-mono text-xs" : "min-w-0 text-xs"}+ className={mono ? "min-w-0 font-mono text-caption" : "min-w-0 text-caption"}/><Buttonvariant="outline"diff --git a/packages/views/settings/components/workspace-tab.tsx b/packages/views/settings/components/workspace-tab.tsxindex 2d125fbd5f..6cb71d0569 100644--- a/packages/views/settings/components/workspace-tab.tsx+++ b/packages/views/settings/components/workspace-tab.tsx@@ -457,7 +457,7 @@ export function WorkspaceTab() {</SettingsRow>{!canManageWorkspace && (- <div className="px-4 py-3 text-xs text-muted-foreground">+ <div className="px-4 py-3 text-caption text-muted-foreground">{t(($) => $.workspace.manage_hint)}</div>)}diff --git a/packages/views/skills/components/create-skill-dialog.tsx b/packages/views/skills/components/create-skill-dialog.tsxindex e52908547e..19a2a36ebc 100644--- a/packages/views/skills/components/create-skill-dialog.tsx+++ b/packages/views/skills/components/create-skill-dialog.tsx@@ -83,10 +83,10 @@ function MethodChooser({ onChoose }: { onChoose: (m: Method) => void }) {<Icon className="h-4 w-4" /></div><div className="min-w-0 flex-1">- <div className="text-sm font-medium">+ <div className="text-body font-medium">{t(($) => $.create.method_card[`${titleKey}_title`])}</div>- <div className="mt-0.5 text-xs text-muted-foreground">+ <div className="mt-0.5 text-caption text-muted-foreground">{t(($) => $.create.method_card[`${titleKey}_desc`])}</div></div>@@ -147,7 +147,7 @@ function ManualForm({<div className="space-y-1.5"><LabelhtmlFor="create-skill-name"- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground">{t(($) => $.create.manual.name_label)}</Label>@@ -165,7 +165,7 @@ function ManualForm({if (e.key === "Enter") submit();}}/>- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.create.manual.name_hint)}</p></div>@@ -173,7 +173,7 @@ function ManualForm({<div className="space-y-1.5"><LabelhtmlFor="create-skill-desc"- className="text-xs text-muted-foreground"+ className="text-caption text-muted-foreground"><Pencil className="h-3 w-3" />{t(($) => $.create.manual.description_label)}@@ -191,7 +191,7 @@ function ManualForm({{error && (<divrole="alert"- className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive"+ className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-caption text-destructive"><AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0" /><span>@@ -265,11 +265,11 @@ function SourceCard({active ? "border-primary bg-primary/5" : ""}`}>- <div className="text-xs font-medium">{label}</div>+ <div className="text-caption font-medium">{label}</div><buttontype="button"onClick={() => openExternal(browseUrl)}- className="mt-0.5 block max-w-full truncate text-left font-mono text-xs text-brand underline decoration-brand/40 underline-offset-2 hover:decoration-brand"+ className="mt-0.5 block max-w-full truncate text-left font-mono text-caption text-brand underline decoration-brand/40 underline-offset-2 hover:decoration-brand">{exampleHost}</button>@@ -326,7 +326,7 @@ function UrlForm({className="flex-1 min-h-0 space-y-4 overflow-y-auto px-5 py-4"><div className="space-y-1.5">- <Label htmlFor="import-url" className="text-xs text-muted-foreground">+ <Label htmlFor="import-url" className="text-caption text-muted-foreground">{t(($) => $.create.url.url_label)}</Label><Input@@ -338,7 +338,7 @@ function UrlForm({setError("");}}placeholder="https://clawhub.ai/owner/skill"- className="font-mono text-sm"+ className="font-mono text-body"onKeyDown={(e) => {if (e.key === "Enter") submit();}}@@ -346,7 +346,7 @@ function UrlForm({</div><div>- <p className="mb-2 text-xs text-muted-foreground">+ <p className="mb-2 text-caption text-muted-foreground">{t(($) => $.create.url.supported_sources)}</p><div className="grid grid-cols-3 gap-2">@@ -374,7 +374,7 @@ function UrlForm({{error && (<divrole="alert"- className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive"+ className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-caption text-destructive"><AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0" /><span>@@ -474,10 +474,10 @@ export function CreateSkillDialog({</Tooltip>)}<div className="min-w-0">- <DialogTitle className="truncate text-base font-medium">+ <DialogTitle className="truncate text-title-sm font-medium">{t(($) => $.create.method[method].title)}</DialogTitle>- <p className="mt-0.5 text-xs text-muted-foreground">+ <p className="mt-0.5 text-caption text-muted-foreground">{t(($) => $.create.method[method].desc)}</p></div>diff --git a/packages/views/skills/components/file-tree.tsx b/packages/views/skills/components/file-tree.tsxindex 10848c36fe..d649ccc1bf 100644--- a/packages/views/skills/components/file-tree.tsx+++ b/packages/views/skills/components/file-tree.tsx@@ -132,7 +132,7 @@ function TreeNodeItem({<buttontype="button"onClick={() => setExpanded(!expanded)}- className="flex h-8 w-full items-center gap-1.5 rounded-md pr-2.5 text-left text-xs text-muted-foreground transition-colors hover:bg-surface-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"+ className="flex h-8 w-full items-center gap-1.5 rounded-md pr-2.5 text-left text-caption text-muted-foreground transition-colors hover:bg-surface-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"style={{ paddingLeft: `${depth * 12 + 10}px` }}><ChevronIcon className="h-3 w-3 shrink-0" />@@ -199,7 +199,7 @@ function TreeNodeItem({aria-selected={isSelected}onClick={() => onSelect(node.path)}className={cn(- "flex h-8 min-w-0 flex-1 items-center gap-2 rounded-md pr-2.5 text-left text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",+ "flex h-8 min-w-0 flex-1 items-center gap-2 rounded-md pr-2.5 text-left text-caption transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",isSelected? "font-medium text-surface-selected-foreground": "text-muted-foreground group-hover/row:text-foreground",@@ -302,10 +302,10 @@ function RenameRow({if (event.key === "Enter") submit();if (event.key === "Escape") onDone();}}- className="h-7 font-mono text-xs"+ className="h-7 font-mono text-caption"/>{error && (- <p role="alert" className="mt-1 text-xs text-destructive">+ <p role="alert" className="mt-1 text-caption text-destructive">{error}</p>)}@@ -336,7 +336,7 @@ export function FileTree({return (<div className="flex flex-col items-center justify-center py-8 text-muted-foreground"><FolderOpen className="h-5 w-5 text-muted-foreground/40" />- <p className="mt-2 text-xs">{t(($) => $.file_tree.no_files)}</p>+ <p className="mt-2 text-caption">{t(($) => $.file_tree.no_files)}</p></div>);}diff --git a/packages/views/skills/components/file-viewer.tsx b/packages/views/skills/components/file-viewer.tsxindex 16bb8159c1..8b8093f079 100644--- a/packages/views/skills/components/file-viewer.tsx+++ b/packages/views/skills/components/file-viewer.tsx@@ -72,7 +72,7 @@ export function FileViewer({? t(($) => $.file_viewer.markdown_placeholder): t(($) => $.file_viewer.raw_placeholder)}- className="h-full min-h-full resize-none rounded-none border-0 px-6 py-5 font-mono text-sm leading-relaxed read-only:cursor-default focus-visible:ring-0 sm:px-8"+ className="h-full min-h-full resize-none rounded-none border-0 px-6 py-5 font-mono text-body leading-relaxed read-only:cursor-default focus-visible:ring-0 sm:px-8"/>);}diff --git a/packages/views/skills/components/runtime-local-skill-import-panel.tsx b/packages/views/skills/components/runtime-local-skill-import-panel.tsxindex bc65aa4117..faa61d3656 100644--- a/packages/views/skills/components/runtime-local-skill-import-panel.tsx+++ b/packages/views/skills/components/runtime-local-skill-import-panel.tsx@@ -189,7 +189,7 @@ function SkillItem({/><div className="min-w-0 flex-1"><div className="flex items-center gap-2">- <span className="truncate text-sm font-medium">+ <span className="truncate text-body font-medium"><HighlightText text={skill.name} query={query} /></span><Badge variant="secondary">@@ -201,14 +201,14 @@ function SkillItem({// falls past the first two lines stays visible instead of being// clipped out of view.<p- className={`mt-1 text-xs text-muted-foreground ${+ className={`mt-1 text-caption text-muted-foreground ${query.trim() ? "" : "line-clamp-2"}`}><HighlightText text={skill.description} query={query} /></p>)}- <p className="mt-1 truncate font-mono text-xs text-muted-foreground">+ <p className="mt-1 truncate font-mono text-caption text-muted-foreground"><HighlightText text={skill.source_path} query={query} /></p></div>@@ -220,18 +220,18 @@ function SkillItem({{expanded && (<div className="space-y-2.5 border-t bg-card px-4 py-3"><div className="space-y-1">- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.runtime_import.skill_name_label)}</Label><Inputvalue={editName ?? ""}onChange={(e) => onNameChange?.(e.target.value)}placeholder={skill.name}- className="h-8 text-sm"+ className="h-8 text-body"/></div><div className="space-y-1">- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.runtime_import.skill_description_label)}</Label><Textarea@@ -239,7 +239,7 @@ function SkillItem({onChange={(e) => onDescriptionChange?.(e.target.value)}placeholder={t(($) => $.runtime_import.skill_description_placeholder)}rows={2}- className="resize-none text-sm"+ className="resize-none text-body"/></div></div>@@ -265,42 +265,42 @@ function BulkImportSummary({ results }: { results: BulkImportResult[] }) {{/* Summary counts */}<div className="grid grid-cols-2 gap-2 text-center sm:grid-cols-5"><div className="rounded-md bg-green-50 px-3 py-2 dark:bg-green-950/30">- <div className="text-lg font-semibold text-green-700 dark:text-green-400">+ <div className="text-title font-semibold text-green-700 dark:text-green-400">{created.length}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_summary_created)}</div></div><div className="rounded-md bg-blue-50 px-3 py-2 dark:bg-blue-950/30">- <div className="text-lg font-semibold text-blue-700 dark:text-blue-400">+ <div className="text-title font-semibold text-blue-700 dark:text-blue-400">{updated.length}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_summary_updated)}</div></div><div className="rounded-md bg-amber-50 px-3 py-2 dark:bg-amber-950/30">- <div className="text-lg font-semibold text-amber-700 dark:text-amber-400">+ <div className="text-title font-semibold text-amber-700 dark:text-amber-400">{conflicts.length}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_summary_conflicts)}</div></div><div className="rounded-md bg-yellow-50 px-3 py-2 dark:bg-yellow-950/30">- <div className="text-lg font-semibold text-yellow-700 dark:text-yellow-400">+ <div className="text-title font-semibold text-yellow-700 dark:text-yellow-400">{skipped.length}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_summary_skipped)}</div></div><div className="rounded-md bg-red-50 px-3 py-2 dark:bg-red-950/30">- <div className="text-lg font-semibold text-red-700 dark:text-red-400">+ <div className="text-title font-semibold text-red-700 dark:text-red-400">{failed.length}</div>- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_summary_failed)}</div></div>@@ -311,7 +311,7 @@ function BulkImportSummary({ results }: { results: BulkImportResult[] }) {{results.map((r) => (<divkey={r.key}- className="flex items-center gap-2 rounded px-2 py-1.5 text-xs"+ className="flex items-center gap-2 rounded px-2 py-1.5 text-caption"><ResultIcon status={r.status} /><span className="min-w-0 flex-1 truncate">{r.name}</span>@@ -350,7 +350,7 @@ function ConflictResolutionPanel({return (<div className="space-y-4 py-2">- <div className="rounded-md border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-950 dark:border-amber-900/60 dark:bg-amber-950/30 dark:text-amber-100">+ <div className="rounded-md border border-amber-200 bg-amber-50 px-3 py-2 text-body text-amber-950 dark:border-amber-900/60 dark:bg-amber-950/30 dark:text-amber-100"><div className="flex items-start gap-2"><AlertTriangle className="mt-0.5 h-4 w-4 shrink-0" /><div className="min-w-0">@@ -361,7 +361,7 @@ function ConflictResolutionPanel({count: conflicts.length,})}</p>- <p className="mt-1 text-xs opacity-85">+ <p className="mt-1 text-caption opacity-85">{t(($) => $.runtime_import.conflict_hint)}</p></div>@@ -404,12 +404,12 @@ function ConflictResolutionPanel({<div className="flex items-start gap-2"><AlertTriangle className="mt-0.5 h-4 w-4 shrink-0 text-amber-600" /><div className="min-w-0 flex-1">- <div className="truncate text-sm font-medium">{r.name}</div>+ <div className="truncate text-body font-medium">{r.name}</div>{r.error && (- <p className="mt-1 text-xs text-destructive">{r.error}</p>+ <p className="mt-1 text-caption text-destructive">{r.error}</p>)}{!r.conflict?.can_overwrite && (- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{creatorName? t(($) => $.runtime_import.conflict_locked_creator, {creator: creatorName,@@ -476,7 +476,7 @@ function ConflictResolutionPanel({{resolution.action === "rename" && (<div className="mt-3 space-y-1">- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.runtime_import.conflict_rename_label)}</Label><Input@@ -487,7 +487,7 @@ function ConflictResolutionPanel({renameName: e.target.value,})}- className="h-8 text-sm"+ className="h-8 text-body"/></div>)}@@ -940,7 +940,7 @@ export function RuntimeLocalSkillImportPanel({<div className="space-y-4 py-4"><div className="text-center"><Loader2 className="mx-auto h-6 w-6 animate-spin text-primary" />- <p className="mt-3 text-sm font-medium">+ <p className="mt-3 text-body font-medium">{t(($) => $.runtime_import.bulk_progress, {completed: bulkState.completed,total: bulkState.total,@@ -953,7 +953,7 @@ export function RuntimeLocalSkillImportPanel({{bulkState.results.map((r) => (<divkey={r.key}- className="flex items-center gap-2 rounded px-2 py-1 text-xs"+ className="flex items-center gap-2 rounded px-2 py-1 text-caption"><ResultIcon status={r.status} /><span className="truncate">{r.name}</span>@@ -1013,10 +1013,10 @@ export function RuntimeLocalSkillImportPanel({if (localRuntimes.length === 0) {return (<div className="rounded-lg border border-dashed px-4 py-10 text-center">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.runtime_import.no_local_runtimes_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.runtime_import.no_local_runtimes_hint)}</p></div>@@ -1025,7 +1025,7 @@ export function RuntimeLocalSkillImportPanel({if (!selectedRuntime) {return (<div className="rounded-lg border border-dashed px-4 py-10 text-center">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.runtime_import.choose_runtime)}</p></div>@@ -1033,7 +1033,7 @@ export function RuntimeLocalSkillImportPanel({}if (selectedRuntime.status !== "online") {return (- <div className="flex items-start gap-2 rounded-md bg-warning/10 px-3 py-2 text-xs text-muted-foreground">+ <div className="flex items-start gap-2 rounded-md bg-warning/10 px-3 py-2 text-caption text-muted-foreground"><AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-warning" />{t(($) => $.runtime_import.must_be_online)}</div>@@ -1053,7 +1053,7 @@ export function RuntimeLocalSkillImportPanel({}if (skillsQuery.error) {return (- <div className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive">+ <div className="flex items-start gap-2 rounded-md bg-destructive/10 px-3 py-2 text-caption text-destructive"><AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0" />{skillsQuery.error instanceof Error? skillsQuery.error.message@@ -1063,7 +1063,7 @@ export function RuntimeLocalSkillImportPanel({}if (!skillsQuery.data?.supported) {return (- <div className="flex items-start gap-2 rounded-md bg-muted/50 px-3 py-2 text-xs text-muted-foreground">+ <div className="flex items-start gap-2 rounded-md bg-muted/50 px-3 py-2 text-caption text-muted-foreground"><AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0" />{t(($) => $.runtime_import.not_supported)}</div>@@ -1072,10 +1072,10 @@ export function RuntimeLocalSkillImportPanel({if (runtimeSkills.length === 0) {return (<div className="rounded-lg border border-dashed px-4 py-10 text-center">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.runtime_import.no_skills_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.runtime_import.no_skills_hint)}</p></div>@@ -1089,16 +1089,16 @@ export function RuntimeLocalSkillImportPanel({value={skillSearchQuery}onChange={(e) => setSkillSearchQuery(e.target.value)}placeholder={t(($) => $.runtime_import.search_placeholder)}- className="h-9 pl-8 text-sm"+ className="h-9 pl-8 text-body"/></div>{filteredRuntimeSkills.length === 0 ? (<div className="rounded-lg border border-dashed px-4 py-8 text-center">- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.runtime_import.no_search_results_title)}</p>- <p className="mt-1 text-xs text-muted-foreground">+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.runtime_import.no_search_results_hint, {query: skillSearchQuery.trim(),})}@@ -1117,7 +1117,7 @@ export function RuntimeLocalSkillImportPanel({onChange={toggleAll}className="cursor-pointer accent-primary"/>- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.runtime_import.select_all, {count: filteredRuntimeSkills.length,})}@@ -1173,7 +1173,7 @@ export function RuntimeLocalSkillImportPanel({const footerContent =bulkState.phase === "done" || bulkState.phase === "cancelled" ? (<>- <div className="min-w-0 flex-1 text-xs text-muted-foreground">+ <div className="min-w-0 flex-1 text-caption text-muted-foreground">{bulkState.phase === "cancelled"? t(($) => $.runtime_import.bulk_cancelled_hint): t(($) => $.runtime_import.bulk_complete_hint)}@@ -1184,7 +1184,7 @@ export function RuntimeLocalSkillImportPanel({</>) : resolvingConflicts ? (<>- <div className="min-w-0 flex-1 text-xs text-muted-foreground">+ <div className="min-w-0 flex-1 text-caption text-muted-foreground">{t(($) => $.runtime_import.conflict_footer, {count: pendingConflicts.length,})}@@ -1200,7 +1200,7 @@ export function RuntimeLocalSkillImportPanel({</>) : importing ? (<>- <div className="min-w-0 flex-1 text-xs text-muted-foreground">+ <div className="min-w-0 flex-1 text-caption text-muted-foreground">{t(($) => $.runtime_import.bulk_progress, {completed: bulkState.completed,total: bulkState.total,@@ -1217,7 +1217,7 @@ export function RuntimeLocalSkillImportPanel({</>) : (<>- <div className="min-w-0 flex-1 text-xs text-muted-foreground">+ <div className="min-w-0 flex-1 text-caption text-muted-foreground">{singleSelectedSkill ? (<>{t(($) => $.runtime_import.ready)}{" "}@@ -1260,7 +1260,7 @@ export function RuntimeLocalSkillImportPanel({}`}><div className="space-y-1.5">- <label className="text-xs text-muted-foreground">+ <label className="text-caption text-muted-foreground">{t(($) => $.runtime_import.runtime_label)}</label><Select@@ -1308,7 +1308,7 @@ export function RuntimeLocalSkillImportPanel({</div>{selectedRuntime && (- <div className="flex items-center gap-2 rounded-md border bg-muted/20 px-3 py-1.5 text-xs text-muted-foreground">+ <div className="flex items-center gap-2 rounded-md border bg-muted/20 px-3 py-1.5 text-caption text-muted-foreground"><HardDrive className="h-3.5 w-3.5 shrink-0" /><span className="min-w-0 flex-1 truncate">{runtimeDisplayLabel(selectedRuntime)}@@ -1367,7 +1367,7 @@ export function RuntimeLocalSkillImportPanel({>{middle}{bulkState.phase === "idle" && (- <p className="mt-3 text-xs text-muted-foreground">+ <p className="mt-3 text-caption text-muted-foreground">{t(($) => $.runtime_import.ignored_files_hint)}</p>)}diff --git a/packages/views/skills/components/skill-detail-page.tsx b/packages/views/skills/components/skill-detail-page.tsxindex f5a654d0a4..486cebbfc3 100644--- a/packages/views/skills/components/skill-detail-page.tsx+++ b/packages/views/skills/components/skill-detail-page.tsx@@ -163,10 +163,10 @@ function AddFileInline({if (e.key === "Escape") onCancel();}}placeholder={t(($) => $.detail.add_file.placeholder)}- className="h-7 font-mono text-xs"+ className="h-7 font-mono text-caption"/>{error && (- <p role="alert" className="mt-1 text-xs text-destructive">+ <p role="alert" className="mt-1 text-caption text-destructive">{error}</p>)}@@ -243,11 +243,11 @@ function SkillIdentity({<div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border bg-muted text-muted-foreground"><Sparkles className="h-4 w-4" aria-hidden="true" /></div>- <h1 className="min-w-0 truncate font-mono text-lg font-semibold tracking-tight">+ <h1 className="min-w-0 truncate font-mono text-title font-semibold tracking-tight">{skill.name}</h1></div>- <div className="flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-xs text-muted-foreground sm:ml-auto">+ <div className="flex min-w-0 flex-wrap items-center gap-x-4 gap-y-1 text-caption text-muted-foreground sm:ml-auto">{originLabel && (<span className="inline-flex min-w-0 items-center gap-1.5">{isRuntimeOrigin ? (@@ -298,7 +298,7 @@ function PropertyRow({<div className="grid gap-1.5 py-2.5 sm:grid-cols-[128px_minmax(0,1fr)] sm:gap-4"><labelhtmlFor={htmlFor}- className="pt-1.5 text-xs text-muted-foreground sm:text-sm"+ className="pt-1.5 text-caption text-muted-foreground sm:text-body">{label}</label>@@ -311,7 +311,7 @@ function UsedByList({ agents }: { agents: Agent[] }) {const { t } = useT("skills");if (agents.length === 0) {return (- <div className="rounded-lg border border-dashed px-3 py-6 text-center text-xs text-muted-foreground">+ <div className="rounded-lg border border-dashed px-3 py-6 text-center text-caption text-muted-foreground">{t(($) => $.detail.overview.used_by_empty)}</div>);@@ -328,9 +328,9 @@ function UsedByList({ agents }: { agents: Agent[] }) {size="md"/><div className="min-w-0 flex-1">- <div className="truncate text-sm font-medium">{a.name}</div>+ <div className="truncate text-body font-medium">{a.name}</div>{a.description && (- <div className="truncate text-xs text-muted-foreground">+ <div className="truncate text-caption text-muted-foreground">{a.description}</div>)}@@ -368,8 +368,8 @@ function OverviewTab({return (<div className="mx-auto w-full max-w-3xl p-4 sm:p-6 md:p-8"><section>- <h2 className="text-base font-medium">{t(($) => $.detail.overview.properties)}</h2>- <p className="mt-1 text-xs text-muted-foreground">+ <h2 className="text-title-sm font-medium">{t(($) => $.detail.overview.properties)}</h2>+ <p className="mt-1 text-caption text-muted-foreground">{t(($) => $.detail.overview.properties_hint)}</p><div className="mt-4 divide-y">@@ -380,7 +380,7 @@ function OverviewTab({readOnly={!canEdit}onChange={(e) => onNameChange(e.target.value)}placeholder={t(($) => $.detail.name_placeholder)}- className="font-mono text-sm read-only:cursor-default"+ className="font-mono text-body read-only:cursor-default"/></PropertyRow>@@ -398,9 +398,9 @@ function OverviewTab({onChange={(e) => onDescriptionChange(e.target.value)}placeholder={t(($) => $.detail.description_placeholder)}rows={6}- className="text-sm leading-relaxed read-only:cursor-default"+ className="text-body leading-relaxed read-only:cursor-default"/>- <p className="mt-1.5 text-xs text-muted-foreground">+ <p className="mt-1.5 text-caption text-muted-foreground">{t(($) => $.detail.overview.description_hint, {count: description.length,})}@@ -421,7 +421,7 @@ function OverviewTab({<section className="mt-10"><div className="flex items-center justify-between gap-3">- <h2 className="min-w-0 text-base font-medium">+ <h2 className="min-w-0 text-title-sm font-medium">{t(($) => $.detail.overview.used_by, { count: skillAgents.length })}</h2><Button@@ -439,7 +439,7 @@ function OverviewTab({</div></section>- <p className="mt-10 rounded-lg bg-muted px-3 py-2.5 text-xs leading-relaxed text-muted-foreground">+ <p className="mt-10 rounded-lg bg-muted px-3 py-2.5 text-caption leading-relaxed text-muted-foreground">{canEdit? t(($) => $.detail.overview.permissions_owner): creatorName@@ -511,7 +511,7 @@ function FilesTab({aria-label={t(($) => $.detail.files.list_aria)}className="shrink-0 border-b border-surface-border p-3 md:w-52 md:overflow-y-auto md:border-b-0 md:border-r md:p-4">- <p className="px-2.5 pb-1 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground">+ <p className="px-2.5 pb-1 text-micro font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.detail.files.main)}</p><FileTree@@ -520,7 +520,7 @@ function FilesTab({onSelect={onSelectPath}/>- <p className="px-2.5 pb-1 pt-3 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground">+ <p className="px-2.5 pb-1 pt-3 text-micro font-semibold uppercase tracking-wider text-muted-foreground">{t(($) => $.detail.files.supporting, { count: supportingPaths.length })}</p>{supportingPaths.length > 0 ? (@@ -532,7 +532,7 @@ function FilesTab({/>) : (!addingFile && (- <p className="px-2.5 py-1 text-xs text-muted-foreground">+ <p className="px-2.5 py-1 text-caption text-muted-foreground">{t(($) => $.detail.files.supporting_empty)}</p>)@@ -561,7 +561,7 @@ function FilesTab({<section className="flex min-h-[32rem] min-w-0 flex-1 flex-col md:min-h-0"><div className="flex h-10 shrink-0 items-center gap-3 border-b px-3 sm:px-4">- <span className="truncate font-mono text-xs text-muted-foreground">+ <span className="truncate font-mono text-caption text-muted-foreground">{selectedPath}</span><div className="ml-auto flex shrink-0 items-center gap-1">@@ -578,7 +578,7 @@ function FilesTab({aria-pressed={mode === value}onClick={() => onModeChange(value)}className={cn(- "h-6 rounded px-2 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",+ "h-6 rounded px-2 text-caption font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",mode === value? "bg-surface text-foreground shadow-sm": "text-muted-foreground hover:text-foreground",@@ -954,8 +954,8 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {</div><div className="flex flex-1 flex-col items-center justify-center gap-2 text-center"><AlertCircle className="h-8 w-8 text-muted-foreground/40" />- <p className="text-sm font-medium">{t(($) => $.detail.not_found.title)}</p>- <p className="max-w-xs text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.detail.not_found.title)}</p>+ <p className="max-w-xs text-caption text-muted-foreground">{error instanceof Error ? error.message : t(($) => $.detail.not_found.fallback)}</p><AppLink@@ -982,14 +982,14 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {<BreadcrumbHeadersegments={[{ href: paths.skills(), label: t(($) => $.page.title) }]}leaf={- <span className="truncate font-mono text-xs text-foreground">+ <span className="truncate font-mono text-caption text-foreground">{skill.name}</span>}actions={<>{!canEdit && (- <span className="inline-flex items-center gap-1 text-xs text-muted-foreground">+ <span className="inline-flex items-center gap-1 text-caption text-muted-foreground"><Lock className="h-3 w-3" />{t(($) => $.detail.read_only)}</span>@@ -1038,7 +1038,7 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {{supportingQueryDown && (<divrole="status"- className="flex shrink-0 items-start gap-2 border-b bg-warning/10 px-4 py-2 text-xs text-muted-foreground sm:px-6"+ className="flex shrink-0 items-start gap-2 border-b bg-warning/10 px-4 py-2 text-caption text-muted-foreground sm:px-6"><AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-warning" /><span>{t(($) => $.detail.supporting_data_warning)}</span>@@ -1067,7 +1067,7 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {aria-selected={activeView === tab.id}onClick={() => selectView(tab.id)}className={cn(- "relative shrink-0 py-3 text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",+ "relative shrink-0 py-3 text-body font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",activeView === tab.id? "text-foreground after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-foreground": "text-muted-foreground hover:text-foreground",@@ -1083,7 +1083,7 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {<divrole="status"aria-live="polite"- className="flex shrink-0 items-start gap-2 border-b border-warning/30 bg-warning/10 px-4 py-2 text-xs sm:px-6"+ className="flex shrink-0 items-start gap-2 border-b border-warning/30 bg-warning/10 px-4 py-2 text-caption sm:px-6"><AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-warning" /><div className="flex-1">@@ -1146,12 +1146,12 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {{isDirty ? (<><span className="h-1.5 w-1.5 rounded-full bg-brand" />- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.detail.save_bar.unsaved)}</span></>) : (- <span className="text-xs text-muted-foreground">+ <span className="text-caption text-muted-foreground">{t(($) => $.detail.save_bar.saved)}</span>)}@@ -1208,7 +1208,7 @@ export function SkillDetailPage({ skillId }: { skillId: string }) {})}</DialogDescription></DialogHeader>- <div className="rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive">+ <div className="rounded-md bg-destructive/10 px-3 py-2 text-caption text-destructive">{t(($) => $.detail.delete_dialog.warning)}</div><DialogFooter>diff --git a/packages/views/skills/components/skill-list-actions.tsx b/packages/views/skills/components/skill-list-actions.tsxindex f0ffd0a173..027e9d3cc9 100644--- a/packages/views/skills/components/skill-list-actions.tsx+++ b/packages/views/skills/components/skill-list-actions.tsx@@ -127,11 +127,11 @@ function AgentPickerRow({isAgentsize="md"/>- <span className="min-w-0 flex-1 truncate text-sm">{agent.name}</span>+ <span className="min-w-0 flex-1 truncate text-body">{agent.name}</span>{hasAll ? (<Check className="size-3.5 shrink-0 text-muted-foreground" />) : owned > 0 ? (- <span className="shrink-0 text-xs text-muted-foreground">+ <span className="shrink-0 text-caption text-muted-foreground">{t(($) => $.actions.has_partial, { owned, total: skillIds.length })}</span>) : null}@@ -149,7 +149,7 @@ function SkillChips({ skills }: { skills: SkillSummary[] }) {const visible = skills.slice(0, MAX_SKILL_CHIPS);const overflow = skills.slice(MAX_SKILL_CHIPS);const chipClass =- "max-w-[10rem] truncate rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground";+ "max-w-[10rem] truncate rounded bg-muted px-1.5 py-0.5 text-caption text-muted-foreground";return (<div className="flex flex-wrap items-center gap-1">{visible.map((s) => (@@ -199,7 +199,7 @@ function AgentGroup({if (agents.length === 0) return null;return (<Collapsible defaultOpen={defaultOpen}>- <CollapsibleTrigger className="group/trigger flex w-full items-center gap-1 rounded-md px-2.5 py-1.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-accent/50">+ <CollapsibleTrigger className="group/trigger flex w-full items-center gap-1 rounded-md px-2.5 py-1.5 text-caption font-medium text-muted-foreground transition-colors hover:bg-accent/50"><ChevronRight className="size-3 stroke-[2.5] transition-transform duration-200 group-data-[panel-open]/trigger:rotate-90" /><span>{label}</span><span className="text-muted-foreground/60">{agents.length}</span>@@ -312,10 +312,10 @@ export function AddToAgentDialog({confirm dialogs — this is a working picker, not a prompt. */}<DialogContent className="flex h-[32rem] max-h-[85svh] max-w-lg flex-col"><DialogHeader>- <DialogTitle className="text-sm">+ <DialogTitle className="text-body">{t(($) => $.actions.add_to_agent)}</DialogTitle>- <DialogDescription className="text-xs">+ <DialogDescription className="text-caption">{t(($) => $.actions.add_dialog_description)}</DialogDescription></DialogHeader>@@ -329,18 +329,18 @@ export function AddToAgentDialog({value={query}onChange={(e) => setQuery(e.target.value)}placeholder={t(($) => $.actions.search_placeholder)}- className="h-8 pl-7 text-xs"+ className="h-8 pl-7 text-caption"/></div>)}<div className="min-h-0 flex-1 overflow-y-auto rounded-lg border bg-card p-1.5">{!hasAnyAgent ? (- <div className="py-6 text-center text-xs text-muted-foreground">+ <div className="py-6 text-center text-caption text-muted-foreground">{t(($) => $.actions.no_agents)}</div>) : !hasMatch ? (- <div className="py-6 text-center text-xs text-muted-foreground">+ <div className="py-6 text-center text-caption text-muted-foreground">{t(($) => $.actions.no_agents_match)}</div>) : (@@ -468,7 +468,7 @@ export function DeleteSkillsDialog({: t(($) => $.actions.delete_dialog_desc, { count })}</DialogDescription></DialogHeader>- <div className="rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive">+ <div className="rounded-md bg-destructive/10 px-3 py-2 text-caption text-destructive">{t(($) => $.detail.delete_dialog.warning)}</div><DialogFooter>@@ -620,7 +620,7 @@ export function SkillBatchToolbar({toolbar. */}<div className="absolute bottom-6 left-1/2 z-50 flex -translate-x-1/2 items-center gap-1 rounded-lg border bg-background px-2 py-1.5 shadow-lg"><div className="mr-1 flex items-center gap-1.5 border-r pl-1 pr-2">- <span className="text-sm font-medium">+ <span className="text-body font-medium">{t(($) => $.actions.selected, { count: rows.length })}</span><buttondiff --git a/packages/views/skills/components/skill-list-toolbar.tsx b/packages/views/skills/components/skill-list-toolbar.tsxindex 184055d11c..5ff9789411 100644--- a/packages/views/skills/components/skill-list-toolbar.tsx+++ b/packages/views/skills/components/skill-list-toolbar.tsx@@ -172,7 +172,7 @@ export function SkillListToolbar({const sortLabel = SORT_LABELS[sortField];const countBadge = (n: number) => (- <span className="ml-auto pl-3 text-xs text-muted-foreground">{n}</span>+ <span className="ml-auto pl-3 text-caption text-muted-foreground">{n}</span>);return (@@ -190,13 +190,13 @@ export function SkillListToolbar({onChange={(e) => onSearchChange(e.target.value)}aria-label={t(($) => $.page.search_placeholder)}placeholder={t(($) => $.page.search_placeholder)}- className="h-8 w-64 pl-8 text-sm"+ className="h-8 w-64 pl-8 text-body"/></div>{(hasActiveFilters || search.trim().length > 0) && (<spantitle={t(($) => $.toolbar.result_count_title)}- className="hidden shrink-0 text-xs tabular-nums text-muted-foreground md:inline"+ className="hidden shrink-0 text-caption tabular-nums text-muted-foreground md:inline">{visibleCount} / {allRows.length}</span>@@ -261,7 +261,7 @@ export function SkillListToolbar({{t(($) => $.toolbar.section_usage)}</span>{filters.usage.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.usage.length}</span>)}@@ -289,7 +289,7 @@ export function SkillListToolbar({<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.table.source)}</span>{filters.origins.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.origins.length}</span>)}@@ -318,7 +318,7 @@ export function SkillListToolbar({<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.table.used_by)}</span>{filters.agents.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.agents.length}</span>)}@@ -351,7 +351,7 @@ export function SkillListToolbar({<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.table.created_by)}</span>{filters.creators.length > 0 && (- <span className="text-xs font-medium text-primary">+ <span className="text-caption font-medium text-primary">{filters.creators.length}</span>)}@@ -417,7 +417,7 @@ export function SkillListToolbar({</Tooltip><PopoverContent align="end" className="w-64 p-0"><div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span><div className="mt-2 flex items-center gap-1.5">@@ -427,7 +427,7 @@ export function SkillListToolbar({<Buttonvariant="outline"size="sm"- className="flex-1 justify-between text-xs"+ className="flex-1 justify-between text-caption">{sortLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -473,7 +473,7 @@ export function SkillListToolbar({</div><div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span><div className="mt-2 space-y-2">@@ -482,7 +482,7 @@ export function SkillListToolbar({key={key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{COLUMN_LABELS[key]}</span>+ <span className="text-body">{COLUMN_LABELS[key]}</span><Switchsize="sm"checked={!hiddenColumns.includes(key)}diff --git a/packages/views/skills/components/skills-page.tsx b/packages/views/skills/components/skills-page.tsxindex 73d7e89173..0be6c52a69 100644--- a/packages/views/skills/components/skills-page.tsx+++ b/packages/views/skills/components/skills-page.tsx@@ -237,7 +237,7 @@ function NameCell({ row }: { row: SkillRow }) {const { skill, canEdit } = row;return (<ListGridCell className="gap-1.5">- <span className="min-w-0 truncate text-sm font-medium">+ <span className="min-w-0 truncate text-body font-medium">{skill.name}</span>{!canEdit && (@@ -259,7 +259,7 @@ function UsedByCell({ agents }: { agents: Agent[] }) {if (agents.length === 0) {return (<ListGridCell>- <span className="text-xs text-muted-foreground/70">+ <span className="text-caption text-muted-foreground/70">{t(($) => $.table.unused)}</span></ListGridCell>@@ -277,7 +277,7 @@ function UsedByCell({ agents }: { agents: Agent[] }) {isAgentsize="md"/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{agent.name}</span></ListGridCell>@@ -307,7 +307,7 @@ function UsedByCell({ agents }: { agents: Agent[] }) {</Tooltip>))}{extra > 0 && (- <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-xs font-medium text-muted-foreground ring-2 ring-background">+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-caption font-medium text-muted-foreground ring-2 ring-background">+{extra}</span>)}@@ -349,7 +349,7 @@ function SourceCell({}return (- <ListGridCell className="hidden gap-1.5 text-xs text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden gap-1.5 text-caption text-muted-foreground @2xl:flex">{icon}<span className="min-w-0 truncate">{label}</span></ListGridCell>@@ -367,7 +367,7 @@ function CreatorCell({ creator }: { creator: MemberWithUser | null }) {avatarUrl={resolvePublicFileUrl(creator.avatar_url)}size="md"/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{creator.name}</span></>@@ -802,7 +802,7 @@ export default function SkillsPage() {{supportingQueryDown && (<divrole="status"- className="flex shrink-0 items-start gap-2 border-b bg-warning/10 px-6 py-2 text-xs text-muted-foreground"+ className="flex shrink-0 items-start gap-2 border-b bg-warning/10 px-6 py-2 text-caption text-muted-foreground"><AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-warning" /><span>{t(($) => $.page.supporting_data_warning)}</span>@@ -859,7 +859,7 @@ export default function SkillsPage() {}}>{rows.length === 0 && (- <div className="col-span-full py-16 text-center text-sm text-muted-foreground">+ <div className="col-span-full py-16 text-center text-body text-muted-foreground">{t(($) => $.page.no_matches.title)}</div>)}@@ -895,14 +895,14 @@ export default function SkillsPage() {<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("updated") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{timeAgo(row.skill.updated_at)}</ListGridCell>) : (<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("created") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{timeAgo(row.skill.created_at)}</ListGridCell>) : (diff --git a/packages/views/slack/bind-page.tsx b/packages/views/slack/bind-page.tsxindex d9658566a8..3b0781a18c 100644--- a/packages/views/slack/bind-page.tsx+++ b/packages/views/slack/bind-page.tsx@@ -65,12 +65,12 @@ export function SlackBindPage({ token }: { token: string | null }) {<div className="mx-auto flex min-h-screen max-w-md flex-col items-center justify-center p-6"><Card className="w-full"><CardContent className="space-y-4">- <h1 className="text-lg font-semibold">{t(($) => $.slack_bind.page_title)}</h1>+ <h1 className="text-title font-semibold">{t(($) => $.slack_bind.page_title)}</h1>{state.kind === "idle" || state.kind === "redeeming" ? (- <p className="text-sm text-muted-foreground">{t(($) => $.slack_bind.redeeming)}</p>+ <p className="text-body text-muted-foreground">{t(($) => $.slack_bind.redeeming)}</p>) : state.kind === "needs-auth" ? (<>- <p className="text-sm text-muted-foreground">+ <p className="text-body text-muted-foreground">{t(($) => $.slack_bind.needs_auth_description)}</p><Button@@ -88,15 +88,15 @@ export function SlackBindPage({ token }: { token: string | null }) {</>) : state.kind === "done" ? (<>- <p className="text-sm font-medium">{t(($) => $.slack_bind.done_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.slack_bind.done_title)}</p>+ <p className="text-caption text-muted-foreground">{t(($) => $.slack_bind.done_description)}</p></>) : (<>- <p className="text-sm font-medium">{t(($) => $.slack_bind.error_title)}</p>- <p className="text-xs text-muted-foreground">+ <p className="text-body font-medium">{t(($) => $.slack_bind.error_title)}</p>+ <p className="text-caption text-muted-foreground">{(() => {switch (state.reason) {case "missing_token":@@ -112,7 +112,7 @@ export function SlackBindPage({ token }: { token: string | null }) {}})()}</p>- <p className="text-[10px] text-muted-foreground">+ <p className="text-micro text-muted-foreground">{t(($) => $.slack_bind.error_admin_hint)}</p></>diff --git a/packages/views/squads/components/squad-detail-page.tsx b/packages/views/squads/components/squad-detail-page.tsxindex 595d50a204..829d02e405 100644--- a/packages/views/squads/components/squad-detail-page.tsx+++ b/packages/views/squads/components/squad-detail-page.tsx@@ -206,7 +206,7 @@ export function SquadDetailPage() {leaf={<><SquadHeaderAvatar squad={squad} initials={initials} />- <h1 className="truncate text-sm font-medium text-foreground">{squad.name}</h1>+ <h1 className="truncate text-body font-medium text-foreground">{squad.name}</h1></>}actions={@@ -390,7 +390,7 @@ function SquadNameEditor({<buttontype="button"{...triggerProps}- className="group -mx-1 inline-flex items-center gap-1.5 self-start rounded px-1 text-left text-lg font-semibold leading-tight transition-colors hover:bg-accent/50"+ className="group -mx-1 inline-flex items-center gap-1.5 self-start rounded px-1 text-left text-title font-semibold leading-tight transition-colors hover:bg-accent/50"><span>{value}</span><Pencil className="h-3.5 w-3.5 shrink-0 text-muted-foreground/0 transition-colors group-hover:text-muted-foreground" />@@ -457,7 +457,7 @@ function InlineEditPopover({/><PopoverContent align="start" className="w-72 p-3"><div className="space-y-2">- <p className="text-xs font-medium">{title}</p>+ <p className="text-caption font-medium">{title}</p><InputautoFocusvalue={draft}@@ -479,7 +479,7 @@ function InlineEditPopover({}}className="h-8"/>- {error && <p className="text-xs text-destructive">{error}</p>}+ {error && <p className="text-caption text-destructive">{error}</p>}<div className="flex items-center justify-end gap-2"><Button variant="ghost" size="sm" onClick={() => setOpen(false)} disabled={saving}>{t(($) => $.name_editor.cancel)}@@ -545,9 +545,9 @@ function AddMemberDialog({<div className="space-y-4 min-w-0"><div>- <Label className="text-xs text-muted-foreground">{t(($) => $.add_member_dialog.label_member)}</Label>+ <Label className="text-caption text-muted-foreground">{t(($) => $.add_member_dialog.label_member)}</Label><Popover open={pickerOpen} onOpenChange={(v) => { setPickerOpen(v); if (!v) setPickerFilter(""); }}>- <PopoverTrigger className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1 text-left text-sm transition-colors hover:bg-muted">+ <PopoverTrigger className="flex w-full min-w-0 items-center gap-3 rounded-lg border border-border bg-background px-3 py-2.5 mt-1 text-left text-body transition-colors hover:bg-muted">{target ? (<ActorAvatar actorType={target.type} actorId={target.id} size="sm" />) : (@@ -558,7 +558,7 @@ function AddMemberDialog({{target?.name ?? "Select a member or agent"}</div>{target && (- <div className="truncate text-xs text-muted-foreground capitalize">{target.type}</div>+ <div className="truncate text-caption text-muted-foreground capitalize">{target.type}</div>)}</div><ChevronDown className={`h-4 w-4 shrink-0 text-muted-foreground transition-transform ${pickerOpen ? "rotate-180" : ""}`} />@@ -571,7 +571,7 @@ function AddMemberDialog({value={pickerFilter}onChange={(e) => setPickerFilter(e.target.value)}placeholder="Search members or agents..."- className="w-full bg-transparent text-sm placeholder:text-muted-foreground outline-none"+ className="w-full bg-transparent text-body placeholder:text-muted-foreground outline-none"/></div><div className="p-1 max-h-72 overflow-y-auto">@@ -618,7 +618,7 @@ function AddMemberDialog({</div><div>- <Label className="text-xs text-muted-foreground">+ <Label className="text-caption text-muted-foreground">{t(($) => $.add_member_dialog.label_role)}{" "}<span className="text-muted-foreground/60">{t(($) => $.add_member_dialog.label_optional)}</span></Label>@@ -687,7 +687,7 @@ function RoleEditor({ value, onSave }: { value: string; onSave: (next: string) =}}disabled={saving}placeholder="Role (e.g. Reviewer)"- className="h-6 mt-0.5 text-xs px-1.5"+ className="h-6 mt-0.5 text-caption px-1.5"/>);}@@ -696,7 +696,7 @@ function RoleEditor({ value, onSave }: { value: string; onSave: (next: string) =<buttontype="button"onClick={() => setEditing(true)}- className="text-xs text-muted-foreground mt-0.5 text-left hover:text-foreground transition-colors"+ className="text-caption text-muted-foreground mt-0.5 text-left hover:text-foreground transition-colors">{value || <span className="italic opacity-60">{t(($) => $.add_member_dialog.placeholder_role_inline)}</span>}</button>@@ -764,13 +764,13 @@ function SquadDetailInspector({<><SquadStaticAvatar squad={squad} initials={initials} /><div className="flex flex-col gap-1">- <span className="text-lg font-semibold leading-tight">{squad.name}</span>+ <span className="text-title font-semibold leading-tight">{squad.name}</span>{squad.description ? (- <span className="text-xs leading-relaxed text-muted-foreground">+ <span className="text-caption leading-relaxed text-muted-foreground">{squad.description}</span>) : (- <span className="text-xs italic leading-relaxed text-muted-foreground/50">+ <span className="text-caption italic leading-relaxed text-muted-foreground/50">{t(($) => $.description_dialog.placeholder_empty)}</span>)}@@ -781,7 +781,7 @@ function SquadDetailInspector({{/* Details — read-only */}<div className="border-b px-5 py-4">- <div className="mb-1 -mx-2 px-2 text-[10px] font-medium uppercase tracking-wider text-muted-foreground">+ <div className="mb-1 -mx-2 px-2 text-micro font-medium uppercase tracking-wider text-muted-foreground">{t(($) => $.inspector.details_section)}</div><div className="grid grid-cols-[auto_1fr] gap-x-2 gap-y-0.5">@@ -815,8 +815,8 @@ function SquadDetailInspector({function InspectorRow({ label, children }: { label: string; children: ReactNode }) {return (<>- <div className="px-2 py-1 text-xs text-muted-foreground">{label}</div>- <div className="min-w-0 px-2 py-1 text-xs">{children}</div>+ <div className="px-2 py-1 text-caption text-muted-foreground">{label}</div>+ <div className="min-w-0 px-2 py-1 text-caption">{children}</div></>);}@@ -839,7 +839,7 @@ function SquadDescriptionEditor({<buttontype="button"onClick={() => setOpen(true)}- className="group -mx-1 inline-flex items-start gap-1.5 self-start rounded px-1 text-left text-xs leading-relaxed transition-colors hover:bg-accent/50"+ className="group -mx-1 inline-flex items-start gap-1.5 self-start rounded px-1 text-left text-caption leading-relaxed transition-colors hover:bg-accent/50">{value ? (<span className="text-muted-foreground">{value}</span>@@ -914,7 +914,7 @@ function SquadDescriptionEditorBody({void commit();}}}- className="w-full resize-none rounded-md border bg-transparent px-3 py-2 text-sm outline-none focus-visible:border-input"+ className="w-full resize-none rounded-md border bg-transparent px-3 py-2 text-body outline-none focus-visible:border-input"/><DialogFooter><Button variant="ghost" size="sm" onClick={onClose} disabled={saving}>{t(($) => $.description_dialog.cancel)}</Button>@@ -1002,7 +1002,7 @@ function SquadOverviewPane({key={tab.id}type="button"onClick={() => requestTabChange(tab.id)}- className={`flex shrink-0 items-center gap-1.5 whitespace-nowrap border-b-2 px-3 py-2.5 text-xs font-medium transition-colors ${+ className={`flex shrink-0 items-center gap-1.5 whitespace-nowrap border-b-2 px-3 py-2.5 text-caption font-medium transition-colors ${activeTab === tab.id? "border-foreground text-foreground": "border-transparent text-muted-foreground hover:text-foreground"@@ -1119,8 +1119,8 @@ function SquadMembersTab({<div className="flex flex-col gap-4"><div className="flex items-center justify-between"><div>- <h3 className="text-sm font-medium">{t(($) => $.members_tab.section_title)}</h3>- <p className="text-xs text-muted-foreground mt-0.5">+ <h3 className="text-body font-medium">{t(($) => $.members_tab.section_title)}</h3>+ <p className="text-caption text-muted-foreground mt-0.5">{t(($) => $.members_tab.section_count, { count: members.length })}</p></div>@@ -1175,16 +1175,16 @@ function SquadMembersTab({/><div className="flex-1 min-w-0"><div className="flex items-center gap-2">- <span className="text-sm font-medium">{getEntityName(m.member_type, m.member_id)}</span>- <span className="text-xs text-muted-foreground capitalize">{m.member_type}</span>+ <span className="text-body font-medium">{getEntityName(m.member_type, m.member_id)}</span>+ <span className="text-caption text-muted-foreground capitalize">{m.member_type}</span>{isLeader(m) && (- <span className="inline-flex items-center gap-0.5 text-xs bg-amber-100 dark:bg-amber-900/30 text-amber-700 dark:text-amber-400 px-1.5 py-0.5 rounded">+ <span className="inline-flex items-center gap-0.5 text-caption bg-amber-100 dark:bg-amber-900/30 text-amber-700 dark:text-amber-400 px-1.5 py-0.5 rounded"><Crown className="size-3" />{t(($) => $.members_tab.leader_chip)}</span>)}{m.member_type === "agent" && statusLabel && (- <span className="inline-flex items-center gap-1 text-xs text-muted-foreground">+ <span className="inline-flex items-center gap-1 text-caption text-muted-foreground"><span className={`h-1.5 w-1.5 rounded-full ${dotClass ?? "bg-muted-foreground/40"}`} />{statusLabel}</span>@@ -1196,18 +1196,18 @@ function SquadMembersTab({onSave={async (next) => { await onUpdateRole(m, next); }}/>) : m.role ? (- <div className="mt-0.5 text-xs text-muted-foreground">{m.role}</div>+ <div className="mt-0.5 text-caption text-muted-foreground">{m.role}</div>) : null}{primaryIssue && (- <div className="mt-1 flex items-center gap-1 text-xs text-muted-foreground min-w-0">+ <div className="mt-1 flex items-center gap-1 text-caption text-muted-foreground min-w-0"><AppLinkhref={p.issueDetail(primaryIssue.issue_id)}className="inline-flex items-center gap-1 min-w-0 hover:text-foreground transition-colors">- <span className="font-mono text-[10px] uppercase shrink-0">{primaryIssue.identifier}</span>+ <span className="font-mono text-micro uppercase shrink-0">{primaryIssue.identifier}</span><span className="truncate">{primaryIssue.title}</span>{primaryIssue.issue_status === "blocked" && (- <span className="shrink-0 inline-flex items-center text-[10px] uppercase tracking-wide text-warning">+ <span className="shrink-0 inline-flex items-center text-micro uppercase tracking-wide text-warning">{t(($) => $.members_tab.issue_status_blocked)}</span>)}@@ -1220,7 +1220,7 @@ function SquadMembersTab({</div>)}{showLastActive && (- <div className="mt-0.5 text-xs text-muted-foreground">+ <div className="mt-0.5 text-caption text-muted-foreground">{t(($) => $.members_tab.last_active_label, {time: timeAgo(status!.last_active_at!),})}@@ -1337,7 +1337,7 @@ function SquadInstructionsTab({return (<div className="flex h-full flex-col gap-4">- <p className="text-xs text-muted-foreground">+ <p className="text-caption text-muted-foreground">{t(($) => $.instructions_tab.description)}</p>@@ -1369,7 +1369,7 @@ function SquadInstructionsTab({{canManage && (<div className="flex items-center justify-end gap-3">{isDirty && (- <span className="text-xs text-muted-foreground">{t(($) => $.instructions_tab.unsaved_changes)}</span>+ <span className="text-caption text-muted-foreground">{t(($) => $.instructions_tab.unsaved_changes)}</span>)}<Button size="sm" onClick={handleSave} disabled={!isDirty || saving}>{saving ? (diff --git a/packages/views/squads/components/squad-profile-card.tsx b/packages/views/squads/components/squad-profile-card.tsxindex e2e294a7f7..19b25e45ea 100644--- a/packages/views/squads/components/squad-profile-card.tsx+++ b/packages/views/squads/components/squad-profile-card.tsx@@ -45,7 +45,7 @@ export function SquadProfileCard({ squadId }: SquadProfileCardProps) {if (!squad) {return (- <div className="text-xs text-muted-foreground">+ <div className="text-caption text-muted-foreground">{t(($) => $.profile_card.unavailable)}</div>);@@ -74,9 +74,9 @@ export function SquadProfileCard({ squadId }: SquadProfileCardProps) {/><div className="min-w-0 flex-1"><div className="flex items-center gap-1.5">- <p className="truncate text-sm font-semibold">{squad.name}</p>+ <p className="truncate text-body font-semibold">{squad.name}</p>{isArchived && (- <span className="rounded-md bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">+ <span className="rounded-md bg-muted px-1.5 py-0.5 text-micro font-medium text-muted-foreground">{t(($) => $.profile_card.archived)}</span>)}@@ -85,7 +85,7 @@ export function SquadProfileCard({ squadId }: SquadProfileCardProps) {{!isArchived && (<AppLinkhref={p.squadDetail(squad.id)}- className="mr-1 mt-0.5 shrink-0 text-xs font-normal text-brand opacity-0 transition-opacity group-hover:opacity-100"+ className="mr-1 mt-0.5 shrink-0 text-caption font-normal text-brand opacity-0 transition-opacity group-hover:opacity-100">{t(($) => $.profile_card.detail_link)}</AppLink>@@ -93,7 +93,7 @@ export function SquadProfileCard({ squadId }: SquadProfileCardProps) {</div>{squad.description && (- <p className="line-clamp-2 text-xs text-muted-foreground">+ <p className="line-clamp-2 text-caption text-muted-foreground">{squad.description}</p>)}@@ -130,7 +130,7 @@ function MembersList({const overflow = Math.max(0, memberCount - visible.length);return (- <div className="flex flex-col gap-1.5 text-xs">+ <div className="flex flex-col gap-1.5 text-caption"><span className="text-muted-foreground">{t(($) => $.profile_card.members_section)}<span className="ml-1 tabular-nums">· {memberCount}</span>@@ -169,7 +169,7 @@ function MembersList({/><span className="min-w-0 flex-1 truncate font-medium">{name}</span>{isLeader && (- <span className="max-w-[4rem] shrink-0 truncate rounded-md bg-amber-100 px-1 py-0.5 text-[10px] font-medium text-amber-700 dark:bg-amber-900/30 dark:text-amber-400">+ <span className="max-w-[4rem] shrink-0 truncate rounded-md bg-amber-100 px-1 py-0.5 text-micro font-medium text-amber-700 dark:bg-amber-900/30 dark:text-amber-400">{t(($) => $.members_tab.leader_chip)}</span>)}diff --git a/packages/views/squads/components/squads-page.tsx b/packages/views/squads/components/squads-page.tsxindex 15050d57ce..49b200e74f 100644--- a/packages/views/squads/components/squads-page.tsx+++ b/packages/views/squads/components/squads-page.tsx@@ -174,11 +174,11 @@ function NameCell({ squad }: { squad: Squad }) {<ListGridCell className="gap-3"><SquadAvatar squad={squad} /><div className="min-w-0 flex-1">- <span className="block min-w-0 truncate text-sm font-medium">+ <span className="block min-w-0 truncate text-body font-medium">{squad.name}</span>{squad.description ? (- <span className="block min-w-0 truncate text-xs text-muted-foreground">+ <span className="block min-w-0 truncate text-caption text-muted-foreground">{squad.description}</span>) : null}@@ -197,7 +197,7 @@ function LeaderCell({return (<ListGridCell className="gap-1.5"><ActorAvatar actorType="agent" actorId={leaderId} size="sm" />- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{leader?.name ?? leaderId.slice(0, 8)}</span></ListGridCell>@@ -213,7 +213,7 @@ function MembersCell({ squad }: { squad: Squad }) {if (count === 0) {return (<ListGridCell className="hidden @2xl:flex">- <span className="text-xs text-muted-foreground/40">—</span>+ <span className="text-caption text-muted-foreground/40">—</span></ListGridCell>);}@@ -236,7 +236,7 @@ function MembersCell({ squad }: { squad: Squad }) {</span>))}{overflow > 0 && (- <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-xs font-medium text-muted-foreground ring-2 ring-background">+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-muted text-caption font-medium text-muted-foreground ring-2 ring-background">+{overflow}</span>)}@@ -462,7 +462,7 @@ function SquadListToolbar({(filters.creators.length > 0 ? 1 : 0);const hasActiveFilters = activeFilterCount > 0;const countBadge = (n: number) => (- <span className="ml-auto pl-3 text-xs text-muted-foreground">{n}</span>+ <span className="ml-auto pl-3 text-caption text-muted-foreground">{n}</span>);const SCOPE_LABELS: Record<SquadsScope, string> = {mine: t(($) => $.scope.mine),@@ -497,7 +497,7 @@ function SquadListToolbar({onClick={() => onScopeChange(s)}>{SCOPE_LABELS[s]}- <span className="tabular-nums text-xs text-muted-foreground/70">+ <span className="tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></Button>@@ -524,7 +524,7 @@ function SquadListToolbar({{SQUAD_SCOPES.map((s) => (<DropdownMenuRadioItem key={s} value={s}>{SCOPE_LABELS[s]}- <span className="ml-2 tabular-nums text-xs text-muted-foreground/70">+ <span className="ml-2 tabular-nums text-caption text-muted-foreground/70">{scopeCounts[s]}</span></DropdownMenuRadioItem>@@ -536,7 +536,7 @@ function SquadListToolbar({{hasActiveFilters && (<spantitle={t(($) => $.toolbar.result_count_title)}- className="hidden shrink-0 text-xs tabular-nums text-muted-foreground md:inline"+ className="hidden shrink-0 text-caption tabular-nums text-muted-foreground md:inline">{visibleCount} / {totalCount}</span>@@ -592,7 +592,7 @@ function SquadListToolbar({<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.page.table.leader)}</span>{filters.leaders.length > 0 && (- <span className="text-xs font-medium text-primary">{filters.leaders.length}</span>+ <span className="text-caption font-medium text-primary">{filters.leaders.length}</span>)}</DropdownMenuSubTrigger><DropdownMenuSubContent className="max-h-72 w-auto min-w-48 overflow-y-auto">@@ -615,7 +615,7 @@ function SquadListToolbar({<DropdownMenuSubTrigger><span className="flex-1">{t(($) => $.page.table.creator)}</span>{filters.creators.length > 0 && (- <span className="text-xs font-medium text-primary">{filters.creators.length}</span>+ <span className="text-caption font-medium text-primary">{filters.creators.length}</span>)}</DropdownMenuSubTrigger><DropdownMenuSubContent className="max-h-72 w-auto min-w-48 overflow-y-auto">@@ -666,7 +666,7 @@ function SquadListToolbar({</Tooltip><PopoverContent align="end" className="w-64 p-0"><div className="border-b px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.sort_by)}</span><div className="mt-2 flex items-center gap-1.5">@@ -676,7 +676,7 @@ function SquadListToolbar({<Buttonvariant="outline"size="sm"- className="flex-1 justify-between text-xs"+ className="flex-1 justify-between text-caption">{sortLabel}<ChevronDown className="size-3 text-muted-foreground" />@@ -721,7 +721,7 @@ function SquadListToolbar({</div></div><div className="px-3 py-2.5">- <span className="text-xs font-medium text-muted-foreground">+ <span className="text-caption font-medium text-muted-foreground">{t(($) => $.toolbar.section_columns)}</span><div className="mt-2 space-y-2">@@ -730,7 +730,7 @@ function SquadListToolbar({key={key}className="flex cursor-pointer items-center justify-between">- <span className="text-sm">{COLUMN_LABELS[key]}</span>+ <span className="text-body">{COLUMN_LABELS[key]}</span><Switchsize="sm"checked={!hiddenColumns.includes(key)}@@ -955,7 +955,7 @@ export function SquadsPage() {isColVisible={isColVisible}/>{rows.length === 0 ? (- <div className="col-span-full py-16 text-center text-sm text-muted-foreground">+ <div className="col-span-full py-16 text-center text-body text-muted-foreground">{t(($) => $.page.no_matches)}</div>) : (@@ -982,7 +982,7 @@ export function SquadsPage() {actorId={squad.creator_id}size="sm"/>- <span className="min-w-0 truncate text-xs text-muted-foreground">+ <span className="min-w-0 truncate text-caption text-muted-foreground">{membersById.get(squad.creator_id)?.name ??squad.creator_id.slice(0, 8)}</span>@@ -991,7 +991,7 @@ export function SquadsPage() {<ListGridCell className="hidden px-0 @2xl:flex" />)}{isColVisible("created") ? (- <ListGridCell className="hidden whitespace-nowrap text-xs tabular-nums text-muted-foreground @2xl:flex">+ <ListGridCell className="hidden whitespace-nowrap text-caption tabular-nums text-muted-foreground @2xl:flex">{new Date(squad.created_at).toLocaleDateString()}</ListGridCell>) : (diff --git a/packages/views/workspace/create-workspace-form.tsx b/packages/views/workspace/create-workspace-form.tsxindex 944fea6f29..29e80f7b82 100644--- a/packages/views/workspace/create-workspace-form.tsx+++ b/packages/views/workspace/create-workspace-form.tsx@@ -101,7 +101,7 @@ export function CreateWorkspaceForm({ onSuccess }: CreateWorkspaceFormProps) {<div className="space-y-1.5"><Label htmlFor="ws-slug">{t(($) => $.create_form.url_label)}</Label><div className="flex items-center gap-0 rounded-md border bg-background focus-within:ring-2 focus-within:ring-ring">- <span className="pl-3 text-sm text-muted-foreground select-none">+ <span className="pl-3 text-body text-muted-foreground select-none">{`${urlHost}/`}</span><Input@@ -118,7 +118,7 @@ export function CreateWorkspaceForm({ onSuccess }: CreateWorkspaceFormProps) {/></div>{slugError && (- <p className="text-xs text-destructive">{slugError}</p>+ <p className="text-caption text-destructive">{slugError}</p>)}</div><Buttondiff --git a/packages/views/workspace/new-workspace-page.tsx b/packages/views/workspace/new-workspace-page.tsxindex b0afbbe4e1..7165b92bf6 100644--- a/packages/views/workspace/new-workspace-page.tsx+++ b/packages/views/workspace/new-workspace-page.tsx@@ -61,7 +61,7 @@ export function NewWorkspacePage({<div className="flex w-full max-w-md flex-col items-center gap-6">{workspaceCreationDisabled ? (<div className="text-center">- <h1 className="text-3xl font-semibold tracking-tight">+ <h1 className="text-display font-semibold tracking-tight">{t(($) => $.creation_disabled.title)}</h1><p className="mt-3 text-muted-foreground">@@ -71,7 +71,7 @@ export function NewWorkspacePage({) : (<><div className="text-center">- <h1 className="text-3xl font-semibold tracking-tight">+ <h1 className="text-display font-semibold tracking-tight">{t(($) => $.new_page.title)}</h1><p className="mt-3 text-muted-foreground">@@ -79,7 +79,7 @@ export function NewWorkspacePage({</p></div><CreateWorkspaceForm onSuccess={onSuccess} />- <p className="text-center text-xs text-muted-foreground">+ <p className="text-center text-caption text-muted-foreground">{t(($) => $.new_page.invite_hint)}</p></>diff --git a/packages/views/workspace/no-access-page.tsx b/packages/views/workspace/no-access-page.tsxindex f636f11e11..76b4a4ee35 100644--- a/packages/views/workspace/no-access-page.tsx+++ b/packages/views/workspace/no-access-page.tsx@@ -51,7 +51,7 @@ export function NoAccessPage() {<DragStrip /><div className="flex flex-1 flex-col items-center justify-center gap-6 px-6 pb-12 text-center"><div className="space-y-2">- <h1 className="text-2xl font-semibold tracking-tight">+ <h1 className="text-display-sm font-semibold tracking-tight">{t(($) => $.no_access.title)}</h1><p className="max-w-md text-muted-foreground">diff --git a/packages/views/workspace/welcome-after-onboarding.tsx b/packages/views/workspace/welcome-after-onboarding.tsxindex fcfbf67504..12da12b731 100644--- a/packages/views/workspace/welcome-after-onboarding.tsx+++ b/packages/views/workspace/welcome-after-onboarding.tsx@@ -510,12 +510,12 @@ function RuntimeWelcome({>🎉</div>- <DialogTitle className="text-center text-2xl font-semibold">+ <DialogTitle className="text-center text-display-sm font-semibold">{t(($) => $.welcome_after_onboarding.runtime.success.title)}</DialogTitle><DialogDescriptionid="welcome-after-onboarding-runtime-success-subtitle"- className="text-center text-sm text-muted-foreground"+ className="text-center text-body text-muted-foreground">{t(($) => $.welcome_after_onboarding.runtime.success.subtitle,@@ -523,12 +523,12 @@ function RuntimeWelcome({)}</DialogDescription><div className="mt-1 flex flex-col gap-1.5 max-w-sm">- <p className="text-center text-xs text-muted-foreground/80 leading-relaxed">+ <p className="text-center text-caption text-muted-foreground/80 leading-relaxed">{t(($) => $.welcome_after_onboarding.runtime.success.tip_inbox,)}</p>- <p className="text-center text-xs text-muted-foreground/80 leading-relaxed">+ <p className="text-center text-caption text-muted-foreground/80 leading-relaxed">{t(($) => $.welcome_after_onboarding.runtime.success.tip_chat,)}@@ -566,22 +566,22 @@ function RuntimeWelcome({aria-hiddenclassName="h-14 w-14 rounded-xl ring-1 ring-foreground/10"/>- <DialogTitle className="text-center text-xl font-semibold">+ <DialogTitle className="text-center text-title-lg font-semibold">{t(($) => $.welcome_after_onboarding.runtime.greeting)}</DialogTitle><DialogDescriptionid="welcome-after-onboarding-runtime-subtitle"- className="text-center text-sm text-muted-foreground"+ className="text-center text-body text-muted-foreground">{t(($) => $.welcome_after_onboarding.runtime.subtitle)}</DialogDescription>- <p className="text-center text-sm text-muted-foreground max-w-md leading-relaxed">+ <p className="text-center text-body text-muted-foreground max-w-md leading-relaxed">{t(($) => $.welcome_after_onboarding.runtime.capabilities)}</p></div><div className="mt-4 border-t pt-4">- <p className="mb-3 text-sm font-medium text-foreground">+ <p className="mb-3 text-body font-medium text-foreground">{t(($) => $.welcome_after_onboarding.runtime.section_label)}</p><div className="flex flex-col gap-2">@@ -603,10 +603,10 @@ function RuntimeWelcome({)}><div className="flex-1 min-w-0">- <p className="text-sm font-medium leading-tight">+ <p className="text-body font-medium leading-tight">{HELPER_STARTER_PROMPTS[id].title[lang]}</p>- <p className="mt-0.5 text-xs text-muted-foreground leading-snug">+ <p className="mt-0.5 text-caption text-muted-foreground leading-snug">{t(($) =>$.welcome_after_onboarding.runtime.cards[id]@@ -640,13 +640,13 @@ function RuntimeWelcome({{submitError ? (<divrole="alert"- className="rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-xs text-destructive"+ className="rounded-md border border-destructive/30 bg-destructive/10 px-3 py-2 text-caption text-destructive"><p>{submitError}</p><Buttonvariant="ghost"size="sm"- className="mt-1 h-6 px-2 text-xs"+ className="mt-1 h-6 px-2 text-caption"onClick={() => setSubmitError(null)}>{t(($) => $.welcome_after_onboarding.dismiss_error)}@@ -826,12 +826,12 @@ function SkipWelcome({ workspaceId, onDismiss }: SkipWelcomeProps) {<div className="text-6xl animate-welcome-emoji-pop" aria-hidden>🎉</div>- <DialogTitle className="text-center text-2xl font-semibold">+ <DialogTitle className="text-center text-display-sm font-semibold">{t(($) => $.welcome_after_onboarding.skip.title)}</DialogTitle><DialogDescriptionid="welcome-after-onboarding-skip-subtitle"- className="text-center text-sm text-muted-foreground max-w-md"+ className="text-center text-body text-muted-foreground max-w-md">{t(($) => $.welcome_after_onboarding.skip.subtitle)}</DialogDescription>@@ -880,12 +880,12 @@ function SkipPreviewCard({<div className="flex items-start gap-3 rounded-lg border bg-background px-3 py-2.5"><div className="flex-1 min-w-0"><div className="flex flex-wrap items-center gap-2">- <p className="text-sm font-medium leading-tight">+ <p className="text-body font-medium leading-tight">{t(($) => $.welcome_after_onboarding.skip.cards[cardKey].title)}</p><spanclassName={cn(- "rounded-full px-2 py-0.5 text-[11px] font-medium",+ "rounded-full px-2 py-0.5 text-micro font-medium",statusTone === "active"? "bg-primary/10 text-primary": "bg-muted text-muted-foreground",@@ -894,7 +894,7 @@ function SkipPreviewCard({{statusLabel}</span></div>- <p className="mt-1 text-xs text-muted-foreground leading-snug">+ <p className="mt-1 text-caption text-muted-foreground leading-snug">{t(($) => $.welcome_after_onboarding.skip.cards[cardKey].subtitle)}</p></div>@@ -911,7 +911,7 @@ function FullScreenLoading({ label }: { label: string }) {<div className="fixed inset-0 z-50 flex items-center justify-center bg-background/80 backdrop-blur-sm"><div className="flex flex-col items-center gap-3"><Loader2 className="h-6 w-6 animate-spin text-muted-foreground" />- <p className="text-sm text-muted-foreground">{label}</p>+ <p className="text-body text-muted-foreground">{label}</p></div></div>);@@ -936,10 +936,10 @@ function FullScreenError({<div className="fixed inset-0 z-50 flex items-center justify-center bg-background/80 backdrop-blur-sm"><div className="flex max-w-md flex-col items-center gap-4 rounded-lg border bg-card p-6 shadow-md"><AlertCircle className="h-6 w-6 text-destructive" />- <p className="text-center text-sm font-medium text-foreground">+ <p className="text-center text-body font-medium text-foreground">{title}</p>- <p className="text-center text-xs text-muted-foreground">{message}</p>+ <p className="text-center text-caption text-muted-foreground">{message}</p><div className="flex gap-2"><Button variant="outline" size="sm" onClick={onClose}>{closeLabel}diff --git a/packages/views/workspace/workspace-avatar.tsx b/packages/views/workspace/workspace-avatar.tsxindex ea256c0bd3..f98281f583 100644--- a/packages/views/workspace/workspace-avatar.tsx+++ b/packages/views/workspace/workspace-avatar.tsx@@ -2,9 +2,9 @@ import { resolvePublicFileUrl } from "@multica/core/workspace/avatar-url";import { cn } from "@multica/ui/lib/utils";const sizeMap = {- sm: "h-5 w-5 text-xs rounded-full",- md: "h-7 w-7 text-xs rounded-full",- lg: "h-9 w-9 text-sm rounded-full",+ sm: "h-5 w-5 text-caption rounded-full",+ md: "h-7 w-7 text-caption rounded-full",+ lg: "h-9 w-9 text-body rounded-full",} as const;interface WorkspaceAvatarProps {