Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.
Rust ai-agentsai-assistantai-botautomationbotbots-teamchatbotclaude-duetgrokgrok-botgrok-bot-alternativeharnessllmmulti-agentopenai-dotsopenbotpersonal-agentrustself-hostedselfhosted-ai
App look sweep: stock zinc/sky and off-theme colours become kwant tokens, with a guard (#767)
Oleksandr Ivanchenko0c187dc27123
diff --git a/frontend/scripts/retint-emerald-violet.mjs b/frontend/scripts/retint-emerald-violet.mjsnew file mode 100644index 00000000..7487100f--- /dev/null+++ b/frontend/scripts/retint-emerald-violet.mjs@@ -0,0 +1,141 @@+#!/usr/bin/env node+// Retint stock emerald to kwant teal/ok and stock violet to kwant sky (lavender) in frontend/src.+// Mira's ruling, Nov 16 2026: /home/maus/shared/ship-software-safely/autonomy/app-look-sweep/ruling.md+// The mapping lives below as data so this can be re-run after a rebase:+// node scripts/retint-emerald-violet.mjs emerald # commit 1: emerald -> teal / ok+// node scripts/retint-emerald-violet.mjs violet # commit 2: violet -> sky+// node scripts/retint-emerald-violet.mjs # both+// add --dry to print what would change without writing.+// Order matters: file-scoped hand rules first (exact strings), then role rules (buttons, focus, switches),+// then the plain shade map. Exempt by name: src/spaces.ts (user-picked space colours) and the holo conic+// gradient in src/styles/tickets.css (earned stickers only).+import { readFileSync, readdirSync, statSync, writeFileSync } from 'node:fs';+import { join, relative } from 'node:path';+import { fileURLToPath } from 'node:url';++const root = fileURLToPath(new URL('..', import.meta.url));+const src = join(root, 'src');+const args = process.argv.slice(2);+const dry = args.includes('--dry');+const only = args.find((a) => a === 'emerald' || a === 'violet');+const EXEMPT_FILES = ['src/spaces.ts', 'src/styles/tickets.css'];++// Tailwind variant prefix (hover:, focus-visible:, group-hover:, sm:, data-[x]:, ...), kept as is.+const V = String.raw`((?:[\w-]+(?:\[[^\]\s]*\])?:)*)`;+// An alpha suffix: /10, /[.22], /[0.05].+const A = String.raw`(\/(?:\d+|\[[\d.]+\]))?`;+const END = String.raw`(?![\w-])`;+const SOLID_OK = 'bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200';++// Each rule: [regex source, replacement (string or fn), note]. Regexes are global.+const RULES = {+ emerald: {+ // Hand rules: exact strings in named files (ruling: solid buttons, the Skills switch, the LetterView checkbox).+ hand: [+ ['src/components/ModernApprovalCard.tsx', 'bg-[#059669] hover:bg-emerald-500 text-[15px] sm:text-sm font-semibold text-white', 'bg-teal-300 hover:bg-teal-200 text-[15px] sm:text-sm font-semibold text-zinc-950', '"Allow once": 3.77:1 -> 12.7:1'],+ ['src/components/ReviewItemView.tsx', 'bg-[#059669] text-white hover:bg-emerald-500', SOLID_OK, 'btnAllow'],+ ['src/components/SkillsPanel.tsx', 'border-emerald-500/40 bg-emerald-600/80 text-white hover:bg-emerald-500', `border-teal-300/40 ${SOLID_OK}`, 'goBtn'],+ ['src/components/SkillsPanel.tsx', "'bg-emerald-500/70 border-emerald-400/60'", "'bg-sky-600 border-transparent'", 'on-switch: a control state, sky-600 like every other switch'],+ ['src/components/LetterView.tsx', 'accent-emerald-500', 'accent-sky-500', 'checkbox, like the 35 others'],+ ['src/components/SpaceReadyCard.tsx', "'bg-emerald-500 text-zinc-950'", "'bg-teal-300 text-zinc-950'", 'done step'],+ ],+ role: [+ // Solid buttons with white text, in the two orders the app writes them.+ [String.raw`bg-emerald-600(?:\/\d+)? text-white hover:bg-emerald-500${END}`, SOLID_OK, 'solid button'],+ [String.raw`bg-emerald-600(?:\/\d+)? hover:bg-emerald-500 text-white${END}`, SOLID_OK, 'solid button'],+ [String.raw`theme\((['"]?)colors\.emerald\.(\d+)\1\)`, (_m, q, n) => `theme(${q}colors.teal.${n}${q})`, 'css theme()'],+ ],+ shade: [+ // text: 300/400 are ok; with an alpha the same colour as a class that takes alpha.+ [String.raw`${V}text-emerald-(?:300|400)${A}${END}`, (_m, v, a) => (a ? `${v}text-teal-300${a}` : `${v}text-ok`)],+ [String.raw`${V}text-emerald-(50|100|200)${A}${END}`, (_m, v, n, a) => `${v}text-teal-${n}${a ?? ''}`],+ // dots: solid 400/500 are the ok status colour (kw-status-ok = bg-teal-300).+ [String.raw`${V}bg-emerald-(?:400|500)${END}(?!\/)`, (_m, v) => `${v}bg-teal-300`],+ // tints, borders and rings: teal-400 with the same alpha (the chip default is /10 and /30).+ [String.raw`${V}(bg|border|ring)-emerald-(?:300|400|500)${A}${END}`, (_m, v, p, a) => `${v}${p}-teal-400${a ?? ''}`],+ [String.raw`${V}(fill|stroke)-emerald-(?:300|400)${A}${END}`, (_m, v, p, a) => `${v}${p}-teal-300${a ?? ''}`],+ // Anything left keeps its shade in teal.+ [String.raw`${V}([\w-]+)-emerald-(\d+)${A}${END}`, (_m, v, p, n, a) => `${v}${p}-teal-${n}${a ?? ''}`],+ ],+ hex: [],+ },+ violet: {+ hand: [+ // The one main action of each view becomes the kit's primary button; size utilities stay (utilities beat components).+ ['src/components/SpaceDocsTab.tsx', 'inline-flex items-center justify-center gap-1.5 px-3 rounded-lg text-xs font-medium text-white bg-violet-600 hover:bg-violet-500 transition-colors motion-reduce:transition-none disabled:opacity-50 ${focusRing}', 'kw-btn-primary kw-focus px-3 rounded-lg text-xs motion-reduce:transition-none', '"Choose files"'],+ ['src/components/FirstRunWelcome.tsx', 'mt-6 inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium text-white bg-violet-600 hover:bg-violet-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300', 'kw-btn-primary kw-focus mt-6 gap-2 px-4 py-2 rounded-lg text-sm motion-reduce:transition-none', 'first-run main action'],+ ['src/components/EngineInstall.tsx', 'inline-flex items-center gap-1.5 px-2.5 py-1 min-h-[28px] rounded-md text-[11px] font-medium text-white bg-violet-600 hover:bg-violet-500 disabled:opacity-50 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300', 'kw-btn-primary kw-focus px-2.5 py-1 min-h-[28px] rounded-md text-[11px] motion-reduce:transition-none', 'Install'],+ ],+ role: [+ // Focus: the kit's ring colour (kw-focus = outline-sky-400).+ [String.raw`${V}(outline|ring|border)-violet-(?:300|400)${END}`, (m, v, p) => (/focus/.test(v) ? `${v}${p}-sky-400` : m), 'focus ring'],+ // Solid buttons and badges with white text: sky-600 (5.1:1).+ [String.raw`bg-violet-(?:500|600)(?:\/80)? text-white hover:bg-violet-(?:400|500)${END}`, 'bg-sky-600 text-white hover:bg-sky-500', 'solid button'],+ [String.raw`bg-violet-(?:500|600)(?:\/80)? text-white${END}`, 'bg-sky-600 text-white', 'solid button'],+ [String.raw`bg-violet-600 border-violet-400 text-white${END}`, 'bg-sky-600 border-sky-400 text-white', 'point toggle'],+ [String.raw`theme\((['"]?)colors\.violet\.(\d+)\1\)`, (_m, q, n) => `theme(${q}colors.sky.${n}${q})`, 'css theme()'],+ ],+ shade: [+ [String.raw`${V}text-violet-300${END}(?!\/)`, (_m, v) => `${v}text-info`],+ [String.raw`${V}([\w-]+)-violet-(\d+)${A}${END}`, (_m, v, p, n, a) => `${v}${p}-sky-${n}${a ?? ''}`],+ ],+ // Stock violet hex and rgb -> kwant sky of the same number.+ hex: [+ [String.raw`#a78bfa(?![0-9a-f])`, '#9d8fff'],+ [String.raw`#c4b5fd(?![0-9a-f])`, '#b8adff'],+ [String.raw`#ddd6fe(?![0-9a-f])`, '#d3ccff'],+ // Found by the guard, not in the ruling's list: light Perch in placeChip.css.+ [String.raw`#f5f3ff(?![0-9a-f])`, '#f3f1ff'],+ [String.raw`#ede9fe(?![0-9a-f])`, '#e8e4ff'],+ [String.raw`#8b5cf6(?![0-9a-f])`, '#8270f5'],+ [String.raw`#7c3aed(?![0-9a-f])`, '#6c58e0'],+ [String.raw`rgba?\(\s*167[\s,]+139[\s,]+250\b`, (m) => m.replace(/167([\s,]+)139([\s,]+)250/, '157$1143$2255')],+ ],+ },+};++function* walk(dir) {+ for (const name of readdirSync(dir)) {+ const p = join(dir, name);+ if (statSync(p).isDirectory()) {+ if (name !== 'generated' && name !== 'node_modules') yield* walk(p);+ } else if (/\.(ts|tsx|css)$/.test(name)) yield p;+ }+}++const families = only ? [only] : ['emerald', 'violet'];+let files = 0;+let edits = 0;+const missing = [];+for (const fam of families) {+ const r = RULES[fam];+ for (const [file, from, to, note] of r.hand) {+ const p = join(root, file);+ const text = readFileSync(p, 'utf8');+ if (!text.includes(from)) {+ if (!text.includes(to)) missing.push(`${file}: hand rule not found (${note})`);+ continue;+ }+ if (!dry) writeFileSync(p, text.split(from).join(to));+ edits++;+ }+}+for (const p of walk(src)) {+ const file = relative(root, p).split('\\').join('/');+ if (EXEMPT_FILES.includes(file)) continue;+ const before = readFileSync(p, 'utf8');+ let text = before;+ for (const fam of families) {+ const r = RULES[fam];+ for (const [re, to] of [...r.role, ...r.shade, ...r.hex]) text = text.replace(new RegExp(re, 'gi'), to);+ }+ if (text !== before) {+ files++;+ const n = before.split('\n').filter((l, i) => l !== text.split('\n')[i]).length;+ edits += n;+ console.log(`${dry ? 'would change' : 'changed'} ${file} (${n} line${n === 1 ? '' : 's'})`);+ if (!dry) writeFileSync(p, text);+ }+}+for (const m of missing) console.warn(`warning: ${m}`);+console.log(`${families.join(' + ')}: ${files} file(s), ${edits} line(s)${dry ? ' (dry run)' : ''}`);diff --git a/frontend/src/appsAccounts.ts b/frontend/src/appsAccounts.tsindex db68f7d4..7c7c5ff1 100644--- a/frontend/src/appsAccounts.ts+++ b/frontend/src/appsAccounts.ts@@ -28,11 +28,11 @@ export interface AppTile {/** The tiles, in order (brief: Gmail, Google Calendar, Slack, Notion, Shopify, GitHub). */export const APP_TILES: AppTile[] = [{ slug: 'gmail', tint: 'text-rose-300', name: 'Gmail', blurb: 'Read mail, write drafts', can: ['Read and search your mail', 'Write drafts for you to check'], acts: 'Send mail' },- { slug: 'googlecalendar', tint: 'text-blue-300', name: 'Google Calendar', blurb: 'See and add events', can: ['See your calendar', 'Find free time'], acts: 'Add or move events' },+ { slug: 'googlecalendar', tint: 'text-sky-300', name: 'Google Calendar', blurb: 'See and add events', can: ['See your calendar', 'Find free time'], acts: 'Add or move events' },{ slug: 'slack', tint: 'text-amber-200', name: 'Slack', blurb: 'Read and post messages', can: ['Read channels and threads', 'Search messages'], acts: 'Post messages' },{ slug: 'notion', tint: 'text-zinc-200', name: 'Notion', blurb: 'Read and edit pages', can: ['Read and search your pages', 'Draft new pages'], acts: 'Change or delete pages' },- { slug: 'shopify', tint: 'text-emerald-300', name: 'Shopify', blurb: 'Orders and products', can: ['See orders, products and customers', 'Look up stock'], acts: 'Change orders or products' },- { slug: 'github', tint: 'text-violet-200', name: 'GitHub', blurb: 'Issues and pull requests', can: ['Read repositories, issues and pull requests', 'Draft issues and comments'], acts: 'Post, merge or close' },+ { slug: 'shopify', tint: 'text-ok', name: 'Shopify', blurb: 'Orders and products', can: ['See orders, products and customers', 'Look up stock'], acts: 'Change orders or products' },+ { slug: 'github', tint: 'text-sky-200', name: 'GitHub', blurb: 'Issues and pull requests', can: ['Read repositories, issues and pull requests', 'Draft issues and comments'], acts: 'Post, merge or close' },];/** A search hit opened in the sheet: what we can say about an app we have no copy for. */diff --git a/frontend/src/botStatus.ts b/frontend/src/botStatus.tsindex f0a6cc53..15c358bb 100644--- a/frontend/src/botStatus.ts+++ b/frontend/src/botStatus.ts@@ -65,7 +65,7 @@ export const STATUS_DOT: Record<BotStatus, string> = {working: 'bg-[#9d8fff] animate-pulse motion-reduce:animate-none',queued: 'bg-zinc-950 border-2 border-zinc-400',cant_run: 'bg-zinc-600',- available: 'bg-emerald-400',+ available: 'bg-teal-300',};/**diff --git a/frontend/src/components/ActivityList.tsx b/frontend/src/components/ActivityList.tsxindex 841cb902..36dbd5da 100644--- a/frontend/src/components/ActivityList.tsx+++ b/frontend/src/components/ActivityList.tsx@@ -34,7 +34,7 @@ const StatusIcon: React.FC<{ step: ActivityStep }> = ({ step }) => {switch (step.status) {case 'running':return step.kind === 'thinking' ? (- <Brain size={13} className="text-violet-300 animate-pulse motion-reduce:animate-none" />+ <Brain size={13} className="text-info animate-pulse motion-reduce:animate-none" />) : (<Loader2 size={13} className="text-sky-300 animate-spin motion-reduce:animate-none" />);@@ -42,7 +42,7 @@ const StatusIcon: React.FC<{ step: ActivityStep }> = ({ step }) => {return step.kind === 'approval' ? <ShieldQuestion size={13} className="text-amber-300" /> : <Hand size={13} className="text-amber-300" />;case 'ok':case 'done':- return step.kind === 'thinking' ? <Brain size={13} className="text-violet-300/80" /> : <Check size={13} className="text-emerald-300" />;+ return step.kind === 'thinking' ? <Brain size={13} className="text-sky-300/80" /> : <Check size={13} className="text-ok" />;case 'failed':return <X size={13} className="text-rose-300" />;case 'declined':@@ -97,7 +97,7 @@ const ThinkingBox: React.FC<{ text: string; live: boolean; id: string }> = ({ teconst el = e.currentTarget;stick.current = el.scrollHeight - el.scrollTop - el.clientHeight < 24;}}- className="mt-1 max-h-56 overflow-y-auto rounded-lg bg-zinc-950/80 border border-zinc-800 px-3 py-2 text-xs text-zinc-300 whitespace-pre-wrap break-words leading-relaxed focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400"+ className="mt-1 max-h-56 overflow-y-auto rounded-lg bg-zinc-950/80 border border-zinc-800 px-3 py-2 text-xs text-zinc-300 whitespace-pre-wrap break-words leading-relaxed focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400"aria-label="Thinking">{text || <span className="text-zinc-400 italic">Nothing shared yet…</span>}@@ -157,7 +157,7 @@ const StepRow: React.FC<{ step: ActivityStep; live?: LiveActivity; now: number;aria-expanded={open}aria-controls={open ? boxId : undefined}disabled={!text && !running}- className="w-full flex items-start gap-2 text-left rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400 disabled:cursor-default"+ className="w-full flex items-start gap-2 text-left rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 disabled:cursor-default">{head}{(text || running) && (diff --git a/frontend/src/components/ApiKeysPanel.tsx b/frontend/src/components/ApiKeysPanel.tsxindex 1e25f101..f5d30172 100644--- a/frontend/src/components/ApiKeysPanel.tsx+++ b/frontend/src/components/ApiKeysPanel.tsx@@ -94,7 +94,7 @@ export const ApiKeysPanel: React.FC<{ onSaved?: () => void; defaultOpen?: booleaonClick={() => setOpen((v) => !v)}className="w-full flex items-center gap-2 p-3 text-left rounded-xl focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400">- <Key size={14} className="text-violet-400" aria-hidden="true" />+ <Key size={14} className="text-sky-400" aria-hidden="true" /><span className="flex-1"><span className="block text-xs font-medium text-zinc-200">API keys and Ollama</span><span className="block text-[11px] text-zinc-500">@@ -151,11 +151,11 @@ export const ApiKeysPanel: React.FC<{ onSaved?: () => void; defaultOpen?: boolea)}<div className="flex items-center justify-end gap-2">{saved && (- <span role="status" className="flex items-center gap-1 text-xs text-emerald-400">+ <span role="status" className="flex items-center gap-1 text-xs text-ok"><Check size={13} /> Saved for every space</span>)}- <button type="submit" disabled={saving} className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50">+ <button type="submit" disabled={saving} className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50">{saving ? 'Saving…' : 'Save keys'}</button></div>diff --git a/frontend/src/components/AppUpdateBanner.tsx b/frontend/src/components/AppUpdateBanner.tsxindex bf3eeec6..6b23375f 100644--- a/frontend/src/components/AppUpdateBanner.tsx+++ b/frontend/src/components/AppUpdateBanner.tsx@@ -35,7 +35,7 @@ export const AppUpdateBannerView: React.FC<ViewProps> = ({ view, onUpdate, onDisview.kind === 'error'? 'border-amber-500/30 bg-amber-500/10': view.kind === 'updated'- ? 'border-emerald-500/30 bg-emerald-500/10'+ ? 'border-teal-400/30 bg-teal-400/10': 'border-sky-500/30 bg-sky-500/10';return (@@ -47,7 +47,7 @@ export const AppUpdateBannerView: React.FC<ViewProps> = ({ view, onUpdate, onDis<Loader2 size={15} className="shrink-0 animate-spin text-sky-300 motion-reduce:animate-none" aria-hidden="true" />)}{view.kind === 'error' && <AlertTriangle size={15} className="shrink-0 text-amber-300" aria-hidden="true" />}- {view.kind === 'updated' && <CheckCircle2 size={15} className="shrink-0 text-emerald-300" aria-hidden="true" />}+ {view.kind === 'updated' && <CheckCircle2 size={15} className="shrink-0 text-ok" aria-hidden="true" />}<span className="min-w-0">{view.kind === 'available' && (<>@@ -89,7 +89,7 @@ export const AppUpdateBannerView: React.FC<ViewProps> = ({ view, onUpdate, onDis<ExternalLink size={13} aria-hidden="true" /> Download manually</a>)}- <button type="button" onClick={onUpdate} className={`${btn} bg-sky-600 text-white hover:bg-sky-500`}>+ <button type="button" onClick={onUpdate} className={`${btn} bg-sky-600 text-white hover:bg-sky-700`}>{view.kind === 'error' ? <RotateCw size={13} aria-hidden="true" /> : <ArrowUpCircle size={13} aria-hidden="true" />}{view.kind === 'error' ? 'Try again' : 'Update and restart'}</button>@@ -117,7 +117,7 @@ export const AppUpdateBannerView: React.FC<ViewProps> = ({ view, onUpdate, onDistype="button"onClick={onWhatsNew}data-see-whats-new- className={`${btn} min-h-[28px] h-7 border border-emerald-300/35 px-2.5 text-emerald-200 hover:bg-emerald-500/15 hover:text-emerald-50`}+ className={`${btn} min-h-[28px] h-7 border border-teal-400/35 px-2.5 text-teal-200 hover:bg-teal-400/15 hover:text-teal-50`}>See what’s new</button>diff --git a/frontend/src/components/ApproveRow.tsx b/frontend/src/components/ApproveRow.tsxindex 4466427e..0065d466 100644--- a/frontend/src/components/ApproveRow.tsx+++ b/frontend/src/components/ApproveRow.tsx@@ -26,7 +26,7 @@ export const ApproveRow: React.FC<{onClick={onApprove}disabled={busy}data-approve=""- className={`inline-flex items-center justify-center gap-1.5 bg-accent-gradient text-white shadow-card transition-[filter] duration-[120ms] hover:brightness-110 motion-reduce:transition-none ${size} ${ring}`}+ className={`inline-flex items-center justify-center gap-1.5 bg-accent-gradient kw-hover-deepen text-white shadow-card ${size} ${ring}`}><Check size={14} aria-hidden="true" />Approvediff --git a/frontend/src/components/AppsAccounts.tsx b/frontend/src/components/AppsAccounts.tsxindex b8de1ad7..b416f669 100644--- a/frontend/src/components/AppsAccounts.tsx+++ b/frontend/src/components/AppsAccounts.tsx@@ -43,7 +43,7 @@ const keyUrlOf = (e: CatalogEntry | undefined) => (e?.key_url && /^https:\/\//.tconst btn ='inline-flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[32px] px-3 py-1 rounded-lg text-xs font-medium transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';const quietBtn = `${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;-const primaryBtn = `${btn} bg-sky-600 text-white hover:bg-sky-500`;+const primaryBtn = `${btn} bg-sky-600 text-white hover:bg-sky-700`;const linkBtn ='inline-flex items-center gap-1 min-h-[44px] sm:min-h-[32px] text-xs font-medium text-sky-300 hover:text-sky-200 underline-offset-2 hover:underline rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';const field =@@ -52,11 +52,11 @@ const sectionTitle = 'text-xs font-semibold text-zinc-300 uppercase tracking-widconst errText = (e: unknown) => (e instanceof Error ? e.message : 'Something went wrong.');-export const AppMark: React.FC<{ name: string; size?: number; tint?: string }> = ({ name, size = 36, tint = 'text-violet-100' }) => (+export const AppMark: React.FC<{ name: string; size?: number; tint?: string }> = ({ name, size = 36, tint = 'text-sky-100' }) => (<spanaria-hidden="true"data-app-mark-tint={tint}- className={`shrink-0 inline-flex items-center justify-center rounded-lg font-semibold ${tint} border border-violet-400/20`}+ className={`shrink-0 inline-flex items-center justify-center rounded-lg font-semibold ${tint} border border-sky-400/20`}style={{ background: TILE_BG, width: size, height: size, fontSize: size * 0.36 }}>{appInitials(name)}@@ -112,7 +112,7 @@ const Step: React.FC<{ n: 1 | 2 | 3; label?: number | null; title: string; done:<spanaria-hidden="true"className={`shrink-0 mt-0.5 w-6 h-6 rounded-full inline-flex items-center justify-center text-[11px] font-semibold ${- done ? 'bg-emerald-500/20 text-emerald-200 border border-emerald-500/40' : 'bg-zinc-800 text-zinc-200 border border-zinc-700'+ done ? 'bg-teal-400/20 text-teal-200 border border-teal-400/40' : 'bg-zinc-800 text-zinc-200 border border-zinc-700'}`}>{done ? <Check size={12} /> : label}@@ -289,7 +289,7 @@ export const ConnectSheet: React.FC<ConnectSheetProps> = ({ app, composio, kwant<ul className="space-y-1">{(app?.can ?? ['Use the apps you connect on Composio']).map((c) => (<li key={c} className="flex items-start gap-2 text-xs text-zinc-300">- <Check size={13} className="mt-px shrink-0 text-emerald-400" aria-hidden="true" />+ <Check size={13} className="mt-px shrink-0 text-ok" aria-hidden="true" />{c}</li>))}@@ -342,7 +342,7 @@ export const ConnectSheet: React.FC<ConnectSheetProps> = ({ app, composio, kwant</button></div>{serverId ? (- <span className="inline-flex items-center gap-1 text-xs text-emerald-300" data-sheet-key-added>+ <span className="inline-flex items-center gap-1 text-xs text-ok" data-sheet-key-added><Check size={13} aria-hidden="true" /> Key added</span>) : (@@ -374,7 +374,7 @@ export const ConnectSheet: React.FC<ConnectSheetProps> = ({ app, composio, kwant{signingIn ? <Loader2 size={12} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <ExternalLink size={12} aria-hidden="true" />}{signInOpened ? `Open ${app.name} sign-in again` : `Sign in to ${app.name}`}</button>- {signInOpened && <p className="text-[11px] text-emerald-200">Opened. Finish there, then choose the bots below.</p>}+ {signInOpened && <p className="text-[11px] text-teal-200">Opened. Finish there, then choose the bots below.</p>}</>) : !ready ? (<p className="text-[11px] text-zinc-400">Add your key first, then sign in to {app.name} here.</p>@@ -636,7 +636,7 @@ export const AppsAccounts: React.FC<AppsAccountsProps> = (p) => {{notice && (<pclassName={`flex items-start gap-2 px-3 py-2 rounded-lg border text-xs ${- notice.tone === 'ok' ? 'border-emerald-500/30 bg-emerald-500/10 text-emerald-100' : 'border-zinc-700 bg-zinc-900/60 text-zinc-200'+ notice.tone === 'ok' ? 'border-teal-400/30 bg-teal-400/10 text-teal-100' : 'border-zinc-700 bg-zinc-900/60 text-zinc-200'}`}data-apps-notice={notice.tone}>@@ -693,7 +693,7 @@ export const AppsAccounts: React.FC<AppsAccountsProps> = (p) => {<span className="block text-[11px] text-zinc-500 line-clamp-2" title={t.blurb}>{t.blurb}</span></span></span>- <span className={`mt-auto text-[11px] font-medium ${connected ? 'text-emerald-300' : unknowable ? 'text-zinc-300' : 'text-sky-300'}`} data-tile-state={connected ? 'connected' : unknowable ? 'unknown' : 'connect'}>+ <span className={`mt-auto text-[11px] font-medium ${connected ? 'text-ok' : unknowable ? 'text-zinc-300' : 'text-sky-300'}`} data-tile-state={connected ? 'connected' : unknowable ? 'unknown' : 'connect'}>{load.state === 'loading' ? 'Checking…' : connected ? '✓ Connected · Choose bots' : unknowable ? 'Sign in or choose bots' : 'Connect'}<span className="sr-only"> {t.name}</span></span>diff --git a/frontend/src/components/Attachments.tsx b/frontend/src/components/Attachments.tsxindex 295bb4e8..6d6f2d3b 100644--- a/frontend/src/components/Attachments.tsx+++ b/frontend/src/components/Attachments.tsx@@ -72,7 +72,7 @@ export const FileTile: React.FC<{e.preventDefault();setViewing(true);}}- className="block cursor-zoom-in focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-violet-400"+ className="block cursor-zoom-in focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-sky-400"><imgsrc={attachmentUrl(file.id)}@@ -204,7 +204,7 @@ export const ImageViewer: React.FC<{type="button"onClick={onClose}aria-label="Close"- className="absolute right-2 z-10 inline-flex items-center justify-center w-11 h-11 rounded-full bg-zinc-900/80 text-zinc-100 hover:bg-zinc-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-400"+ className="absolute right-2 z-10 inline-flex items-center justify-center w-11 h-11 rounded-full bg-zinc-900/80 text-zinc-100 hover:bg-zinc-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400"style={{ top: 'calc(env(safe-area-inset-top, 0px) + 0.5rem)' }}><X size={20} aria-hidden="true" />@@ -235,7 +235,7 @@ export const ImageViewer: React.FC<{href={url}target="_blank"rel="noopener"- className="inline-flex items-center gap-1.5 shrink-0 min-h-[44px] px-3 rounded-lg text-xs font-medium text-sky-300 hover:bg-white/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400"+ className="inline-flex items-center gap-1.5 shrink-0 min-h-[44px] px-3 rounded-lg text-xs font-medium text-sky-300 hover:bg-white/10 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400"><ExternalLink size={14} aria-hidden="true" />Open original@@ -273,7 +273,7 @@ export const EarlierCopies: React.FC<{aria-label={open ? `Hide earlier copies of ${fileName}` : `Show ${hidden} earlier ${hidden === 1 ? 'copy' : 'copies'} of ${fileName}`}onClick={() => setOpen((o) => !o)}// 44 px tall hit area on phones from padding; the text stays 12 px- className="block text-left py-3.5 sm:py-1 text-xs text-zinc-400 hover:text-zinc-200 rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400"+ className="block text-left py-3.5 sm:py-1 text-xs text-zinc-400 hover:text-zinc-200 rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400">{open ? 'Hide earlier' : `Shared ${hidden + 1} times · Show ${hidden} earlier`}</button>@@ -407,13 +407,13 @@ export const PointRow: React.FC<{ file: AttachmentRef; sharedBy?: string; at?: sconst fullName = pickTitle(p);const picture = p.picture && isInlineImage(file.mime) && !broken;return (- <div data-point-row="" className="flex items-center gap-2.5 max-w-full sm:max-w-[420px] p-1.5 pr-3 rounded-[10px] border border-violet-400/30 bg-violet-500/[0.08]">+ <div data-point-row="" className="flex items-center gap-2.5 max-w-full sm:max-w-[420px] p-1.5 pr-3 rounded-[10px] border border-sky-400/30 bg-sky-500/[0.08]">{picture ? (<buttontype="button"onClick={() => setOpen(true)}aria-label={`Open the picture of ${name}`}- className="shrink-0 w-16 h-[42px] rounded-md overflow-hidden border border-white/10 bg-[#0a0719] focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300"+ className="shrink-0 w-16 h-[42px] rounded-md overflow-hidden border border-white/10 bg-[#0a0719] focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400"><img src={attachmentUrl(file.id)} alt="" loading="lazy" onError={() => setBroken(true)} className="w-full h-full object-contain" /></button>@@ -447,11 +447,11 @@ export const PointChip: React.FC<{ item: PendingUpload; onRemove: () => void }><lidata-point-chip={capturing ? 'capturing' : warn ? 'no-picture' : pick?.frame?.cross_site ? 'frame' : 'ready'}className={`relative inline-flex items-center h-10 gap-2 w-full sm:w-auto sm:max-w-[320px] rounded-[10px] border pl-1 pr-1.5 ${- warn ? 'border-amber-400/45 bg-amber-500/10' : 'border-violet-400/35 bg-violet-500/10'+ warn ? 'border-amber-400/45 bg-amber-500/10' : 'border-sky-400/35 bg-sky-500/10'}`}>{capturing ? (- <span className="shrink-0 w-11 h-[30px] rounded-md bg-violet-400/20 motion-safe:animate-pulse" aria-hidden="true" />+ <span className="shrink-0 w-11 h-[30px] rounded-md bg-sky-400/20 motion-safe:animate-pulse" aria-hidden="true" />) : thumb ? (<img src={thumb} alt="" className="shrink-0 w-11 h-[30px] rounded-md object-contain bg-[#0a0719] border border-white/10" />) : (@@ -471,7 +471,7 @@ export const PointChip: React.FC<{ item: PendingUpload; onRemove: () => void }>type="button"onClick={onRemove}aria-label={removeText(name)}- className="relative shrink-0 w-6 h-6 inline-flex items-center justify-center rounded text-zinc-400 hover:text-white hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300 before:absolute before:-inset-[10px] before:content-['']"+ className="relative shrink-0 w-6 h-6 inline-flex items-center justify-center rounded text-zinc-400 hover:text-white hover:bg-white/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400 before:absolute before:-inset-[10px] before:content-['']"><X size={12} aria-hidden="true" /></button>diff --git a/frontend/src/components/AuthGate.tsx b/frontend/src/components/AuthGate.tsxindex 5a227481..a4d7007d 100644--- a/frontend/src/components/AuthGate.tsx+++ b/frontend/src/components/AuthGate.tsx@@ -274,7 +274,7 @@ const Command: React.FC<{ children: string }> = ({ children }) => {aria-label={copied ? 'Copied' : `Copy: ${children}`}className="shrink-0 p-1.5 rounded text-zinc-500 hover:text-zinc-200 hover:bg-zinc-800 transition-colors">- {copied ? <Check size={12} className="text-emerald-400" /> : <Copy size={12} />}+ {copied ? <Check size={12} className="text-ok" /> : <Copy size={12} />}</button></div>);@@ -411,7 +411,7 @@ export const TokenForm: React.FC<{<buttontype="submit"disabled={busy || !token.trim()}- className="shrink-0 flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-0 px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50"+ className="shrink-0 flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-0 px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50">{busy && <Loader2 size={13} className="animate-spin motion-reduce:animate-none" />} Continue</button>diff --git a/frontend/src/components/AvatarMood.tsx b/frontend/src/components/AvatarMood.tsxindex 78f5fbba..38e080b8 100644--- a/frontend/src/components/AvatarMood.tsx+++ b/frontend/src/components/AvatarMood.tsx@@ -115,7 +115,7 @@ export const AvatarMoodMark: React.FC<AvatarMoodProps> = ({ mood, size }) => {return (<spanclassName="kw-mood-small pointer-events-none absolute rounded-full"- style={{ top: -1, right: -1, width: 6, height: 6, background: MOOD_GLYPHS.needs_you.color, boxShadow: '0 0 0 1.5px var(--kw-avatar-cut, #27272a)' }}+ style={{ top: -1, right: -1, width: 6, height: 6, background: MOOD_GLYPHS.needs_you.color, boxShadow: '0 0 0 1.5px var(--kw-avatar-cut, var(--kw-surface-side))' }}aria-hidden="true"data-mood={mood}data-mood-dot=""diff --git a/frontend/src/components/AwayView.tsx b/frontend/src/components/AwayView.tsxindex 7872609f..f487a415 100644--- a/frontend/src/components/AwayView.tsx+++ b/frontend/src/components/AwayView.tsx@@ -26,7 +26,7 @@ import {const TONES: Record<Tone, string> = {amber: 'border-amber-500/30 bg-amber-500/10 text-amber-200',- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-200',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-200',sky: 'border-sky-500/30 bg-sky-500/10 text-sky-200',zinc: 'border-zinc-700 bg-zinc-800 text-zinc-300',@@ -34,7 +34,7 @@ const TONES: Record<Tone, string> = {const SECTION_ICON: Record<AwaySection, React.ReactNode> = {waiting: <Inbox size={13} className="text-amber-300" aria-hidden="true" />,- finished: <CheckCircle2 size={13} className="text-emerald-400" aria-hidden="true" />,+ finished: <CheckCircle2 size={13} className="text-ok" aria-hidden="true" />,failed: <AlertTriangle size={13} className="text-rose-400" aria-hidden="true" />,};@@ -183,8 +183,8 @@ export const AwayView: React.FC<AwayViewProps> = ({ data, loading, error, noticenotice.error? 'border-amber-500/30 bg-amber-500/10 text-amber-200': notice.info- ? 'border-slate-500/30 bg-slate-500/10 text-slate-200'- : 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200'+ ? 'border-zinc-500/30 bg-zinc-500/10 text-zinc-200'+ : 'border-teal-400/30 bg-teal-400/10 text-teal-200'}`}>{notice.text}@@ -200,7 +200,7 @@ export const AwayView: React.FC<AwayViewProps> = ({ data, loading, error, notice{data && empty && (<div className="py-16 flex flex-col items-center text-center gap-2">- <CheckCircle2 size={28} className="text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={28} className="text-ok" aria-hidden="true" /><p className="text-sm font-medium text-zinc-200">You're all caught up</p><p className="text-xs text-zinc-500 max-w-xs">Nothing new since you last looked. Questions, approvals and finished work will show up here.</p></div>diff --git a/frontend/src/components/BotActionCard.tsx b/frontend/src/components/BotActionCard.tsxindex 647da6b4..a5c004d0 100644--- a/frontend/src/components/BotActionCard.tsx+++ b/frontend/src/components/BotActionCard.tsx@@ -54,7 +54,7 @@ export const BotActionCard: React.FC<BotActionCardProps> = ({ meta, messageId, kconst reason = view.status === 'pending' && typeof view.details.reason === 'string' ? view.details.reason : '';const isRoutine = view.target_kind === 'routine';const resolved = view.status === 'undone' || view.status === 'declined';- const border = view.status === 'pending' ? 'border-amber-500/40' : resolved || gone ? 'border-zinc-800' : 'border-emerald-500/25';+ const border = view.status === 'pending' ? 'border-amber-500/40' : resolved || gone ? 'border-zinc-800' : 'border-teal-400/25';const Icon = view.status === 'pending' ? ShieldQuestion : isRoutine ? CalendarClock : Wrench;return (@@ -94,7 +94,7 @@ export const BotActionCard: React.FC<BotActionCardProps> = ({ meta, messageId, k<div className="px-4 pb-3 pt-0.5 space-y-2"><p role="status" aria-live="polite" className="text-[11px]"><span- className={`inline-flex items-center gap-1.5 ${state.tone === 'ok' ? 'text-emerald-300' : state.tone === 'wait' ? 'text-amber-200' : 'text-zinc-400'}`}+ className={`inline-flex items-center gap-1.5 ${state.tone === 'ok' ? 'text-ok' : state.tone === 'wait' ? 'text-amber-200' : 'text-zinc-400'}`}>{state.tone === 'ok' ? (<CheckCircle2 size={13} aria-hidden="true" />diff --git a/frontend/src/components/BotBudget.tsx b/frontend/src/components/BotBudget.tsxindex 6db4a608..776cee32 100644--- a/frontend/src/components/BotBudget.tsx+++ b/frontend/src/components/BotBudget.tsx@@ -255,7 +255,7 @@ export const BudgetNeedsYou: React.FC<{ onRaise?: (kwantId: string) => void; sen<div className="min-w-0 flex-1 basis-56">{done ? (<p id={id} className="flex items-start gap-2 text-sm text-zinc-300 break-words">- <Check size={15} className="mt-0.5 shrink-0 text-emerald-400" aria-hidden="true" />+ <Check size={15} className="mt-0.5 shrink-0 text-ok" aria-hidden="true" /><span className="min-w-0">{`${b.kwant_name} can start new work again.`}</span></p>) : (@@ -510,7 +510,7 @@ export const BotBudgetSection: React.FC<{ kwantId: string; kwantName: string; seClear limits</button>)}- <span role="status" aria-live="polite" className="text-[11px] text-emerald-300">+ <span role="status" aria-live="polite" className="text-[11px] text-ok">{saved}</span></div>diff --git a/frontend/src/components/BotHome.tsx b/frontend/src/components/BotHome.tsxindex 7c89a99d..1eec98ed 100644--- a/frontend/src/components/BotHome.tsx+++ b/frontend/src/components/BotHome.tsx@@ -53,7 +53,7 @@ export const AccountCard: React.FC<{ onOpenAccounts?: () => void }> = ({ onOpenAtype="button"onClick={onOpenAccounts}data-connect-account- className="inline-flex h-11 w-full items-center justify-center rounded-xl bg-gradient-to-b from-[#7a62f0] to-[#5b47d6] px-4 text-body font-semibold text-white hover:brightness-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-[#120e26] sm:h-9 sm:w-auto"+ className="inline-flex h-11 w-full items-center justify-center rounded-xl bg-accent-gradient kw-hover-deepen px-4 text-body font-semibold text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-[#120e26] sm:h-9 sm:w-auto">Connect an account</button>diff --git a/frontend/src/components/BrowsedChip.tsx b/frontend/src/components/BrowsedChip.tsxindex 586096ac..094e1f3c 100644--- a/frontend/src/components/BrowsedChip.tsx+++ b/frontend/src/components/BrowsedChip.tsx@@ -14,7 +14,7 @@ export const BrowsedChip = React.forwardRef<const pages = pagesOfReply(steps);if (pages.length === 0) return null;const t = browsedChipText(botName, pages, live);- const tone = live ? 'bg-emerald-400/[0.08] border-emerald-400/40' : 'bg-sky-400/10 border-sky-400/35';+ const tone = live ? 'bg-teal-400/[0.08] border-teal-400/40' : 'bg-sky-400/10 border-sky-400/35';return (<buttonref={ref}@@ -25,7 +25,7 @@ export const BrowsedChip = React.forwardRef<className={`inline-flex max-w-full min-w-0 items-center gap-1.5 ${phone ? 'h-8' : 'h-7'} pl-2 pr-2.5 rounded-full border ${tone} text-[13px] font-medium text-zinc-100 transition-colors hover:brightness-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-[#120e26]`}>{live ? (- <span aria-hidden="true" className="shrink-0 w-2 h-2 rounded-full bg-emerald-400 ring-[3px] ring-emerald-400/20 animate-[pulse_1.2s_ease-in-out_infinite] motion-reduce:animate-none" />+ <span aria-hidden="true" className="shrink-0 w-2 h-2 rounded-full bg-teal-300 ring-[3px] ring-teal-400/20 animate-[pulse_1.2s_ease-in-out_infinite] motion-reduce:animate-none" />) : (<Globe size={14} aria-hidden="true" className="shrink-0 text-sky-300" />)}diff --git a/frontend/src/components/ChannelInstructionsModal.tsx b/frontend/src/components/ChannelInstructionsModal.tsxindex dbc8c23f..2fc22f0c 100644--- a/frontend/src/components/ChannelInstructionsModal.tsx+++ b/frontend/src/components/ChannelInstructionsModal.tsx@@ -88,7 +88,7 @@ export const ChannelInstructionsModal: React.FC<{<buttontype="submit"disabled={saving || over}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-50"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-50">{saving ? 'Saving…' : 'Save'}</button>diff --git a/frontend/src/components/ChatView.tsx b/frontend/src/components/ChatView.tsxindex 7a52cf29..65b59014 100644--- a/frontend/src/components/ChatView.tsx+++ b/frontend/src/components/ChatView.tsx@@ -474,15 +474,15 @@ const LayaRoutingCard: React.FC<{ routing: RoutingState; spaceName?: string }> =return (<div className="flex items-start gap-3.5 w-full max-w-5xl" aria-live="polite">- <div className="w-[34px] h-[34px] flex-shrink-0 rounded-full bg-violet-500/15 border border-violet-500/40 flex items-center justify-center shadow-sm shadow-violet-500/10">- <Sparkles size={16} className={`text-violet-300 ${deciding ? 'animate-pulse' : ''}`} />+ <div className="w-[34px] h-[34px] flex-shrink-0 rounded-full bg-sky-500/15 border border-sky-500/40 flex items-center justify-center shadow-sm shadow-sky-500/10">+ <Sparkles size={16} className={`text-info ${deciding ? 'animate-pulse' : ''}`} /></div><div className="flex flex-col items-start min-w-0 flex-1 max-w-4xl"><div className="flex items-center gap-2 mb-1.5 text-[11px] text-zinc-400 font-medium"><span className="text-zinc-200">Laya</span><span className="text-zinc-500">· router</span></div>- <div className="px-4 py-3 rounded-2xl rounded-tl-sm bg-violet-950/20 border border-violet-500/20 text-sm text-zinc-200 shadow-sm w-full">+ <div className="px-4 py-3 rounded-2xl rounded-tl-sm bg-sky-950/20 border border-sky-500/20 text-sm text-zinc-200 shadow-sm w-full">{deciding ? (<div className="flex items-center gap-2"><span>@@ -492,7 +492,7 @@ const LayaRoutingCard: React.FC<{ routing: RoutingState; spaceName?: string }> ={[0, 1, 2].map((i) => (<spankey={i}- className="w-1 h-1 rounded-full bg-violet-300 animate-bounce"+ className="w-1 h-1 rounded-full bg-sky-300 animate-bounce"style={{ animationDelay: `${i * 150}ms` }}/>))}@@ -502,7 +502,7 @@ const LayaRoutingCard: React.FC<{ routing: RoutingState; spaceName?: string }> =<div className="flex flex-col gap-0.5"><div className="flex items-center gap-1.5 flex-wrap"><span>{isDiscuss ? 'Starting a team discussion led by' : 'Sending your question to'}</span>- <span className="font-semibold text-violet-200">{routing.kwantName}</span>+ <span className="font-semibold text-sky-200">{routing.kwantName}</span>{routing.kwantTitle && <span className="text-zinc-400 text-xs">({routing.kwantTitle})</span>}</div>{why && <span className="text-xs text-zinc-400">{why}</span>}@@ -520,7 +520,7 @@ const LayaRoutingCard: React.FC<{ routing: RoutingState; spaceName?: string }> =title={`${c.name} — ${c.title}`}className={`flex items-center gap-1.5 pl-0.5 pr-2.5 py-0.5 rounded-full border text-[11px] transition-all duration-300 ${chosen- ? 'border-violet-400/60 bg-violet-500/20 text-violet-100 scale-105'+ ? 'border-sky-400/60 bg-sky-500/20 text-sky-100 scale-105': deciding? 'border-zinc-700/60 bg-zinc-900/60 text-zinc-300 animate-pulse': 'border-zinc-800 bg-zinc-900/40 text-zinc-500 opacity-50'@@ -529,7 +529,7 @@ const LayaRoutingCard: React.FC<{ routing: RoutingState; spaceName?: string }> =><ModernAvatar role={c.name} name={c.name} size={18} /><span>{c.name}</span>- {chosen && <Check size={11} className="text-violet-300" />}+ {chosen && <Check size={11} className="text-info" />}</div>);})}@@ -1922,7 +1922,7 @@ export const ChatView: React.FC<ChatViewProps> = ({onClick={() => toggleThought(msg.id)}className="max-w-full min-w-0 flex items-center gap-2 px-3 py-1.5 rounded-xl text-xs text-zinc-400 hover:text-zinc-200 bg-zinc-900/80 hover:bg-zinc-900 border border-zinc-800 hover:border-zinc-700/80 transition-all cursor-pointer shadow-sm group">- <Sparkles size={13} className="text-violet-400 group-hover:rotate-12 transition-transform flex-shrink-0" />+ <Sparkles size={13} className="text-sky-400 group-hover:rotate-12 transition-transform flex-shrink-0" /><span className="truncate min-w-0 sm:max-w-md">{msg.reasoning_content.split('\n')[0].replace(/^🔮\s*/, '')}</span>@@ -1959,7 +1959,7 @@ export const ChatView: React.FC<ChatViewProps> = ({: isUser? `${OTHER_BUBBLE} max-w-2xl`: workAhead- ? 'bg-indigo-950/15 text-zinc-200 rounded-tl-sm border border-dashed border-indigo-400/25'+ ? 'bg-sky-950/15 text-zinc-200 rounded-tl-sm border border-dashed border-sky-400/25': REPLY_BUBBLE_BOT}`}data-other-bubble={isUser && !onYourSide ? '' : undefined}@@ -2353,7 +2353,7 @@ export const ChatView: React.FC<ChatViewProps> = ({{workspacePath ? (<Folder size={12} className="text-amber-400 flex-shrink-0" />) : (- <GitBranch size={12} className="text-emerald-400 flex-shrink-0" />+ <GitBranch size={12} className="text-ok flex-shrink-0" />)}<span className="truncate">{workspacePath@@ -2494,7 +2494,7 @@ export const ChatView: React.FC<ChatViewProps> = ({<buttontype="button"onClick={onCancelDiscussion}- className="shrink-0 flex items-center gap-1 px-2.5 py-1 bg-red-500/20 hover:bg-red-500/30 text-red-300 rounded border border-red-500/30 transition-colors cursor-pointer"+ className="shrink-0 flex items-center gap-1 px-2.5 py-1 bg-rose-500/20 hover:bg-rose-500/30 text-rose-300 rounded border border-rose-500/30 transition-colors cursor-pointer"><Square size={11} fill="currentColor" /><span>Stop<span className="hidden sm:inline"> Discussion</span></span>@@ -2630,8 +2630,8 @@ export const ChatView: React.FC<ChatViewProps> = ({{liveActivity && !stepsBelow && liveStepsList}{thinking && (- <div className="mb-2 p-2.5 rounded-xl bg-violet-950/20 border border-violet-500/20 text-xs text-violet-300/90 flex items-center gap-2 animate-pulse motion-reduce:animate-none max-w-full">- <Sparkles size={13} className="text-violet-400 flex-shrink-0" />+ <div className="mb-2 p-2.5 rounded-xl bg-sky-950/20 border border-sky-500/20 text-xs text-sky-300/90 flex items-center gap-2 animate-pulse motion-reduce:animate-none max-w-full">+ <Sparkles size={13} className="text-sky-400 flex-shrink-0" /><span className="truncate"><StreamPart stream={stream} part="thinking" onGrow={onStreamGrow} /></span></div>)}@@ -2870,11 +2870,11 @@ export const ChatView: React.FC<ChatViewProps> = ({</div>)}{ideaMode && (- <p data-idea-hint className="basis-full min-w-0 px-1 pt-0.5 flex items-center gap-1.5 text-[12px] leading-4 text-violet-200">- <JarIcon size={13} className="shrink-0 text-violet-300" />+ <p data-idea-hint className="basis-full min-w-0 px-1 pt-0.5 flex items-center gap-1.5 text-[12px] leading-4 text-sky-200">+ <JarIcon size={13} className="shrink-0 text-info" /><span className="min-w-0 line-clamp-2">Goes in the idea jar, not to{' '}- <span className="font-medium text-violet-100">+ <span className="font-medium text-sky-100">{home?.kind === 'bot' ? home.bot?.name ?? title : title.startsWith('#') || home?.kind === 'team' ? title : `#${title}`}</span>. No bot reads it now.@@ -2898,8 +2898,8 @@ export const ChatView: React.FC<ChatViewProps> = ({onClick={completeIdea}className="w-full flex items-center gap-2.5 px-2.5 min-h-11 sm:min-h-9 rounded-lg bg-white/[0.06] text-left text-sm text-zinc-100 hover:bg-white/[0.08]">- <JarIcon size={15} className="text-violet-300 shrink-0" />- <span className="font-semibold text-violet-300">/idea</span>+ <JarIcon size={15} className="text-info shrink-0" />+ <span className="font-semibold text-info">/idea</span><span className="text-zinc-400">Drop an idea in the jar</span><kbd className="ml-auto font-sans text-[11px] text-zinc-500">Tab</kbd></button>@@ -3025,7 +3025,7 @@ export const ChatView: React.FC<ChatViewProps> = ({<buttontype="button"onClick={onCancelDiscussion}- className="w-11 h-11 sm:w-9 sm:h-9 rounded-xl flex items-center justify-center transition-colors flex-shrink-0 bg-red-500/20 hover:bg-red-500/30 text-red-300 border border-red-400/30 cursor-pointer focus-visible:outline focus-visible:outline-2 focus-visible:outline-rose-400"+ className="w-11 h-11 sm:w-9 sm:h-9 rounded-xl flex items-center justify-center transition-colors flex-shrink-0 bg-rose-500/20 hover:bg-rose-500/30 text-rose-300 border border-rose-400/30 cursor-pointer focus-visible:outline focus-visible:outline-2 focus-visible:outline-rose-400"title={discussionState?.inProgress ? 'Stop Discussion' : 'Stop'}aria-label={discussionState?.inProgress ? 'Stop discussion' : 'Stop'}>@@ -3050,10 +3050,10 @@ export const ChatView: React.FC<ChatViewProps> = ({disabled={!canSend}data-send-ready={canSend ? 'true' : 'false'}data-idea-send- className={`w-11 h-11 ${phone ? '' : 'sm:w-9 sm:h-9'} rounded-xl flex items-center justify-center flex-shrink-0 transition-[transform,background-color] duration-150 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300 ${+ className={`w-11 h-11 ${phone ? '' : 'sm:w-9 sm:h-9'} rounded-xl flex items-center justify-center flex-shrink-0 transition-[transform,background-color] duration-150 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400 ${canSend- ? 'bg-violet-500 text-white hover:bg-violet-400 active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100'- : 'bg-violet-500/20 text-violet-300/60 cursor-not-allowed'+ ? 'bg-sky-600 text-white hover:bg-sky-700 active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100'+ : 'bg-sky-500/20 text-sky-300/60 cursor-not-allowed'}`}><JarIcon size={phone ? 18 : 17} />@@ -3069,7 +3069,7 @@ export const ChatView: React.FC<ChatViewProps> = ({canSend? phone? 'bg-[#6c58e0] text-white hover:bg-[#5845bd] active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100'- : 'bg-accent-gradient text-white shadow-glow hover:brightness-110 active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100'+ : 'bg-accent-gradient kw-hover-deepen text-white shadow-glow active:scale-95 motion-reduce:transition-none motion-reduce:active:scale-100': phone? 'bg-[#2c2552] text-[#5a5383] cursor-not-allowed': 'bg-surface-overlay text-zinc-400 cursor-not-allowed'diff --git a/frontend/src/components/ClaudeSignIn.tsx b/frontend/src/components/ClaudeSignIn.tsxindex 6a0bcfea..16924a84 100644--- a/frontend/src/components/ClaudeSignIn.tsx+++ b/frontend/src/components/ClaudeSignIn.tsx@@ -8,7 +8,7 @@ import { inDesktopApp } from '../externalLinks';const POLL_MS = 2000;const primaryBtn =- 'inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-500 disabled:opacity-50 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400';+ 'inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-700 disabled:opacity-50 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400';const quietBtn ='inline-flex items-center gap-1.5 px-2 py-1 rounded-md text-[11px] font-medium text-zinc-300 border border-zinc-700 hover:text-zinc-100 hover:border-zinc-500 disabled:opacity-50 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400';const link = 'inline-flex items-center gap-1 font-medium text-sky-300 underline underline-offset-2 hover:text-sky-200';@@ -275,7 +275,7 @@ export const ClaudeSignIn: React.FC<{ onSignedIn: () => void; focusRequest?: num)}{state === 'done' && (- <p className="flex items-center gap-1.5 text-[11px] text-emerald-300" role="status">+ <p className="flex items-center gap-1.5 text-[11px] text-ok" role="status"><Loader2 size={12} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> Signed in. Updating…</p>)}diff --git a/frontend/src/components/CodingAgents.tsx b/frontend/src/components/CodingAgents.tsxindex 2f143aec..9c9ae539 100644--- a/frontend/src/components/CodingAgents.tsx+++ b/frontend/src/components/CodingAgents.tsx@@ -35,7 +35,7 @@ const errText = (e: unknown, fallback: string) => (e instanceof ConnectionErrorconst btn ='inline-flex items-center justify-center gap-1.5 min-h-[36px] px-3 rounded-lg text-xs font-medium transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 disabled:opacity-50';const quiet = `${btn} text-zinc-300 border border-zinc-800 hover:bg-zinc-800 hover:text-zinc-100`;-const primary = `${btn} text-white bg-sky-600 hover:bg-sky-500`;+const primary = `${btn} text-white bg-sky-600 hover:bg-sky-700`;/** A Copy button that says Copied for two seconds. Copies only on click; nothing is kept. */export const CopyButton: React.FC<{ text: string; label: string }> = ({ text, label }) => {@@ -55,7 +55,7 @@ export const CopyButton: React.FC<{ text: string; label: string }> = ({ text, la}}className={`${quiet} shrink-0`}>- {copied ? <Check size={13} className="text-emerald-400" aria-hidden="true" /> : <Copy size={13} aria-hidden="true" />}+ {copied ? <Check size={13} className="text-ok" aria-hidden="true" /> : <Copy size={13} aria-hidden="true" />}{copied ? 'Copied' : 'Copy'}</button>);diff --git a/frontend/src/components/ComposioTile.tsx b/frontend/src/components/ComposioTile.tsxindex 1e9490d7..ad955a69 100644--- a/frontend/src/components/ComposioTile.tsx+++ b/frontend/src/components/ComposioTile.tsx@@ -53,7 +53,7 @@ const KEY_DEFAULT = 'https://dashboard.composio.dev';const btn ='inline-flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[30px] px-3 py-1 rounded-lg text-xs font-medium whitespace-nowrap transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400 motion-reduce:transition-none';const quietBtn = `${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;-const primaryBtn = `${btn} border border-sky-600 bg-sky-600 text-white hover:bg-sky-500`;+const primaryBtn = `${btn} border border-sky-600 bg-sky-600 text-white hover:bg-sky-700`;const roseBtn = `${btn} border border-zinc-700 bg-transparent text-rose-300 hover:bg-rose-500/10 hover:border-rose-500/40`;const roseFill = `${btn} border border-rose-500 bg-rose-600 text-white hover:bg-rose-500`;const field =@@ -208,7 +208,7 @@ export const ComposioTile: React.FC<ComposioTileProps> = (p) => {</span>) : entry.added ? (<span- className={`px-1.5 py-px rounded-md border text-[11px] ${entry.enabled ? 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200' : 'border-zinc-700 text-zinc-300'}`}+ className={`px-1.5 py-px rounded-md border text-[11px] ${entry.enabled ? 'border-teal-400/30 bg-teal-400/10 text-teal-200' : 'border-zinc-700 text-zinc-300'}`}data-composio-chip={entry.enabled ? 'on' : 'off'}>{entry.enabled ? 'Added · on' : 'Added · off'}@@ -391,7 +391,7 @@ export const ComposioTile: React.FC<ComposioTileProps> = (p) => {body = (<div className="space-y-3">{open === 'switchKey' && (- <p className="flex items-start gap-2 px-3 py-2 rounded-lg border border-violet-400/30 bg-violet-500/10 text-xs text-violet-100" data-composio-switch-needs-key>+ <p className="flex items-start gap-2 px-3 py-2 rounded-lg border border-sky-400/30 bg-sky-500/10 text-xs text-sky-100" data-composio-switch-needs-key><Info size={14} className="mt-px shrink-0" aria-hidden="true" />The one-key setup needs your Composio API key. The apps you already connected stay connected.</p>@@ -403,8 +403,8 @@ export const ComposioTile: React.FC<ComposioTileProps> = (p) => {body = (<div className="space-y-2">{urlMode && entry.can_switch && (- <div className="px-3 py-2.5 rounded-xl border border-violet-400/30 bg-violet-500/10 space-y-2" data-composio-switch>- <p className="flex items-start gap-2 text-xs text-violet-100">+ <div className="px-3 py-2.5 rounded-xl border border-sky-400/30 bg-sky-500/10 space-y-2" data-composio-switch>+ <p className="flex items-start gap-2 text-xs text-sky-100"><Info size={14} className="mt-px shrink-0" aria-hidden="true" />Switch to the one-key setup to connect apps right here. Your bots then find any app by themselves, and the apps you already connected stay connected.</p>@@ -464,7 +464,7 @@ export const ComposioTile: React.FC<ComposioTileProps> = (p) => {)}{notice && (- <p role="status" className="px-3 py-2 rounded-lg border border-emerald-500/30 bg-emerald-500/10 text-xs text-emerald-100" data-composio-notice>+ <p role="status" className="px-3 py-2 rounded-lg border border-teal-400/30 bg-teal-400/10 text-xs text-teal-100" data-composio-notice>{notice}</p>)}diff --git a/frontend/src/components/ConnectionSuggestionCard.tsx b/frontend/src/components/ConnectionSuggestionCard.tsxindex 24f59271..f1ea6d55 100644--- a/frontend/src/components/ConnectionSuggestionCard.tsx+++ b/frontend/src/components/ConnectionSuggestionCard.tsx@@ -13,7 +13,7 @@ import {} from '../connectionSuggestions';const focusRing = 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2';-const mainBtn = `inline-flex items-center gap-1.5 min-h-[40px] sm:min-h-[34px] px-3.5 rounded-xl text-sm font-medium bg-sky-600 text-white hover:bg-sky-500 disabled:opacity-60 ${focusRing} focus-visible:outline-sky-300`;+const mainBtn = `inline-flex items-center gap-1.5 min-h-[40px] sm:min-h-[34px] px-3.5 rounded-xl text-sm font-medium bg-sky-600 text-white hover:bg-sky-700 disabled:opacity-60 ${focusRing} focus-visible:outline-sky-300`;const quietBtn = `inline-flex items-center gap-1.5 min-h-[40px] sm:min-h-[34px] px-3 rounded-xl text-sm text-zinc-300 border border-zinc-700 hover:bg-zinc-800 ${focusRing} focus-visible:outline-sky-400`;export interface ConnectionSuggestionViewProps {@@ -45,7 +45,7 @@ export const ConnectionSuggestionView: React.FC<ConnectionSuggestionViewProps> =const { phase } = state;const where = mac ? 'your browser' : 'the new tab';const border =- phase === 'connected' ? 'border-emerald-500/30' : phase === 'error' ? 'border-rose-500/40' : phase === 'missing' ? 'border-amber-500/30' : 'border-sky-500/35';+ phase === 'connected' ? 'border-teal-400/30' : phase === 'error' ? 'border-rose-500/40' : phase === 'missing' ? 'border-amber-500/30' : 'border-sky-500/35';const again = (<button type="button" onClick={onConnect} className={quietBtn} data-connect-again><Link2 size={13} aria-hidden="true" /> Open the sign-in again@@ -79,7 +79,7 @@ export const ConnectionSuggestionView: React.FC<ConnectionSuggestionViewProps> =<div className="px-4 pb-3 space-y-2 text-sm" aria-live="polite">{phase === 'connected' ? (- <p className="flex items-start gap-1.5 text-emerald-200" data-connected>+ <p className="flex items-start gap-1.5 text-teal-200" data-connected><CheckCircle2 size={15} className="mt-0.5 shrink-0" aria-hidden="true" /><span><span className="font-medium">Connected.</span> {kwantName} can use {meta.name} from its next turn.diff --git a/frontend/src/components/ConnectionsView.tsx b/frontend/src/components/ConnectionsView.tsxindex b8255450..bcaf7160 100644--- a/frontend/src/components/ConnectionsView.tsx+++ b/frontend/src/components/ConnectionsView.tsx@@ -35,7 +35,7 @@ import { ComposioTile, ComposioTileApi } from './ComposioTile';const TONES: Record<Tone, string> = {amber: 'border-amber-500/30 bg-amber-500/10 text-amber-200',- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-200',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-200',zinc: 'border-zinc-700 bg-zinc-800 text-zinc-300',};@@ -294,7 +294,7 @@ export const ComposioAppSearch: React.FC<{<div role="status" aria-live="polite">{error && <p className="px-3 py-2 rounded-lg border border-rose-500/20 bg-rose-500/5 text-xs text-rose-300">{error}</p>}{opened && (- <p className="text-xs text-emerald-200">+ <p className="text-xs text-teal-200">Opened {opened}’s sign-in on Composio in {inDesktopApp() ? 'your browser' : 'a new tab'}. Its tools reach your bots through the Composio server once you finish there.</p>)}@@ -540,7 +540,7 @@ export const AddConnectionMenu: React.FC<{ choices: AddChoice[]; disabled?: booldisabled={disabled}aria-expanded={open}aria-controls={`${id}-list`}- className="inline-flex items-center gap-1.5 min-h-[32px] px-2.5 py-1 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 disabled:opacity-60 shadow-sm whitespace-nowrap focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500"+ className="inline-flex items-center gap-1.5 min-h-[32px] px-2.5 py-1 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 disabled:opacity-60 shadow-sm whitespace-nowrap focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500"><Plus size={14} aria-hidden="true" />Add connection@@ -727,7 +727,7 @@ export const ConnectionsView: React.FC<ConnectionsViewProps> = ({<div role="status" aria-live="polite">{notice && (- <p className={`px-3 py-2 rounded-lg border text-xs ${notice.error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200'}`}>+ <p className={`px-3 py-2 rounded-lg border text-xs ${notice.error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-200'}`}>{notice.text}</p>)}diff --git a/frontend/src/components/DelegationCard.tsx b/frontend/src/components/DelegationCard.tsxindex 7aee2d5a..9b68402d 100644--- a/frontend/src/components/DelegationCard.tsx+++ b/frontend/src/components/DelegationCard.tsx@@ -24,7 +24,7 @@ const LONG_RESULT = 1400;const tone: Record<DelegationStatus, { icon: React.ReactNode; ring: string; text: string }> = {queued: { icon: <Clock size={13} aria-hidden="true" />, ring: 'border-amber-500/30', text: 'text-amber-300' },running: { icon: <Loader2 size={13} className="animate-spin motion-reduce:animate-none" aria-hidden="true" />, ring: 'border-sky-500/30', text: 'text-sky-300' },- completed: { icon: <CheckCircle2 size={13} aria-hidden="true" />, ring: 'border-emerald-500/30', text: 'text-emerald-300' },+ completed: { icon: <CheckCircle2 size={13} aria-hidden="true" />, ring: 'border-teal-400/30', text: 'text-ok' },failed: { icon: <XCircle size={13} aria-hidden="true" />, ring: 'border-rose-500/30', text: 'text-rose-300' },cancelled: { icon: <Square size={11} aria-hidden="true" />, ring: 'border-zinc-700', text: 'text-zinc-400' },interrupted: { icon: <AlertTriangle size={13} aria-hidden="true" />, ring: 'border-amber-500/30', text: 'text-amber-300' },diff --git a/frontend/src/components/DeleteBotDialog.tsx b/frontend/src/components/DeleteBotDialog.tsxindex 5c6f84b5..d98f4baf 100644--- a/frontend/src/components/DeleteBotDialog.tsx+++ b/frontend/src/components/DeleteBotDialog.tsx@@ -125,7 +125,7 @@ export const DeleteBotDialog: React.FC<DeleteBotDialogProps> = ({ kwant, busy, o{exporting ? 'Exporting…' : `Export ${kwant.name}`}</button>{exported && (- <p role="status" className="text-[11px] text-emerald-300 break-words">+ <p role="status" className="text-[11px] text-ok break-words">Saved {exported}.</p>)}diff --git a/frontend/src/components/DevModeSettings.tsx b/frontend/src/components/DevModeSettings.tsxindex f3c08abc..24e2ba82 100644--- a/frontend/src/components/DevModeSettings.tsx+++ b/frontend/src/components/DevModeSettings.tsx@@ -16,9 +16,9 @@ const card = 'rounded-xl border border-zinc-800 bg-zinc-950/60';const accentCard = 'rounded-xl border border-sky-500/40 bg-accent-soft';const rowBtn ='flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-xs font-medium text-zinc-300 border border-zinc-700/60 bg-zinc-800/60 hover:bg-zinc-700/70 hover:text-zinc-100 transition-colors disabled:opacity-50';-const primaryBtn = 'flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50';+const primaryBtn = 'flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50';const turnOnBtn =- 'inline-flex items-center justify-center gap-1.5 h-9 max-md:h-11 max-md:w-full px-3.5 rounded-lg text-[13px] font-semibold text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50 kw-focus';+ 'inline-flex items-center justify-center gap-1.5 h-9 max-md:h-11 max-md:w-full px-3.5 rounded-lg text-[13px] font-semibold text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50 kw-focus';const input = 'w-full bg-zinc-950 border rounded-lg px-3 py-2 text-sm font-mono text-zinc-100 focus:outline-none border-zinc-800 focus:border-sky-500';/** What turning it on gives you, the same words in the card and the #general suggestion. */export const DEV_GAIN = 'your bots review pull requests, show what landed and guard deploys.';@@ -223,7 +223,7 @@ export const DevModeSettings: React.FC<{ spaceId: string; spaceName: string; app</button><span className="flex-1" />{saved && !dirty && (- <span className="flex items-center gap-1 text-xs text-emerald-400" role="status">+ <span className="flex items-center gap-1 text-xs text-ok" role="status"><Check size={13} aria-hidden="true" /> Saved</span>)}diff --git a/frontend/src/components/DevOnToast.tsx b/frontend/src/components/DevOnToast.tsxindex 51a0eb9d..07fad401 100644--- a/frontend/src/components/DevOnToast.tsx+++ b/frontend/src/components/DevOnToast.tsx@@ -211,7 +211,7 @@ export const DevOnToast: React.FC<DevOnToastProps> = ({ state, onOpenDesk, onCononClose();}}data-dev-on-toast-action={fix.key}- className={`min-h-[44px] sm:min-h-[32px] px-2 rounded-lg text-meta font-semibold text-[#c9c0ff] hover:bg-violet-500/10 ${focusRing}`}+ className={`min-h-[44px] sm:min-h-[32px] px-2 rounded-lg text-meta font-semibold text-[#c9c0ff] hover:bg-sky-500/10 ${focusRing}`}>{fix.label}</button>diff --git a/frontend/src/components/DeviceSignIn.tsx b/frontend/src/components/DeviceSignIn.tsxindex 15d68cf8..9f4266f2 100644--- a/frontend/src/components/DeviceSignIn.tsx+++ b/frontend/src/components/DeviceSignIn.tsx@@ -32,7 +32,7 @@ export type WaitState =| { kind: 'error'; message: string };const primary =- 'w-full flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50';+ 'w-full flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50';const secondary ='flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-zinc-200 bg-zinc-800 hover:bg-zinc-700 border border-zinc-700 transition-colors';@@ -64,7 +64,7 @@ export const DeviceWaitView: React.FC<{ state: WaitState; now?: number; onStart:</button></>) : (- <p className="flex items-center justify-center gap-2 text-xs text-emerald-300">+ <p className="flex items-center justify-center gap-2 text-xs text-ok"><ShieldCheck size={14} aria-hidden="true" /> Approved. Signing you in…</p>)}@@ -255,7 +255,7 @@ export const DeviceRequestCard: React.FC<{type="button"onClick={onApprove}disabled={!matches || !!busy}- className="flex-1 flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50"+ className="flex-1 flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50">{busy === 'approve' && <Loader2 size={13} className="animate-spin motion-reduce:animate-none" aria-hidden="true" />} Approve</button>@@ -428,7 +428,7 @@ export const QrImage: React.FC<{ text: string; label?: string }> = ({ text, labeexport type AddDeviceVariant = 'settings' | 'phone';const phonePrimary =- 'w-full sm:w-auto flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[36px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500';+ 'w-full sm:w-auto flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[36px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500';/** What "Add a phone or browser" shows in each state. Exported for tests. */export const AddDeviceView: React.FC<{@@ -463,8 +463,8 @@ export const AddDeviceView: React.FC<{if (state.kind === 'signed_in')return (- <div className="space-y-3 rounded-xl border border-emerald-500/30 bg-emerald-500/5 p-4" role="status" aria-live="polite">- <p className="flex items-center gap-2 text-xs font-medium text-emerald-200">+ <div className="space-y-3 rounded-xl border border-teal-400/30 bg-teal-400/5 p-4" role="status" aria-live="polite">+ <p className="flex items-center gap-2 text-xs font-medium text-teal-200"><Check size={14} aria-hidden="true" /> Signed in</p><p className="text-[11px] text-zinc-400 leading-relaxed">diff --git a/frontend/src/components/DictationMic.tsx b/frontend/src/components/DictationMic.tsxindex f37ad350..dd4e038a 100644--- a/frontend/src/components/DictationMic.tsx+++ b/frontend/src/components/DictationMic.tsx@@ -547,9 +547,9 @@ export function MicButton({ d, phone }: { d: Dictation; phone: boolean }) {const size = phone ? 'w-11 h-11 ml-1.5 focus-visible:outline-[#b8adff]' : 'w-11 h-11 sm:w-9 sm:h-9 focus-visible:outline-sky-400';const look =state === 'rec'- ? 'bg-violet-500/[0.22] shadow-[inset_0_0_0_1px_rgb(167_139_250/0.55)] text-violet-200'+ ? 'bg-sky-500/[0.22] shadow-[inset_0_0_0_1px_rgb(167_139_250/0.55)] text-sky-200': state === 'busy'- ? 'text-violet-300 cursor-default'+ ? 'text-info cursor-default': state === 'muted'? d.popOpen? 'bg-white/[0.06] text-zinc-300'@@ -585,7 +585,7 @@ export function MicButton({ d, phone }: { d: Dictation; phone: boolean }) {className={`${size} ${look} rounded-xl flex items-center justify-center flex-shrink-0 transition-colors focus-visible:outline focus-visible:outline-2`}>{state === 'rec' ? (- <Square size={phone ? 13 : 12} fill="#ddd6fe" color="#ddd6fe" aria-hidden="true" />+ <Square size={phone ? 13 : 12} fill="#d3ccff" color="#d3ccff" aria-hidden="true" />) : state === 'busy' ? (<Loader2 size={icon} className="kw-dict-spin" aria-hidden="true" />) : (@@ -672,7 +672,7 @@ function Level({ levelRef }: { levelRef: RefObject<number> }) {ref={(el) => {bars.current[i] = el;}}- className="block w-[3px] h-4 rounded-sm bg-[#c4b5fd] origin-center"+ className="block w-[3px] h-4 rounded-sm bg-[#b8adff] origin-center"style={{ transform: 'scaleY(0.2)' }}/>))}@@ -719,7 +719,7 @@ export function DictationLine({ d, phone, botName, reduced }: { d: Dictation; phreturn (<div data-dictation-line="transcribing" className={box}><span className={lead}>- <Loader2 size={14} className="kw-dict-spin text-[#c4b5fd] flex-none" aria-hidden="true" />+ <Loader2 size={14} className="kw-dict-spin text-[#b8adff] flex-none" aria-hidden="true" /><b className="font-semibold text-zinc-100 min-w-0">Turning speech into text…</b><span className="tabular-nums text-zinc-400 flex-none whitespace-nowrap">{clock(l.seconds)} recorded</span></span>@@ -807,7 +807,7 @@ export function DictationSetupPopover({ d, phone, onOpenAccounts }: { d: Dictatid.closePopover(false);onOpenAccounts?.();}}- className={`${btn} inline-flex items-center rounded-[10px] bg-accent-gradient text-white font-semibold hover:brightness-110 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300`}+ className={`${btn} inline-flex items-center rounded-[10px] bg-accent-gradient kw-hover-deepen text-white font-semibold focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300`}>Open Apps & accounts</button>diff --git a/frontend/src/components/DocMark.tsx b/frontend/src/components/DocMark.tsxindex a2530087..86180cff 100644--- a/frontend/src/components/DocMark.tsx+++ b/frontend/src/components/DocMark.tsx@@ -4,7 +4,7 @@ import { docKind, markOf } from '../spaceDocs';/** The type mark: PDF, MD or TXT (or the odd extension). It tells the types apart; it is not a status. */export const DocMark: React.FC<{ name: string; size?: 28 | 32 }> = ({ name, size = 32 }) => {const k = docKind(name);- const tone = k === 'pdf' ? 'text-rose-200' : k === 'md' ? 'text-violet-200' : 'text-zinc-200';+ const tone = k === 'pdf' ? 'text-rose-200' : k === 'md' ? 'text-sky-200' : 'text-zinc-200';return (<spanaria-hidden="true"diff --git a/frontend/src/components/DocViewerSheet.tsx b/frontend/src/components/DocViewerSheet.tsxindex 42b362fb..5d926520 100644--- a/frontend/src/components/DocViewerSheet.tsx+++ b/frontend/src/components/DocViewerSheet.tsx@@ -117,7 +117,7 @@ export const DocViewerSheet: React.FC<{ open: DocViewerOpen; onClose: () => voidreturn quote ? (<><div className="whitespace-pre-wrap break-words" data-viewer-text>- <mark className="rounded-[3px] bg-violet-400/[.22] text-zinc-50 px-0.5 -mx-0.5 shadow-[inset_0_-2px_0_rgb(157_143_255/.65)]" data-viewer-mark>+ <mark className="rounded-[3px] bg-sky-400/[.22] text-zinc-50 px-0.5 -mx-0.5 shadow-[inset_0_-2px_0_rgb(157_143_255/.65)]" data-viewer-mark>{quote}</mark></div>@@ -148,7 +148,7 @@ export const DocViewerSheet: React.FC<{ open: DocViewerOpen; onClose: () => void{data.match && (<markref={markRef}- className="rounded-[3px] bg-violet-400/[.22] text-zinc-50 px-0.5 -mx-0.5 shadow-[inset_0_-2px_0_rgb(157_143_255/.65)]"+ className="rounded-[3px] bg-sky-400/[.22] text-zinc-50 px-0.5 -mx-0.5 shadow-[inset_0_-2px_0_rgb(157_143_255/.65)]"data-viewer-mark>{data.match}diff --git a/frontend/src/components/DoneCheck.tsx b/frontend/src/components/DoneCheck.tsxindex a6be4bc3..09133f17 100644--- a/frontend/src/components/DoneCheck.tsx+++ b/frontend/src/components/DoneCheck.tsx@@ -34,7 +34,7 @@ import {} from '../doneCheck';import { Sticker } from './Sticker';-const linkBtn = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded text-meta font-semibold text-violet-300 hover:text-violet-200';+const linkBtn = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded text-meta font-semibold text-info hover:text-sky-200';const STATE_ICON: Record<CheckState, LucideIcon> = {checked: ShieldCheck,diff --git a/frontend/src/components/DoneDetail.tsx b/frontend/src/components/DoneDetail.tsxindex 3db8877e..6b1bee00 100644--- a/frontend/src/components/DoneDetail.tsx+++ b/frontend/src/components/DoneDetail.tsx@@ -134,7 +134,7 @@ export function useDoneDetail(item: InboxItem, runItem: InboxItem | null, api: Dconst label = 'text-[11px] font-semibold uppercase tracking-[0.06em] text-zinc-400';// F1: data-compact keeps the coarse-pointer 44 px min-height off these inline links; kw-hit's ::before keeps the// 44×44 tap area, so the chip and the Why line keep their own height.-const linkBtn = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded text-meta font-semibold text-violet-300 hover:text-violet-200';+const linkBtn = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded text-meta font-semibold text-info hover:text-sky-200';/*** "Read only · changed nothing" and "No checks set · Add one". With a done-check box (the item has `checked`),@@ -164,7 +164,7 @@ export const DoneChips: React.FC<{<buttontype="button"onClick={onAddCheck}- className="kw-focus kw-hit rounded font-semibold text-violet-300 hover:text-violet-200"+ className="kw-focus kw-hit rounded font-semibold text-info hover:text-sky-200"data-compactdata-add-check>diff --git a/frontend/src/components/EngineAccounts.tsx b/frontend/src/components/EngineAccounts.tsxindex a4d5a54e..f7ade367 100644--- a/frontend/src/components/EngineAccounts.tsx+++ b/frontend/src/components/EngineAccounts.tsx@@ -33,23 +33,23 @@ const input =const smallBtn ='inline-flex items-center gap-1 px-2 py-1 rounded-md text-[11px] font-medium border transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-sky-400';const quietBtn = `${smallBtn} border-zinc-700/70 bg-zinc-800/70 text-zinc-200 hover:bg-zinc-700`;-const primaryBtn = `${smallBtn} border-sky-500/40 bg-sky-600 text-white hover:bg-sky-500`;+const primaryBtn = `${smallBtn} border-sky-500/40 bg-sky-600 text-white hover:bg-sky-700`;const PILL: Record<Tone, string> = {- ok: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ ok: 'border-teal-400/30 bg-teal-400/10 text-teal-200',warn: 'border-amber-500/30 bg-amber-500/10 text-amber-200',error: 'border-rose-500/30 bg-rose-500/10 text-rose-200',muted: 'border-zinc-700 bg-zinc-800/60 text-zinc-400',busy: 'border-sky-500/30 bg-sky-500/10 text-sky-200',- info: 'border-cyan-500/30 bg-cyan-500/10 text-cyan-200',+ info: 'border-sky-500/30 bg-sky-500/10 text-sky-200',};const PILL_DOT: Record<Tone, string> = {- ok: 'bg-emerald-400',+ ok: 'bg-teal-300',warn: 'bg-amber-400',error: 'bg-rose-400',muted: 'bg-zinc-500',busy: 'bg-sky-400 animate-pulse motion-reduce:animate-none',- info: 'bg-cyan-400',+ info: 'bg-sky-400',};/** A status in words with a colored dot, so it never relies on color alone. */@@ -726,7 +726,7 @@ const AccountRow: React.FC<{data-state={status.label}aria-labelledby={nameId}className={`rounded-lg border px-3 py-2.5 space-y-2 transition-colors ${- inUse ? 'border-emerald-500/35 bg-emerald-500/[0.05]' : off ? 'border-zinc-800/70 bg-zinc-950/30' : 'border-zinc-800 bg-zinc-950/50'+ inUse ? 'border-teal-400/35 bg-teal-400/[0.05]' : off ? 'border-zinc-800/70 bg-zinc-950/30' : 'border-zinc-800 bg-zinc-950/50'}`}><div className="flex items-start gap-2">@@ -778,7 +778,7 @@ const AccountRow: React.FC<{<Star size={9} aria-hidden="true" /> Default</span>)}- {inUse && <span className="px-1.5 py-0.5 rounded-md bg-emerald-500/15 text-[10px] font-medium text-emerald-200">In use</span>}+ {inUse && <span className="px-1.5 py-0.5 rounded-md bg-teal-400/15 text-[10px] font-medium text-teal-200">In use</span>}</div><p className="text-[11px] leading-snug text-zinc-400 break-words">{status.detail && <span className={isCustom ? statusText : status.tone === 'warn' || status.tone === 'error' ? 'text-amber-200' : status.tone === 'ok' ? 'text-zinc-200' : ''}>{status.detail}</span>}diff --git a/frontend/src/components/EngineInstall.tsx b/frontend/src/components/EngineInstall.tsxindex 30389ff3..3026b4d3 100644--- a/frontend/src/components/EngineInstall.tsx+++ b/frontend/src/components/EngineInstall.tsx@@ -4,8 +4,8 @@ import { playSfx } from '../audio/chiptune';import { SetupApi, SetupItemId, canInstall, runInstall, setupApi } from '../setupInstall';const primaryBtn =- 'inline-flex items-center gap-1.5 px-2.5 py-1 min-h-[28px] rounded-md text-[11px] font-medium text-white bg-violet-600 hover:bg-violet-500 disabled:opacity-50 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300';-const linkCls = 'inline-flex items-center gap-0.5 text-violet-300 hover:text-violet-200 underline-offset-2 hover:underline';+ 'kw-btn-primary kw-focus px-2.5 py-1 min-h-[28px] rounded-md text-[11px] motion-reduce:transition-none';+const linkCls = 'inline-flex items-center gap-0.5 text-info hover:text-sky-200 underline-offset-2 hover:underline';/** How long an install usually takes, for the progress line. */const ABOUT: Partial<Record<SetupItemId, string>> = { claude: 'about 15 seconds' };@@ -94,7 +94,7 @@ export const EngineInstall: React.FC<{const about = ABOUT[item];return (<p role="status" aria-live="polite" data-engine-install="installing" className="flex items-center gap-1.5 text-[11px] text-zinc-300">- <Loader2 size={12} className="shrink-0 motion-safe:animate-spin text-violet-300" aria-hidden="true" />+ <Loader2 size={12} className="shrink-0 motion-safe:animate-spin text-info" aria-hidden="true" />Installing {name}…{about ? ` (${about})` : ''}</p>);diff --git a/frontend/src/components/EnginesPanel.tsx b/frontend/src/components/EnginesPanel.tsxindex 85c02e67..046c912f 100644--- a/frontend/src/components/EnginesPanel.tsx+++ b/frontend/src/components/EnginesPanel.tsx@@ -17,12 +17,12 @@ import type { SetupItemId } from '../setupInstall';const SETUP_ITEMS: SetupItemId[] = ['claude', 'codex', 'grok'];const SUMMARY_TEXT = {- ok: 'text-emerald-300',+ ok: 'text-ok',warn: 'text-amber-200',error: 'text-rose-300',muted: 'text-zinc-400',busy: 'text-sky-300',- info: 'text-cyan-200',+ info: 'text-sky-200',} as const;const KIND_ICON = { cli: Cpu, api: Key, local: Server } as const;@@ -109,7 +109,7 @@ export const EngineCard: React.FC<{href={INSTALL_URL[engine.id]}target="_blank"rel="noreferrer"- className="inline-flex items-center gap-1 text-[11px] text-violet-300 hover:text-violet-200 hover:underline underline-offset-2"+ className="inline-flex items-center gap-1 text-[11px] text-info hover:text-sky-200 hover:underline underline-offset-2">Install {engine.name} <ExternalLink size={10} aria-hidden="true" /></a>@@ -192,7 +192,7 @@ export const RouteSummary: React.FC<{ rows: RouteRow[]; pending: boolean }> = ({<span className="w-14 shrink-0 font-semibold text-zinc-100">{r.label}</span><span className="px-1.5 py-0.5 rounded-md bg-zinc-800/80 text-zinc-300">{r.engine}</span><ArrowRight size={11} className="text-zinc-500" aria-label="on" />- <span className={`px-1.5 py-0.5 rounded-md font-medium ${r.account.otherProvider || r.note ? 'bg-amber-500/15 text-amber-100' : 'bg-emerald-500/15 text-emerald-100'}`}>+ <span className={`px-1.5 py-0.5 rounded-md font-medium ${r.account.otherProvider || r.note ? 'bg-amber-500/15 text-amber-100' : 'bg-teal-400/15 text-teal-100'}`}>{r.account.name}</span>{r.account.detail && <span className={r.account.otherProvider ? 'text-amber-200' : 'text-zinc-400'}>{r.account.detail}</span>}diff --git a/frontend/src/components/FactsLedger.tsx b/frontend/src/components/FactsLedger.tsxindex f4ced315..833ea14a 100644--- a/frontend/src/components/FactsLedger.tsx+++ b/frontend/src/components/FactsLedger.tsx@@ -84,7 +84,7 @@ export const DisputeCard: React.FC<{const f = sides[i];const won = !open && d.winner && f?.id === d.winner;return (- <div key={i} className={`rounded-lg border px-2.5 py-2 space-y-1.5 ${won ? 'border-emerald-500/40 bg-emerald-500/5' : 'border-zinc-800 bg-zinc-950/50'}`} data-side={i === 0 ? 'a' : 'b'}>+ <div key={i} className={`rounded-lg border px-2.5 py-2 space-y-1.5 ${won ? 'border-teal-400/40 bg-teal-400/5' : 'border-zinc-800 bg-zinc-950/50'}`} data-side={i === 0 ? 'a' : 'b'}>{f ? (<><p className="text-xs text-zinc-100 break-words">@@ -99,7 +99,7 @@ export const DisputeCard: React.FC<{disabled={busy}onClick={() => onKeep(d, f)}aria-label={`Keep “${f.statement}” and replace the other`}- className={`${btn} w-full sm:w-auto border border-emerald-500/40 text-emerald-200 hover:bg-emerald-500/10`}+ className={`${btn} w-full sm:w-auto border border-teal-400/40 text-teal-200 hover:bg-teal-400/10`}data-keep={f.id}>{busy ? <Loader2 size={12} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <Check size={12} aria-hidden="true" />}@@ -127,7 +127,7 @@ export const DisputeCard: React.FC<{<span className="text-[10px] text-zinc-500">Until you choose, bots see both, labelled disputed.</span></div>) : (- <p className={`text-[11px] ${d.status === 'resolved' ? 'text-emerald-300' : 'text-zinc-400'}`} data-outcome={d.status}>+ <p className={`text-[11px] ${d.status === 'resolved' ? 'text-ok' : 'text-zinc-400'}`} data-outcome={d.status}>{disputeOutcome(d, sides)}</p>)}@@ -232,7 +232,7 @@ const FactDetails: React.FC<{)}{f.status === 'proposed' && (<div className="flex flex-wrap items-center gap-2 pt-0.5" role="group" aria-label={`Unconfirmed: ${f.statement}`}>- <button type="button" disabled={busy} onClick={() => void decide(true)} className={`${btn} bg-emerald-600/90 text-white hover:bg-emerald-500`} data-confirm-fact>+ <button type="button" disabled={busy} onClick={() => void decide(true)} className={`${btn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`} data-confirm-fact>{busy ? <Loader2 size={12} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <Check size={12} aria-hidden="true" />} Confirm</button><button type="button" disabled={busy} onClick={() => void decide(false)} className={`${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700`} data-reject-fact>@@ -240,7 +240,7 @@ const FactDetails: React.FC<{</button></div>)}- <p aria-live="polite" className="text-emerald-300 min-h-0">+ <p aria-live="polite" className="text-ok min-h-0">{note}</p>{error && (@@ -564,7 +564,7 @@ export const FactNeedsYouAction: React.FC<{if (item.kind !== 'fact_changed') return null;if (done)return (- <span role="status" className="text-[11px] text-emerald-300" data-uncited>+ <span role="status" className="text-[11px] text-ok" data-uncited>Done: this task no longer relies on it.</span>);diff --git a/frontend/src/components/FindTool.tsx b/frontend/src/components/FindTool.tsxindex 01a89bed..362581fc 100644--- a/frontend/src/components/FindTool.tsx+++ b/frontend/src/components/FindTool.tsx@@ -203,7 +203,7 @@ export function buildGroups(opts: { composioApps: ComposioRowApp[]; connections:const btn ='inline-flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[32px] px-3 py-1 rounded-lg text-xs font-medium whitespace-nowrap transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400 motion-reduce:transition-none';const quietBtn = `${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;-const primaryBtn = `${btn} border border-sky-600 bg-sky-600 text-white hover:bg-sky-500`;+const primaryBtn = `${btn} border border-sky-600 bg-sky-600 text-white hover:bg-sky-700`;const linkBtn ='inline-flex items-center gap-1 min-h-[44px] sm:min-h-[28px] text-xs font-medium text-sky-300 hover:text-sky-200 underline-offset-2 hover:underline rounded focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400';const chip = 'inline-flex items-center px-1.5 py-px rounded-md border border-zinc-700 text-[11px] text-zinc-300';@@ -216,7 +216,7 @@ const activeBar = 'shadow-[inset_2px_0_0_#9d8fff]';const Mark: React.FC<{ name: string; slug?: string }> = ({ name, slug }) => (<spanaria-hidden="true"- className={`shrink-0 inline-flex items-center justify-center w-8 h-8 rounded-lg border border-violet-400/20 text-[11px] font-semibold ${(slug && TINT[slug]) || 'text-violet-100'}`}+ className={`shrink-0 inline-flex items-center justify-center w-8 h-8 rounded-lg border border-sky-400/20 text-[11px] font-semibold ${(slug && TINT[slug]) || 'text-sky-100'}`}style={{ background: '#231d4b' }}>{appInitials(name)}@@ -886,7 +886,7 @@ export const FindTool: React.FC<FindToolProps> = (p) => {<span className="text-zinc-300">Waiting for you to finish signing in, in the new tab.</span>) : status ? (<span className={status.ok ? 'text-zinc-300' : 'text-amber-300'} data-in-use>- {status.ok && <Check size={13} className="inline-block align-[-2px] mr-1 text-emerald-300" aria-hidden="true" />}+ {status.ok && <Check size={13} className="inline-block align-[-2px] mr-1 text-ok" aria-hidden="true" />}{status.text}</span>) : (@@ -1081,7 +1081,7 @@ export const FindTool: React.FC<FindToolProps> = (p) => {if (r.app.connected)return (<span className={`flex items-center gap-3 ${phone ? 'w-full' : ''}`}>- <span className="inline-flex items-center gap-1 text-xs text-emerald-300 whitespace-nowrap">+ <span className="inline-flex items-center gap-1 text-xs text-ok whitespace-nowrap"><Check size={12} aria-hidden="true" /> Connected</span>{main('Choose bots', () => run(o), { primary: !composioUsers().length })}diff --git a/frontend/src/components/FirstRunWelcome.tsx b/frontend/src/components/FirstRunWelcome.tsxindex fbd461a3..10951d32 100644--- a/frontend/src/components/FirstRunWelcome.tsx+++ b/frontend/src/components/FirstRunWelcome.tsx@@ -45,7 +45,7 @@ export const FirstRunWelcome: React.FC<Props> = ({ bots, actionLabel, onAction }<buttontype="button"onClick={onAction}- className="mt-6 inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium text-white bg-violet-600 hover:bg-violet-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-violet-300"+ className="kw-btn-primary kw-focus mt-6 gap-2 px-4 py-2 rounded-lg text-sm motion-reduce:transition-none"><KeyRound size={15} aria-hidden="true" />{actionLabel}diff --git a/frontend/src/components/FlightSchoolPanel.tsx b/frontend/src/components/FlightSchoolPanel.tsxindex ff183831..ce638acf 100644--- a/frontend/src/components/FlightSchoolPanel.tsx+++ b/frontend/src/components/FlightSchoolPanel.tsx@@ -256,7 +256,7 @@ export const FlightSchoolPanel: React.FC<{<Loader2 size={11} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> Saving…</span>) : note ? (- <span className="text-emerald-300">{note}</span>+ <span className="text-ok">{note}</span>) : null}</p>{error && (diff --git a/frontend/src/components/FolderBrowserModal.tsx b/frontend/src/components/FolderBrowserModal.tsxindex 9e5e9851..e5931b9e 100644--- a/frontend/src/components/FolderBrowserModal.tsx+++ b/frontend/src/components/FolderBrowserModal.tsx@@ -255,7 +255,7 @@ export const FolderBrowserModal: React.FC<FolderBrowserModalProps> = ({type="button"onClick={handleSelectCurrent}disabled={!currentPath}- className="flex items-center gap-1.5 px-3.5 py-1.5 bg-sky-600 hover:bg-sky-500 text-white rounded-lg text-xs font-medium transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"+ className="flex items-center gap-1.5 px-3.5 py-1.5 bg-sky-600 hover:bg-sky-700 text-white rounded-lg text-xs font-medium transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer"><Check size={13} /><span>Select Current Folder</span>diff --git a/frontend/src/components/GetStarted.tsx b/frontend/src/components/GetStarted.tsxindex c48ea2a6..bf01207f 100644--- a/frontend/src/components/GetStarted.tsx+++ b/frontend/src/components/GetStarted.tsx@@ -188,7 +188,7 @@ const Tiles: React.FC<{on? 'border-sky-400/70 bg-sky-500/10': st === 'signed_in'- ? 'border-emerald-400/45 bg-zinc-900/80 hover:bg-zinc-800/80'+ ? 'border-teal-400/45 bg-zinc-900/80 hover:bg-zinc-800/80': 'border-zinc-700 bg-zinc-900/80 hover:border-zinc-600 hover:bg-zinc-800/80'} ${FOCUS}`}>@@ -1112,7 +1112,7 @@ export const GetStarted: React.FC<GetStartedProps> = ({ space, bots, engines, re<p className="mt-1 text-sm text-zinc-400">{hero.sub}</p>{host ? (<span className="mt-3 inline-flex items-center gap-1.5 h-7 px-3 rounded-full border border-white/[.14] bg-white/[.04] text-xs text-zinc-200" data-host-chip>- <span className="w-1.5 h-1.5 rounded-full bg-emerald-400" aria-hidden="true" />+ <span className="w-1.5 h-1.5 rounded-full bg-teal-300" aria-hidden="true" /><Server size={12} className="text-zinc-400" aria-hidden="true" />Setting up on {host}</span>diff --git a/frontend/src/components/GoalsStrip.tsx b/frontend/src/components/GoalsStrip.tsxindex 1d593250..df147067 100644--- a/frontend/src/components/GoalsStrip.tsx+++ b/frontend/src/components/GoalsStrip.tsx@@ -80,8 +80,8 @@ const focusRing = 'focus-visible:outline focus-visible:outline-2 focus-visible:oconst btn = `inline-flex items-center justify-center gap-1 min-h-[40px] sm:min-h-[28px] px-2.5 rounded-lg text-[11px] font-medium disabled:opacity-50 disabled:cursor-not-allowed ${focusRing}`;const plainBtn = `${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700`;const quietBtn = `${btn} text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800`;-const goodBtn = `${btn} bg-emerald-600/90 text-white hover:bg-emerald-500`;-const mainBtn = `${btn} bg-sky-600 text-white hover:bg-sky-500`;+const goodBtn = `${btn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`;+const mainBtn = `${btn} bg-sky-600 text-white hover:bg-sky-700`;const dangerBtn = `${btn} border border-rose-500/40 text-rose-200 hover:bg-rose-500/10`;const linkBtn = `inline-flex items-center min-h-[40px] sm:min-h-0 rounded text-sky-300 underline underline-offset-2 hover:text-sky-200 ${focusRing}`;const field =@@ -91,9 +91,9 @@ const heading = 'text-[11px] font-medium uppercase tracking-wide text-zinc-500';const wrap = 'break-words [overflow-wrap:anywhere]';const PILL: Record<StatusLook['icon'], string> = {- met: 'border-emerald-500/40 bg-emerald-500/10 text-emerald-200',+ met: 'border-teal-400/40 bg-teal-400/10 text-teal-200',not_met: 'border-rose-500/40 bg-rose-500/10 text-rose-200',- fixing: 'border-violet-500/40 bg-violet-500/10 text-violet-200',+ fixing: 'border-sky-500/40 bg-sky-500/10 text-sky-200',// Can't check: grey and dashed, so it can't be read as OK at a glance.unknown: 'border-dashed border-zinc-500 bg-transparent text-zinc-300',needs_you: 'border-amber-500/40 bg-amber-500/10 text-amber-200',@@ -119,10 +119,10 @@ const CARD_EDGE: Record<string, string> = {draft: 'border-sky-500/30',};const TEXT: Record<Tone, string> = {- emerald: 'text-emerald-300',+ emerald: 'text-ok',rose: 'text-rose-300',amber: 'text-amber-300',- violet: 'text-violet-300',+ violet: 'text-info',sky: 'text-sky-300',zinc: 'text-zinc-400',};@@ -453,7 +453,7 @@ export const GoalRow: React.FC<{</p>) : fixTask && onOpenTask ? (<p className="mt-0.5 flex min-w-0 items-center gap-1 text-[11px]" data-goal-fix-link={fixTask.id}>- <Wrench size={11} className="shrink-0 text-violet-300" aria-hidden="true" />+ <Wrench size={11} className="shrink-0 text-info" aria-hidden="true" /><button type="button" onClick={() => onOpenTask(fixTask.id)} className={`relative z-10 min-w-0 truncate text-left text-sky-300 underline underline-offset-2 hover:text-sky-200 rounded ${focusRing}`} data-open-fix>{fixTask.title}</button>@@ -461,7 +461,7 @@ export const GoalRow: React.FC<{</p>) : work ? (<p className="mt-0.5 flex min-w-0 items-center gap-1 text-[11px] text-zinc-400" data-goal-line="work">- {g.status === 'waiting' ? <Hourglass size={11} className="shrink-0 text-zinc-500" aria-hidden="true" /> : <Wrench size={11} className="shrink-0 text-violet-300" aria-hidden="true" />}+ {g.status === 'waiting' ? <Hourglass size={11} className="shrink-0 text-zinc-500" aria-hidden="true" /> : <Wrench size={11} className="shrink-0 text-info" aria-hidden="true" />}<span className="min-w-0 truncate">{work}</span></p>) : broken ? (@@ -1060,7 +1060,7 @@ export const GoalPanel: React.FC<{ title: string; onClose: () => void; children:};const DOT: Record<ReturnType<typeof goalEventTone>, string> = {- good: 'bg-emerald-400',+ good: 'bg-teal-300',bad: 'bg-rose-400',warn: 'bg-amber-400',plain: 'bg-zinc-500',@@ -1193,7 +1193,7 @@ export const GoalDetailBody: React.FC<{<ul className="space-y-1">{missions.map((m) => (<li key={`${m.id}-${m.attempt}`} className="flex items-start gap-1.5 text-[11px]" data-goal-mission={m.id} data-open={isOpenMission(m) ? '1' : '0'}>- <Wrench size={12} className={`mt-0.5 shrink-0 ${isOpenMission(m) ? 'text-violet-300' : 'text-zinc-600'}`} aria-hidden="true" />+ <Wrench size={12} className={`mt-0.5 shrink-0 ${isOpenMission(m) ? 'text-info' : 'text-zinc-600'}`} aria-hidden="true" /><span className="min-w-0">{onOpenMission ? (<button type="button" onClick={() => onOpenMission(m.id)} className={`text-left text-sky-300 underline underline-offset-2 hover:text-sky-200 rounded ${wrap} ${focusRing}`}>@@ -1318,7 +1318,7 @@ export const KeepTrueBox: React.FC<{};if (made)return (- <p role="status" className={`flex flex-wrap items-center gap-x-2 text-[11px] text-emerald-300 ${wrap}`} data-keep-true-done>+ <p role="status" className={`flex flex-wrap items-center gap-x-2 text-[11px] text-ok ${wrap}`} data-keep-true-done><CheckCircle2 size={13} aria-hidden="true" />{' '}{already ? `Already kept true: “${made.title}”.` : `Goal added: “${made.title}”. It’s checked every ${intervalLabel(made.interval_minutes)}.`}<button type="button" onClick={() => onOpenGoal(made.id)} className={linkBtn} data-keep-true-open>@@ -1919,7 +1919,7 @@ export const GoalsStrip: React.FC<{</button>{draftingLine && <div className="basis-full">{draftingLine}</div>}{notice && (- <p role="status" className={`basis-full text-emerald-300 ${wrap}`} data-goals-notice>+ <p role="status" className={`basis-full text-ok ${wrap}`} data-goals-notice>{notice}</p>)}@@ -1976,7 +1976,7 @@ export const GoalsStrip: React.FC<{{draftingLine}{firstMet && !firstDone && <FirstMomentLine kind="goal_met" onDone={() => setFirstDone(true)} />}{notice && (- <p role="status" className={`text-[11px] text-emerald-300 ${wrap}`} data-goals-notice>+ <p role="status" className={`text-[11px] text-ok ${wrap}`} data-goals-notice>{notice}</p>)}diff --git a/frontend/src/components/HireCard.tsx b/frontend/src/components/HireCard.tsxindex 02e09cce..6c3cf32e 100644--- a/frontend/src/components/HireCard.tsx+++ b/frontend/src/components/HireCard.tsx@@ -53,7 +53,7 @@ export const HireCard: React.FC<HireCardProps> = ({ meta, messageId, kwantName,const pending = view.status === 'pending';const done = view.status === 'denied' || view.status === 'undone' || gone;const evidence = evidenceText(view.evidence, view.requested_by_person);- const border = pending ? 'border-violet-500/40' : done ? 'border-zinc-800' : 'border-emerald-500/25';+ const border = pending ? 'border-sky-500/40' : done ? 'border-zinc-800' : 'border-teal-400/25';const can = (c: string) => pending && view.choices.includes(c);const leadIndex = hireLeadIndex(view);const team = isTeamHire(view);@@ -65,7 +65,7 @@ export const HireCard: React.FC<HireCardProps> = ({ meta, messageId, kwantName,<div className={`flex-1 min-w-0 max-w-2xl rounded-2xl rounded-tl-sm border bg-zinc-900/60 shadow-sm ${border}`}><div className="px-4 pt-3 pb-2 space-y-1.5"><span className="flex items-center gap-1.5 text-[11px] font-medium text-zinc-400">- <UserPlus size={12} className="text-violet-300" aria-hidden="true" />+ <UserPlus size={12} className="text-info" aria-hidden="true" /><span><span className="text-zinc-200">{proposer}</span>{team@@ -130,7 +130,7 @@ export const HireCard: React.FC<HireCardProps> = ({ meta, messageId, kwantName,<p className={`font-medium break-words ${done ? 'text-zinc-400' : 'text-zinc-100'}`}>{m.name}{i === leadIndex && (- <span className="ml-2 rounded-full border border-violet-500/40 bg-violet-500/10 px-1.5 py-px text-[10px] font-medium text-violet-200">Lead</span>+ <span className="ml-2 rounded-full border border-sky-500/40 bg-sky-500/10 px-1.5 py-px text-[10px] font-medium text-sky-200">Lead</span>)}</p>{m.role && <p className="text-zinc-400 break-words">{m.role}</p>}@@ -186,7 +186,7 @@ export const HireCard: React.FC<HireCardProps> = ({ meta, messageId, kwantName,<div className="px-4 pb-3 pt-0.5 space-y-2"><p role="status" aria-live="polite" className="text-[11px]">- <span className={`inline-flex items-start gap-1.5 ${state.tone === 'ok' ? 'text-emerald-300' : state.tone === 'wait' ? 'text-violet-200' : 'text-zinc-400'}`}>+ <span className={`inline-flex items-start gap-1.5 ${state.tone === 'ok' ? 'text-ok' : state.tone === 'wait' ? 'text-sky-200' : 'text-zinc-400'}`}>{state.tone === 'ok' ? (<CheckCircle2 size={13} className="mt-px shrink-0" aria-hidden="true" />) : state.tone === 'off' ? (@@ -206,7 +206,7 @@ export const HireCard: React.FC<HireCardProps> = ({ meta, messageId, kwantName,type="button"onClick={() => decide('accept_once')}disabled={busy !== null}- className={`${btn} bg-violet-500 text-white hover:bg-violet-400 focus-visible:outline-violet-400`}+ className={`${btn} bg-sky-600 text-white hover:bg-sky-700 focus-visible:outline-sky-400`}>{busy === 'accept_once' && spin}{busy === 'accept_once' ? 'Hiring…' : team ? `Approve all ${view.members.length}` : 'Accept once'}diff --git a/frontend/src/components/HirePolicyPanel.tsx b/frontend/src/components/HirePolicyPanel.tsxindex 055b5b10..3b4d4345 100644--- a/frontend/src/components/HirePolicyPanel.tsx+++ b/frontend/src/components/HirePolicyPanel.tsx@@ -58,7 +58,7 @@ export const HirePolicyPanel: React.FC<{ spaceId: string; spaceName: string }> =return (<section aria-labelledby={`${name}-title`} className="rounded-xl border border-zinc-800 bg-zinc-950/60 p-4 space-y-3"><div className="flex items-start gap-2">- <UserPlus size={15} className="mt-0.5 text-violet-300 shrink-0" aria-hidden="true" />+ <UserPlus size={15} className="mt-0.5 text-info shrink-0" aria-hidden="true" /><div className="min-w-0"><h4 id={`${name}-title`} className="text-sm font-semibold text-zinc-100">Hiring new bots@@ -101,7 +101,7 @@ export const HirePolicyPanel: React.FC<{ spaceId: string; spaceName: string }> =<labelkey={o.id}className={`flex items-start gap-2.5 rounded-lg border px-3 py-2 cursor-pointer transition-colors ${- policy.policy === o.id ? 'border-violet-500/50 bg-violet-500/10' : 'border-zinc-800 hover:border-zinc-700'+ policy.policy === o.id ? 'border-sky-500/50 bg-sky-500/10' : 'border-zinc-800 hover:border-zinc-700'}`}><input@@ -110,7 +110,7 @@ export const HirePolicyPanel: React.FC<{ spaceId: string; spaceName: string }> =value={o.id}checked={policy.policy === o.id}onChange={() => save({ policy: o.id }, 'policy')}- className="mt-0.5 accent-violet-500"+ className="mt-0.5 accent-sky-500"/><span className="min-w-0"><span className="block text-xs font-medium text-zinc-100">{o.label}</span>@@ -162,7 +162,7 @@ export const HirePolicyPanel: React.FC<{ spaceId: string; spaceName: string }> =</p>)}{notice && !error && (- <p role="status" className="text-[11px] text-emerald-300">+ <p role="status" className="text-[11px] text-ok">{notice}</p>)}diff --git a/frontend/src/components/HumanStepCard.tsx b/frontend/src/components/HumanStepCard.tsxindex 063db693..12dafaf4 100644--- a/frontend/src/components/HumanStepCard.tsx+++ b/frontend/src/components/HumanStepCard.tsx@@ -51,7 +51,7 @@ export const HumanStepCard: React.FC<HumanStepCardProps> = ({ meta, messageId, kconst line =status === 'resolved_auto' ? (- <span className="inline-flex items-center gap-1.5 text-emerald-300">+ <span className="inline-flex items-center gap-1.5 text-ok"><CheckCircle2 size={13} className="shrink-0" aria-hidden="true" /> Solved. {kwantName} continues.</span>) : status === 'timed_out' ? (@@ -59,7 +59,7 @@ export const HumanStepCard: React.FC<HumanStepCardProps> = ({ meta, messageId, k<Clock size={13} className="shrink-0" aria-hidden="true" /> Nobody solved it in time. {kwantName} moved on without it. If you finished, say so in the chat.</span>) : status === 'done' ? (- <span className="inline-flex items-center gap-1.5 text-emerald-300">+ <span className="inline-flex items-center gap-1.5 text-ok"><CheckCircle2 size={13} className="shrink-0" aria-hidden="true" /> Done. {kwantName} is carrying on{view.status === 'open' ? '…' : '.'}</span>) : status === 'declined' ? (diff --git a/frontend/src/components/IdeaDropToast.tsx b/frontend/src/components/IdeaDropToast.tsxindex 4d0cd66f..8795331c 100644--- a/frontend/src/components/IdeaDropToast.tsx+++ b/frontend/src/components/IdeaDropToast.tsx@@ -80,7 +80,7 @@ export const IdeaDropToast: React.FC<{<buttontype="button"onClick={onOpenJar}- className={`shrink-0 min-h-[44px] sm:min-h-[36px] px-3 rounded-lg text-xs font-semibold text-[#b8adff] hover:bg-violet-500/10 ${focusRing}`}+ className={`shrink-0 min-h-[44px] sm:min-h-[36px] px-3 rounded-lg text-xs font-semibold text-[#b8adff] hover:bg-sky-500/10 ${focusRing}`}data-idea-open-jar>Open jardiff --git a/frontend/src/components/IdeaJarRow.tsx b/frontend/src/components/IdeaJarRow.tsxindex acc08e98..7f02bf4c 100644--- a/frontend/src/components/IdeaJarRow.tsx+++ b/frontend/src/components/IdeaJarRow.tsx@@ -64,7 +64,7 @@ export const IdeaJarRow: React.FC<{</span><span className="truncate flex-1">Idea jar</span>{count > 0 && (- <span className="shrink-0 min-w-[18px] px-1.5 py-px rounded-full bg-violet-500 text-white text-[10px] font-semibold text-center" data-jar-badge>+ <span className="shrink-0 min-w-[18px] px-1.5 py-px rounded-full bg-sky-600 text-white text-[10px] font-semibold text-center" data-jar-badge>{badgeText(count)}<span className="sr-only"> {count === 1 ? 'take' : 'takes'} ready</span></span>@@ -90,7 +90,7 @@ export const IdeaJarRow: React.FC<{<label htmlFor={`${id}-in`} className="sr-only">Drop an idea in the jar</label>- <div className="flex items-center gap-2 h-9 px-2.5 rounded-xl border border-violet-400/60 bg-[#120e26] focus-within:border-violet-300">+ <div className="flex items-center gap-2 h-9 px-2.5 rounded-xl border border-sky-400/60 bg-[#120e26] focus-within:border-sky-400"><inputref={input}id={`${id}-in`}diff --git a/frontend/src/components/ImportDialog.tsx b/frontend/src/components/ImportDialog.tsxindex 0e85bdd3..e564ce5b 100644--- a/frontend/src/components/ImportDialog.tsx+++ b/frontend/src/components/ImportDialog.tsx@@ -45,7 +45,7 @@ import { FolderStep, FoundChooseRow, FoundStep, GithubSourceBlock, GithubStep, tconst btn ='flex items-center justify-center gap-1.5 px-3 py-2 rounded-lg text-xs font-medium text-zinc-300 border border-zinc-700/60 bg-zinc-800/60 hover:bg-zinc-700/70 hover:text-zinc-100 transition-colors disabled:opacity-50';const primary =- 'flex items-center justify-center gap-1.5 px-3 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50';+ 'flex items-center justify-center gap-1.5 px-3 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50';const danger ='flex items-center justify-center gap-1.5 px-3 py-2 rounded-lg text-xs font-medium text-white bg-rose-600 hover:bg-rose-500 transition-colors disabled:opacity-50';const card = 'rounded-xl border border-zinc-800 bg-zinc-950/60';@@ -178,7 +178,7 @@ export const PromptStep: React.FC<{<div className={`${card} p-3 space-y-2`}><div className="flex items-center justify-between gap-2"><p className="text-xs font-medium text-zinc-300" id="import-prompt-label">Message for your bot</p>- <button type="button" onClick={onCopy} className={copied ? `${btn} text-emerald-300` : btn}>+ <button type="button" onClick={onCopy} className={copied ? `${btn} text-ok` : btn}>{copied ? <Check size={13} /> : <ClipboardCopy size={13} />} {copied ? 'Copied' : 'Copy'}</button></div>@@ -473,7 +473,7 @@ export const DoneView: React.FC<{ applied: Applied; undo: UndoState; onUndo: (fo<div className="space-y-3"><div role="status" className="space-y-1"><p className="flex items-center gap-2 text-sm text-zinc-100">- <Check size={16} className="text-emerald-400" /> Imported {skillsOnly ? plural(c.skills.length, 'skill') : plural(names.length, 'bot')}+ <Check size={16} className="text-ok" /> Imported {skillsOnly ? plural(c.skills.length, 'skill') : plural(names.length, 'bot')}</p>{github && (<p className="text-[11px] text-zinc-400 break-words" data-github-done>diff --git a/frontend/src/components/InboxNew.tsx b/frontend/src/components/InboxNew.tsxindex b07480e3..b33b9fef 100644--- a/frontend/src/components/InboxNew.tsx+++ b/frontend/src/components/InboxNew.tsx@@ -162,7 +162,7 @@ const ReviewSubline: React.FC<{ item: ReviewItem }> = ({ item }) => {return (<span className="flex flex-wrap items-center gap-x-1.5 gap-y-1">{item.round.n > 1 && (- <span className="px-1.5 rounded-md border border-violet-400/40 bg-violet-500/10 text-violet-200 text-[11px]" data-round-chip>+ <span className="px-1.5 rounded-md border border-sky-400/40 bg-sky-500/10 text-sky-200 text-[11px]" data-round-chip>Round {item.round.n}</span>)}@@ -231,7 +231,7 @@ const QueueRow: React.FC<RowProps> = ({ item, selected, focusable, wide, busy, oconst oneTap = !!review && review.one_tap && !review.stale && !review.approve_error && review.verdict.result !== 'none' && !isBeingChecked(review);const stale = !!review?.stale;const disabled = busy !== null;- const tint = selected ? 'border-violet-400/70 bg-violet-500/10' : GROUP_STYLE[item.group].row;+ const tint = selected ? 'border-sky-400/70 bg-sky-500/10' : GROUP_STYLE[item.group].row;const kicker = (isDoneGroup(item.group) ? rowKicker(item) : null) ?? place ?? null;// A team job names the team's size where a row names its bot: "@Spring launch · 3 bots" (Needs B 2).const who = (item.kind === 'team_job' ? teamSize(item) : null) ?? item.kwant_name;@@ -271,7 +271,7 @@ const QueueRow: React.FC<RowProps> = ({ item, selected, focusable, wide, busy, o</span>{unread && (<span className="ml-auto shrink-0 inline-flex items-center" data-unread>- <span className="block w-2 h-2 rounded-full bg-violet-400" aria-hidden="true" />+ <span className="block w-2 h-2 rounded-full bg-sky-400" aria-hidden="true" /><span className="sr-only">New</span></span>)}@@ -402,7 +402,7 @@ const ProgressBar: React.FC<{ rows: BatchRow[] }> = ({ rows }) => {return (<div className="h-1.5 rounded-full bg-zinc-800 overflow-hidden" role="progressbar" aria-valuemin={0} aria-valuemax={p.total} aria-valuenow={p.done} aria-label="Approve all"><div- className="h-full w-full origin-left rounded-full bg-violet-400 transition-transform duration-300 motion-reduce:transition-none"+ className="h-full w-full origin-left rounded-full bg-sky-400 transition-transform duration-300 motion-reduce:transition-none"style={{ transform: `scaleX(${p.total ? p.done / p.total : 0})` }}/></div>@@ -415,7 +415,7 @@ const BatchCard: React.FC<{ items: InboxItem[]; selected: boolean; focusable: boconst n = running ? batch!.rows.length : items.length;const people = running ? batch!.rows : items;return (- <li role="presentation" className={`rounded-xl border transition-colors ${selected ? 'border-violet-400/70 bg-violet-500/10' : 'border-violet-400/30 bg-violet-950/20'}`} data-batch-card>+ <li role="presentation" className={`rounded-xl border transition-colors ${selected ? 'border-sky-400/70 bg-sky-500/10' : 'border-sky-400/30 bg-sky-950/20'}`} data-batch-card><divrole="option"id="inbox-opt-batch"@@ -478,7 +478,7 @@ const BatchCard: React.FC<{ items: InboxItem[]; selected: boolean; focusable: boconst ROW_STATUS: Record<BatchRow['status'], { word: string; tone: string; icon: React.ReactNode }> = {approved: { word: 'Approved', tone: 'text-teal-300', icon: <Check size={14} className="text-teal-300" aria-hidden="true" /> },came_back: { word: 'Came back', tone: 'text-rose-300', icon: <XCircle size={14} className="text-rose-300" aria-hidden="true" /> },- approving: { word: 'Approving…', tone: 'text-violet-200', icon: <Loader2 size={14} className="text-violet-200 animate-spin motion-reduce:animate-none" aria-hidden="true" /> },+ approving: { word: 'Approving…', tone: 'text-sky-200', icon: <Loader2 size={14} className="text-sky-200 animate-spin motion-reduce:animate-none" aria-hidden="true" /> },waiting: { word: 'Waiting', tone: 'text-zinc-400', icon: <CircleDashed size={14} className="text-zinc-500" aria-hidden="true" /> },error: { word: 'Couldn’t approve', tone: 'text-rose-300', icon: <AlertTriangle size={14} className="text-rose-300" aria-hidden="true" /> },stopped: { word: 'Left in To review', tone: 'text-zinc-400', icon: <MinusCircle size={14} className="text-zinc-500" aria-hidden="true" /> },@@ -891,7 +891,7 @@ export const InboxNew: React.FC<InboxNewProps> = ({{notice && (<pclassName={`px-3 py-2 rounded-lg border text-xs ${- notice.tone === 'error' ? 'border-rose-500/30 bg-rose-500/10 text-rose-200' : notice.tone === 'info' ? 'border-slate-500/30 bg-slate-500/10 text-slate-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-100'+ notice.tone === 'error' ? 'border-rose-500/30 bg-rose-500/10 text-rose-200' : notice.tone === 'info' ? 'border-zinc-500/30 bg-zinc-500/10 text-zinc-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-100'}`}>{notice.text}diff --git a/frontend/src/components/InstallHint.tsx b/frontend/src/components/InstallHint.tsxindex f20253ec..70df0a5e 100644--- a/frontend/src/components/InstallHint.tsx+++ b/frontend/src/components/InstallHint.tsx@@ -65,7 +65,7 @@ export const InstallHint: React.FC = () => {<buttontype="button"onClick={runInstallPrompt}- className="mt-2 inline-flex min-h-[44px] items-center gap-1.5 rounded-lg bg-sky-600 px-4 font-medium text-white hover:bg-sky-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400"+ className="mt-2 inline-flex min-h-[44px] items-center gap-1.5 rounded-lg bg-sky-600 px-4 font-medium text-white hover:bg-sky-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400"><Download size={14} aria-hidden="true" /> Install</button>diff --git a/frontend/src/components/JiraSetup.tsx b/frontend/src/components/JiraSetup.tsxindex 2bf28bfa..68c44b87 100644--- a/frontend/src/components/JiraSetup.tsx+++ b/frontend/src/components/JiraSetup.tsx@@ -277,7 +277,7 @@ const CheckRow: React.FC<{>{sw ? (<span- className={`absolute left-[3px] top-[3px] w-3.5 h-3.5 rounded-full transition-transform motion-reduce:transition-none ${on ? 'translate-x-4 bg-zinc-50' : 'shadow-[inset_0_0_0_2px_#d4d4d8]'}`}+ className={`absolute left-[3px] top-[3px] w-3.5 h-3.5 rounded-full transition-transform motion-reduce:transition-none ${on ? 'translate-x-4 bg-zinc-50' : 'shadow-[inset_0_0_0_2px_theme(colors.zinc.300)]'}`}aria-hidden="true"/>) : (diff --git a/frontend/src/components/LayaStatus.tsx b/frontend/src/components/LayaStatus.tsxindex de28599e..002fdad7 100644--- a/frontend/src/components/LayaStatus.tsx+++ b/frontend/src/components/LayaStatus.tsx@@ -45,7 +45,7 @@ export const layaPill = (status: LayaStatus | null) => {switch (status?.state) {case 'online':case 'external':- return { dot: 'bg-emerald-400', label: ready };+ return { dot: 'bg-teal-300', label: ready };case 'installing':return { dot: 'bg-amber-400 animate-pulse', label: 'Laya is installing · picking by keywords meanwhile' };case 'starting':diff --git a/frontend/src/components/LetterView.tsx b/frontend/src/components/LetterView.tsxindex e3f9e1a4..b4a00e94 100644--- a/frontend/src/components/LetterView.tsx+++ b/frontend/src/components/LetterView.tsx@@ -45,14 +45,14 @@ const input =const sectionTitle = 'text-[11px] font-semibold text-zinc-500 uppercase tracking-wider';const STATE_TONE: Record<string, string> = {- confirmed: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ confirmed: 'border-teal-400/30 bg-teal-400/10 text-teal-200',uncertain: 'border-amber-500/40 bg-amber-500/15 text-amber-200',unconfirmed: 'border-zinc-700 bg-zinc-800 text-zinc-300',empty: 'border-zinc-800 bg-transparent text-zinc-500',};const BANNER_TONE = {sky: 'border-sky-500/30 bg-sky-500/10 text-sky-100',- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-100',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-100',amber: 'border-amber-500/30 bg-amber-500/10 text-amber-100',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-100',};@@ -252,7 +252,7 @@ export const StateBadge: React.FC<{ field: LetterField | null | undefined }> = ({s === 'confirmed' && <Check size={11} aria-hidden="true" />}{FIELD_STATE_LABEL[s]}{auto && (- <span className="ml-0.5 px-1 rounded bg-emerald-500/15 text-[10px] font-medium uppercase tracking-wide text-emerald-300/90">+ <span className="ml-0.5 px-1 rounded bg-teal-400/15 text-[10px] font-medium uppercase tracking-wide text-teal-300/90">auto<span className="sr-only">: confirmed automatically, not by you</span></span>)}@@ -338,7 +338,7 @@ export const FieldRow: React.FC<{ fkey: SingleKey; label: string; hint: string;{confirmBlocked && <p className="text-[11px] text-amber-200">{confirmBlocked}</p>}<div className="flex flex-wrap gap-2 pt-0.5">{field?.value && state !== 'confirmed' && (- <button type="button" disabled={busy || !!confirmBlocked} onClick={() => save(confirmBody(fkey))} className={`${actionBtn} bg-emerald-600/90 hover:bg-emerald-500 text-white`}>+ <button type="button" disabled={busy || !!confirmBlocked} onClick={() => save(confirmBody(fkey))} className={`${actionBtn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`}><Check size={13} aria-hidden="true" /> Confirm</button>)}@@ -477,7 +477,7 @@ export const ListField: React.FC<{ fkey: ListKey; label: string; hint: string; e<div className="flex items-start gap-2 min-w-0">{checklist ? (<label className="flex items-start gap-2 min-w-0 flex-1 cursor-pointer">- <input type="checkbox" className="mt-0.5 h-4 w-4 shrink-0 accent-emerald-500" checked={!!it.done} disabled={busy} onChange={(e) => tick(i, e.target.checked)} />+ <input type="checkbox" className="mt-0.5 h-4 w-4 shrink-0 accent-sky-500" checked={!!it.done} disabled={busy} onChange={(e) => tick(i, e.target.checked)} /><span className={`text-xs break-words ${it.done ? 'text-zinc-500 line-through' : 'text-zinc-100'}`}>{it.value}</span></label>) : (@@ -493,7 +493,7 @@ export const ListField: React.FC<{ fkey: ListKey; label: string; hint: string; e)}<div className="flex flex-wrap gap-2">{items.length > 0 && unchecked && (- <button type="button" disabled={busy} onClick={() => save(items.map((x) => ({ value: x.value, done: x.done })), true)} className={`${actionBtn} bg-emerald-600/90 hover:bg-emerald-500 text-white`}>+ <button type="button" disabled={busy} onClick={() => save(items.map((x) => ({ value: x.value, done: x.done })), true)} className={`${actionBtn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`}><Check size={13} aria-hidden="true" /> Confirm all<span className="sr-only"> {label}</span></button>)}@@ -727,7 +727,7 @@ export const LetterDetail: React.FC<LetterDetailProps> = ({ view, loading, error<h2 className="text-sm font-semibold text-zinc-100 truncate">{c?.title ?? 'Letter'}</h2><p className="text-[11px] text-zinc-400 truncate mt-0.5">Loose ends · letter</p></div>- {c && closed && <span className="shrink-0 px-1.5 py-px rounded-full border text-[11px] border-emerald-500/30 bg-emerald-500/10 text-emerald-200">{c.status === 'closed' ? 'Done' : 'Dismissed'}</span>}+ {c && closed && <span className="shrink-0 px-1.5 py-px rounded-full border text-[11px] border-teal-400/30 bg-teal-400/10 text-teal-200">{c.status === 'closed' ? 'Done' : 'Dismissed'}</span>}</div><div className="flex-1 overflow-y-auto overflow-x-hidden p-4 sm:p-6" aria-busy={loading || reading}>@@ -818,7 +818,7 @@ export const LetterDetail: React.FC<LetterDetailProps> = ({ view, loading, error<RotateCcw size={13} aria-hidden="true" /> Reopen</button>) : (- <button type="button" disabled={acting || reading} onClick={onDone} className={`${actionBtn} bg-emerald-600/90 hover:bg-emerald-500 text-white`}>+ <button type="button" disabled={acting || reading} onClick={onDone} className={`${actionBtn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`}><CheckCircle2 size={13} aria-hidden="true" /> Mark done</button>)}diff --git a/frontend/src/components/LooseEndsView.tsx b/frontend/src/components/LooseEndsView.tsxindex a5a6639d..ecb26384 100644--- a/frontend/src/components/LooseEndsView.tsx+++ b/frontend/src/components/LooseEndsView.tsx@@ -72,7 +72,7 @@ import {const TONES: Record<Tone, string> = {amber: 'border-amber-500/30 bg-amber-500/10 text-amber-200',- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-200',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-200',sky: 'border-sky-500/30 bg-sky-500/10 text-sky-200',zinc: 'border-zinc-700 bg-zinc-800 text-zinc-300',@@ -267,7 +267,7 @@ export const LooseCaseCard: React.FC<LooseCaseCardProps> = ({ c, busy, now = Datdisabled={busy}aria-expanded={a === 'snooze' || a === 'dismiss' ? choice === a : undefined}onClick={() => press(a)}- className={a === 'done' ? `${actionBtn} bg-emerald-600/90 hover:bg-emerald-500 text-white` : quietBtn}+ className={a === 'done' ? `${actionBtn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200` : quietBtn}>{a === 'done' && <CheckCircle2 size={13} aria-hidden="true" />}{a === 'draft' && <RefreshCw size={13} aria-hidden="true" />}@@ -681,7 +681,7 @@ export const GitHubConnectForm: React.FC<{) : (<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">{ready && (- <p role="status" className="sm:col-span-2 text-xs text-emerald-300" data-save-ready>+ <p role="status" className="sm:col-span-2 text-xs text-ok" data-save-ready>{ready}</p>)}@@ -986,7 +986,7 @@ export const LooseSources: React.FC<{</div>{error && <p className="text-xs text-rose-300">{error}</p>}<div role="status" aria-live="polite">- {note && <p className={`text-xs ${note.error ? 'text-rose-300' : 'text-emerald-300'}`}>{note.text}</p>}+ {note && <p className={`text-xs ${note.error ? 'text-rose-300' : 'text-ok'}`}>{note.text}</p>}</div>{adding && (<AddSourceForm@@ -1262,7 +1262,7 @@ export const LooseEndsView: React.FC<LooseEndsViewProps> = ({<div role="status" aria-live="polite">{notice && (- <p className={`px-3 py-2 rounded-lg border text-xs ${notice.error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200'}`}>+ <p className={`px-3 py-2 rounded-lg border text-xs ${notice.error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-200'}`}>{notice.text}</p>)}@@ -1298,7 +1298,7 @@ export const LooseEndsView: React.FC<LooseEndsViewProps> = ({<div role="tabpanel" aria-label={current.label}>{shown.length === 0 ? (<div className="py-12 flex flex-col items-center text-center gap-2" data-empty>- <CheckCircle2 size={28} className="text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={28} className="text-ok" aria-hidden="true" /><p className="text-sm font-medium text-zinc-200">{tab === 'open' ? 'No loose ends' : `Nothing ${current.label.toLowerCase()}`}</p><p className="text-xs text-zinc-500 max-w-xs">{current.empty}</p></div>diff --git a/frontend/src/components/ManageTeamModal.tsx b/frontend/src/components/ManageTeamModal.tsxindex da215bd6..98461f9a 100644--- a/frontend/src/components/ManageTeamModal.tsx+++ b/frontend/src/components/ManageTeamModal.tsx@@ -565,7 +565,7 @@ export const ManageTeamModal: React.FC<ManageTeamModalProps> = ({aria-hidden="true"className={`w-5 h-5 shrink-0 rounded flex items-center justify-center border transition-all ${isMember- ? 'bg-sky-500 text-white border-sky-400'+ ? 'bg-sky-600 text-white border-sky-400': 'border-zinc-700 bg-zinc-900 text-transparent'}`}>@@ -592,8 +592,8 @@ export const ManageTeamModal: React.FC<ManageTeamModalProps> = ({disabled={isDeleting}className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium border transition-all ${confirmDelete- ? 'bg-red-600 text-white border-red-500 animate-pulse'- : 'text-red-400 hover:text-red-300 bg-red-500/10 hover:bg-red-500/20 border-red-500/20'+ ? 'bg-rose-600 text-white border-rose-500 animate-pulse motion-reduce:animate-none'+ : 'text-rose-400 hover:text-rose-300 bg-rose-500/10 hover:bg-rose-500/20 border-rose-500/20'}`}><Trash2 size={13} />@@ -614,7 +614,7 @@ export const ManageTeamModal: React.FC<ManageTeamModalProps> = ({<buttontype="submit"disabled={isSaving}- className="flex items-center gap-1.5 px-4 py-1.5 rounded-lg text-xs font-medium bg-sky-500 hover:bg-sky-400 text-white shadow-sm transition-all"+ className="kw-btn-primary kw-focus gap-1.5 px-4 py-1.5 rounded-lg text-xs"><Check size={14} /><span>{isSaving ? 'Saving...' : 'Save Changes'}</span>diff --git a/frontend/src/components/MarkdownRenderer.tsx b/frontend/src/components/MarkdownRenderer.tsxindex 37b88cde..c9d84ca4 100644--- a/frontend/src/components/MarkdownRenderer.tsx+++ b/frontend/src/components/MarkdownRenderer.tsx@@ -44,8 +44,8 @@ const CodeBlock: React.FC<CodeBlockProps> = ({ language, value }) => {>{copied ? (<>- <Check size={12} className="text-emerald-400" />- <span className="text-emerald-400">Copied</span>+ <Check size={12} className="text-ok" />+ <span className="text-ok">Copied</span></>) : (<>diff --git a/frontend/src/components/McpServersModal.tsx b/frontend/src/components/McpServersModal.tsxindex 341e4e7f..02993b57 100644--- a/frontend/src/components/McpServersModal.tsx+++ b/frontend/src/components/McpServersModal.tsx@@ -140,7 +140,7 @@ export const SignInBox: React.FC<{type="button"onClick={onConnect}disabled={isConnecting && !macApp}- className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-md text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-60"+ className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-md text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-60">{isConnecting && !macApp ? <Loader2 size={12} className="animate-spin" /> : <KeyRound size={12} />}{isConnecting ? (macApp ? 'Open the sign-in again' : 'Waiting…') : failure ? 'Retry' : 'Connect'}@@ -163,7 +163,7 @@ const StatusPill: React.FC<{ server: McpServer; status?: StoredStatus; testing:icon = <PauseCircle size={11} />;label = 'Paused';} else if (kind === 'ok' && status) {- cls = 'bg-emerald-500/10 text-emerald-300 border-emerald-500/20';+ cls = 'bg-teal-400/10 text-ok border-teal-400/20';icon = <CheckCircle2 size={11} />;label = `Working · ${status.tools.length} ${status.tools.length === 1 ? 'tool' : 'tools'}`;} else if (kind === 'needs_sign_in') {@@ -531,7 +531,17 @@ export const McpServersModal: React.FC<McpServersModalProps> = ({ isOpen, onClosif (popup) {try {popup.document.title = 'Signing in…';- popup.document.body.style.cssText = 'background:#18181b;color:#a1a1aa;font:14px system-ui;display:grid;place-items:center;height:100vh;margin:0';+ // The popup has none of the app's CSS: give it kwant's surface, muted text and Inter (its @font-face rules).+ const css = getComputedStyle(document.documentElement);+ const faces = [...document.styleSheets]+ .flatMap((s) => { try { return [...s.cssRules]; } catch { return []; } })+ .filter((r) => r instanceof CSSFontFaceRule)+ .map((r) => r.cssText)+ .join('\n');+ const st = popup.document.createElement('style');+ st.textContent = faces;+ popup.document.head.append(st);+ popup.document.body.style.cssText = `background:${css.getPropertyValue('--kw-surface-main')};color:${css.getPropertyValue('--kw-muted')};font:14px ${getComputedStyle(document.body).fontFamily};display:grid;place-items:center;height:100vh;margin:0`;popup.document.body.textContent = `Opening sign-in for ${server.name}…`;} catch {// not ours to style; harmless@@ -818,7 +828,7 @@ export const McpServersModal: React.FC<McpServersModalProps> = ({ isOpen, onClos{server.transport === 'stdio' ? 'Runs a command on this machine' : 'Connects to a URL'}{secretCount > 0 && <span> · {secretCount} hidden {secretCount === 1 ? 'secret' : 'secrets'}</span>}{signedIn && (- <span className="text-emerald-300/80">+ <span className="text-teal-300/80">{' · '}<ShieldCheck size={11} className="inline -mt-px mr-0.5" aria-hidden="true" />Signed in@@ -1000,7 +1010,7 @@ export const McpServersModal: React.FC<McpServersModalProps> = ({ isOpen, onClos<buttontype="button"onClick={openCatalog}- className="flex-shrink-0 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm whitespace-nowrap"+ className="flex-shrink-0 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm whitespace-nowrap"><Plus size={14} />Add server@@ -1216,7 +1226,7 @@ export const McpServersModal: React.FC<McpServersModalProps> = ({ isOpen, onClos<buttontype="submit"disabled={saving}- className="inline-flex items-center gap-1.5 px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-60"+ className="inline-flex items-center gap-1.5 px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-60">{saving && <Loader2 size={13} className="animate-spin" />}{editing === 'new' ? 'Add & test' : 'Save & test'}diff --git a/frontend/src/components/McpSuggestionCard.tsx b/frontend/src/components/McpSuggestionCard.tsxindex 68e698af..dbd1695f 100644--- a/frontend/src/components/McpSuggestionCard.tsx+++ b/frontend/src/components/McpSuggestionCard.tsx@@ -94,7 +94,7 @@ export const McpSuggestionCard: React.FC<McpSuggestionCardProps> = ({};const border =- view.status === 'installed' ? 'border-emerald-500/30' : view.status === 'dismissed' ? 'border-zinc-800' : failure ? 'border-rose-500/40' : 'border-sky-500/35';+ view.status === 'installed' ? 'border-teal-400/30' : view.status === 'dismissed' ? 'border-zinc-800' : failure ? 'border-rose-500/40' : 'border-sky-500/35';return (<section data-message-id={messageId} aria-labelledby={headingId} className={`flex items-start gap-3.5 w-full max-w-5xl rounded-xl ${flash ? 'kw-flash' : ''}`}>@@ -231,7 +231,7 @@ export const McpSuggestionCard: React.FC<McpSuggestionCardProps> = ({<KeyRound size={13} aria-hidden="true" /> Installed. Sign in to {view.title} so {kwantName} can use it.</span>) : (- <span className="inline-flex items-center gap-1.5 text-emerald-300">+ <span className="inline-flex items-center gap-1.5 text-ok"><CheckCircle2 size={13} aria-hidden="true" /> Ready. {kwantName} can use it from its next reply.</span>)diff --git a/frontend/src/components/MemoryPanel.tsx b/frontend/src/components/MemoryPanel.tsxindex 5a1f2f44..8bd92010 100644--- a/frontend/src/components/MemoryPanel.tsx+++ b/frontend/src/components/MemoryPanel.tsx@@ -15,7 +15,7 @@ const inputClass =const SourceBadge: React.FC<{ source: Memory['source'] }> = ({ source }) =>source === 'agent' ? (- <span className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-medium bg-violet-500/10 text-violet-300 border border-violet-500/20">+ <span className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-medium bg-sky-500/10 text-info border border-sky-500/20"><Bot size={10} aria-hidden="true" /> Bot</span>) : (@@ -149,7 +149,7 @@ export const MemoryRow: React.FC<{type="button"onClick={save}disabled={busy || !text.trim() || text.length > MAX_MEMORY}- className={`${smallBtn} border-sky-500/50 bg-sky-600 text-white hover:bg-sky-500`}+ className={`${smallBtn} border-sky-500/50 bg-sky-600 text-white hover:bg-sky-700`}><Check size={11} /> Save</button>@@ -317,7 +317,7 @@ export const MemoryPanel: React.FC<{ kwantId: string; kwantName: string; onOpenT<buttontype="submit"disabled={adding || full || !draft.trim() || draft.length > MAX_MEMORY}- className={`${smallBtn} ml-auto border-sky-500/50 bg-sky-600 text-white hover:bg-sky-500`}+ className={`${smallBtn} ml-auto border-sky-500/50 bg-sky-600 text-white hover:bg-sky-700`}>{adding ? <Loader2 size={11} className="animate-spin motion-reduce:animate-none" /> : <Plus size={11} />} Add</button>diff --git a/frontend/src/components/MissionBoardView.tsx b/frontend/src/components/MissionBoardView.tsxindex 4c469599..74d63dbd 100644--- a/frontend/src/components/MissionBoardView.tsx+++ b/frontend/src/components/MissionBoardView.tsx@@ -181,9 +181,9 @@ import { ReceiptsDownload } from './ReceiptsDownload';import { waitLine } from '../waitingChecks';const TONES: Record<Tone, string> = {- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-200',amber: 'border-amber-500/30 bg-amber-500/10 text-amber-200',- violet: 'border-violet-500/30 bg-violet-500/10 text-violet-200',+ violet: 'border-sky-500/30 bg-sky-500/10 text-sky-200',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-200',sky: 'border-sky-500/30 bg-sky-500/10 text-sky-200',zinc: 'border-zinc-700 bg-zinc-800 text-zinc-300',@@ -194,15 +194,15 @@ const actionBtn =const quietBtn = `${actionBtn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;/** A secondary action that shouldn't pull the eye: text only, same tap target. */const subtleBtn = `${actionBtn} -ml-3 text-zinc-400 hover:text-zinc-200 hover:bg-zinc-800/60 underline underline-offset-2 decoration-zinc-600`;-const mainBtn = `${actionBtn} bg-sky-600 text-white hover:bg-sky-500`;-const goodBtn = `${actionBtn} bg-emerald-600 text-white hover:bg-emerald-500`;-const reviewBtn = `${actionBtn} bg-violet-500/80 text-white hover:bg-violet-500`;+const mainBtn = `${actionBtn} bg-sky-600 text-white hover:bg-sky-700`;+const goodBtn = `${actionBtn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`;+const reviewBtn = `${actionBtn} bg-sky-600 text-white hover:bg-sky-700`;const dangerBtn = `${actionBtn} border border-rose-500/30 text-rose-200 hover:bg-rose-500/10`;const card = 'rounded-xl border border-zinc-800 bg-zinc-900/40';// Card-sized buttons: compact on desktop, a full 40px tap target on the phone.const cardBtn ='relative inline-flex items-center justify-center gap-1 min-h-[40px] sm:min-h-[28px] px-2.5 rounded-lg text-[11px] font-medium disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';-const cardGoodBtn = 'bg-emerald-600/90 text-white hover:bg-emerald-500';+const cardGoodBtn = 'bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200';const cardPlainBtn = 'border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700';const cardQuietBtn = 'text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800';const field =@@ -216,7 +216,7 @@ export const Badge: React.FC<{ tone: Tone; children: React.ReactNode; title?: st);const Notice: React.FC<{ text: string; error?: boolean }> = ({ text, error = false }) => (- <p role={error ? 'alert' : 'status'} className={`px-3 py-2 rounded-lg border text-xs ${error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200'}`}>+ <p role={error ? 'alert' : 'status'} className={`px-3 py-2 rounded-lg border text-xs ${error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-200'}`}>{text}</p>);@@ -462,7 +462,7 @@ export const InsightsStrip: React.FC<{sub: af.attempts > 0 ? `${formatTokens(af.tokens)} tokens on retries` : 'No retries this week',});}- const valueTone: Partial<Record<Tone, string>> = { emerald: 'text-emerald-300', rose: 'text-rose-300', amber: 'text-amber-300' };+ const valueTone: Partial<Record<Tone, string>> = { emerald: 'text-ok', rose: 'text-rose-300', amber: 'text-amber-300' };return (<section aria-label="This week" data-insights><dl className={`grid grid-cols-2 sm:grid-cols-3 ${items.length > 5 ? 'lg:grid-cols-6' : 'lg:grid-cols-5'} gap-2`}>@@ -532,7 +532,7 @@ export const MeasuresPanel: React.FC<{ insights: Insights | null; timeZone?: str<div className="grid gap-3 sm:grid-cols-[minmax(0,10rem)_minmax(0,1fr)_minmax(0,12rem)] sm:items-end"><dl className="min-w-0" data-measure="per-week"><dt className="text-[11px] text-zinc-400">Verified per active week</dt>- <dd className="text-lg font-semibold tabular-nums text-emerald-300">{v.headline}</dd>+ <dd className="text-lg font-semibold tabular-nums text-ok">{v.headline}</dd><dd className="text-[10px] text-zinc-400">{v.headlineSub}</dd></dl>@@ -550,8 +550,8 @@ export const MeasuresPanel: React.FC<{ insights: Insights | null; timeZone?: strclassName={`block w-full rounded-sm ${w.verified > 0? n === v.weeks.length - 1- ? 'bg-emerald-400'- : 'bg-emerald-500/60'+ ? 'bg-teal-300'+ : 'bg-teal-400/60': w.active? 'bg-zinc-600': 'border-t border-dashed border-zinc-700'@@ -760,7 +760,7 @@ export const TaskCard: React.FC<{</span>)}{status && (- <span className={`block text-[11px] break-words line-clamp-2 ${t.state === 'needs_you' || t.held_at || (t.state === 'review' && (approvalHolds(t.checks_summary) || stoppedWaiting(t) > 0)) ? 'text-amber-200' : autofixLive ? 'text-violet-200' : t.state === 'blocked' || t.state === 'failed' ? 'text-rose-300' : 'text-zinc-400'}`}>+ <span className={`block text-[11px] break-words line-clamp-2 ${t.state === 'needs_you' || t.held_at || (t.state === 'review' && (approvalHolds(t.checks_summary) || stoppedWaiting(t) > 0)) ? 'text-amber-200' : autofixLive ? 'text-sky-200' : t.state === 'blocked' || t.state === 'failed' ? 'text-rose-300' : 'text-zinc-400'}`}>{status}</span>)}@@ -786,7 +786,7 @@ export const TaskCard: React.FC<{)}<span className="tabular-nums">{costText(t.spent_tokens, t.budget_tokens)}</span>{(t.state === 'review' || t.state === 'verified' || t.state === 'failed' || t.checks_summary.total > 0) && (- <span className={`inline-flex items-center gap-1 ${checks.tone === 'emerald' ? 'text-emerald-300' : checks.tone === 'rose' ? 'text-rose-300' : checks.tone === 'amber' ? 'text-amber-200' : 'text-zinc-400'}`}>+ <span className={`inline-flex items-center gap-1 ${checks.tone === 'emerald' ? 'text-ok' : checks.tone === 'rose' ? 'text-rose-300' : checks.tone === 'amber' ? 'text-amber-200' : 'text-zinc-400'}`}>{checks.tone === 'emerald' ? <CheckCircle2 size={11} aria-hidden="true" /> : checks.tone === 'rose' ? <XCircle size={11} aria-hidden="true" /> : <CircleDashed size={11} aria-hidden="true" />}{checks.text}</span>@@ -809,7 +809,7 @@ export const TaskCard: React.FC<{<buttontype="button"onClick={() => openReview(t.id, 'board')}- className={`${cardBtn} border border-violet-400/40 bg-violet-500/15 text-violet-100 hover:bg-violet-500/25`}+ className={`${cardBtn} border border-sky-400/40 bg-sky-500/15 text-sky-100 hover:bg-sky-500/25`}data-card-review><ShieldCheck size={12} aria-hidden="true" />@@ -1130,8 +1130,8 @@ export const LiveStrip: React.FC<{<div className="flex flex-wrap items-center gap-x-2 gap-y-1"><span className="inline-flex items-center gap-1.5 text-xs font-semibold text-zinc-100"><span className="relative flex h-2 w-2" aria-hidden="true">- {!idle && <span className="absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-60 animate-ping motion-reduce:animate-none" />}- <span className={`relative inline-flex h-2 w-2 rounded-full ${idle ? 'bg-zinc-600' : 'bg-emerald-400'}`} />+ {!idle && <span className="absolute inline-flex h-full w-full rounded-full bg-teal-300 opacity-60 animate-ping motion-reduce:animate-none" />}+ <span className={`relative inline-flex h-2 w-2 rounded-full ${idle ? 'bg-zinc-600' : 'bg-teal-300'}`} /></span>Live now</span>@@ -1158,14 +1158,14 @@ export const LiveStrip: React.FC<{disabled={!onOpen}title={`${b.name}: ${(b.kind === 'audit' && b.title ? b.title : b.what).replace(/\.$/, '')}${b.more ? ` (+${b.more} more)` : ''}. ${b.kind === 'audit' ? 'Open the task.' : 'Open the conversation.'}`}className={`group flex items-center gap-2 w-full max-w-[320px] sm:w-[240px] min-h-[44px] px-2 py-1.5 rounded-xl border text-left ${- b.kind === 'task' || b.kind === 'audit' ? 'border-sky-500/30 bg-sky-500/5 hover:bg-sky-500/10' : 'border-emerald-500/25 bg-emerald-500/5 hover:bg-emerald-500/10'+ b.kind === 'task' || b.kind === 'audit' ? 'border-sky-500/30 bg-sky-500/5 hover:bg-sky-500/10' : 'border-teal-400/25 bg-teal-400/5 hover:bg-teal-400/10'} ${focusRing}`}data-live-bot={b.kwantId}data-live-kind={b.kind}><span className="relative shrink-0"><OwnerAvatar kwantId={b.kwantId} name={b.name} size={26} />- <span className="absolute -bottom-0.5 -right-0.5 h-2.5 w-2.5 rounded-full border-2 border-zinc-950 bg-emerald-400" aria-hidden="true" />+ <span className="absolute -bottom-0.5 -right-0.5 h-2.5 w-2.5 rounded-full border-2 border-zinc-950 bg-teal-300" aria-hidden="true" /></span><span className="min-w-0 flex-1"><span className="flex items-baseline gap-1.5">@@ -1283,11 +1283,11 @@ export const UndoToast: React.FC<{ text: string; onUndo: () => void; onClose: ()const statusIcon = (tone: Tone) =>tone === 'emerald' ? (- <CheckCircle2 size={15} className="text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={15} className="text-ok" aria-hidden="true" />) : tone === 'rose' ? (<XCircle size={15} className="text-rose-400" aria-hidden="true" />) : tone === 'violet' ? (- <Loader2 size={15} className="text-violet-300 animate-spin motion-reduce:animate-none" aria-hidden="true" />+ <Loader2 size={15} className="text-info animate-spin motion-reduce:animate-none" aria-hidden="true" />) : tone === 'amber' ? (<Hand size={15} className="text-amber-300" aria-hidden="true" />) : (@@ -1335,10 +1335,10 @@ export const EvidenceReceipt: React.FC<{}> = ({ receipt, names, busy = false, onApproveCheck, scopeWarnings = [], owner }) => (<section aria-labelledby="receipt-h" className="space-y-3" data-receipt><h4 id="receipt-h" tabIndex={-1} className="flex items-center focus:outline-none gap-1.5 text-xs font-semibold text-zinc-200">- <ShieldCheck size={14} className="text-emerald-400" aria-hidden="true" /> Evidence receipt+ <ShieldCheck size={14} className="text-ok" aria-hidden="true" /> Evidence receipt</h4>{receipt.verifiedBy && (- <p className="px-3 py-2 rounded-lg border border-emerald-500/30 bg-emerald-500/10 text-xs text-emerald-200" data-verified-by>+ <p className="px-3 py-2 rounded-lg border border-teal-400/30 bg-teal-400/10 text-xs text-teal-200" data-verified-by>Verified: {checkKindLabel(receipt.verifiedBy.check.kind).toLowerCase()} passed{receipt.verifiedBy.by ? `, checked by ${receipt.verifiedBy.by}` : ''}{receipt.verifiedBy.check.finished_at ? ` ${ago(receipt.verifiedBy.check.finished_at)}` : ''}.@@ -1593,7 +1593,7 @@ export const FailureBox: React.FC<{</details>)}{status && (- <p className="flex items-start gap-1.5 text-violet-200" data-autofix-status={a!.status}>+ <p className="flex items-start gap-1.5 text-sky-200" data-autofix-status={a!.status}><RefreshCw size={13} className="mt-px shrink-0" aria-hidden="true" /><span>{status}</span></p>@@ -1650,7 +1650,7 @@ export const WorkflowChangeBox: React.FC<{const same = rows.filter((r) => !r.changed);const by = change ? (change.proposed_by === 'kwant' ? 'AutoFix' : change.proposed_by_name || names[change.proposed_by] || 'A bot') : null;const Cell: React.FC<{ label: string; value: string; tone: 'before' | 'after' }> = ({ label, value, tone }) => (- <div className={`min-w-0 rounded-md px-2 py-1.5 ${tone === 'before' ? 'bg-zinc-950/60 text-zinc-400' : 'bg-emerald-500/10 text-emerald-100'}`}>+ <div className={`min-w-0 rounded-md px-2 py-1.5 ${tone === 'before' ? 'bg-zinc-950/60 text-zinc-400' : 'bg-teal-400/10 text-teal-100'}`}><p className="text-[10px] uppercase tracking-wide opacity-70">{label}</p><p className="whitespace-pre-wrap break-words font-mono text-[11px]">{value}</p></div>@@ -2420,15 +2420,15 @@ export const TaskDetailBody: React.FC<{)}{t.claim && (- <section aria-labelledby="live-h" className="px-3 py-2 rounded-lg border border-violet-500/30 bg-violet-500/10 text-xs" data-live>- <h4 id="live-h" className="flex items-center gap-1.5 font-semibold text-violet-100">+ <section aria-labelledby="live-h" className="px-3 py-2 rounded-lg border border-sky-500/30 bg-sky-500/10 text-xs" data-live>+ <h4 id="live-h" className="flex items-center gap-1.5 font-semibold text-sky-100"><span className="relative flex w-2 h-2" aria-hidden="true">- <span className="absolute inline-flex w-full h-full rounded-full bg-violet-400 opacity-75 animate-ping motion-reduce:animate-none" />- <span className="relative inline-flex w-2 h-2 rounded-full bg-violet-400" />+ <span className="absolute inline-flex w-full h-full rounded-full bg-sky-400 opacity-75 animate-ping motion-reduce:animate-none" />+ <span className="relative inline-flex w-2 h-2 rounded-full bg-sky-400" /></span>Working now</h4>- <p className="mt-0.5 text-violet-200">+ <p className="mt-0.5 text-sky-200">{names[t.claim.kwant_id] || owner || 'A bot'} started {ago(t.claim.claimed_at, now)}. If nothing happens, it goes back to Ready {untilText(t.claim.expires_at, now)}.</p></section>diff --git a/frontend/src/components/ModernApprovalCard.tsx b/frontend/src/components/ModernApprovalCard.tsxindex 6aa21ef3..744453e3 100644--- a/frontend/src/components/ModernApprovalCard.tsx+++ b/frontend/src/components/ModernApprovalCard.tsx@@ -483,7 +483,7 @@ export const ModernApprovalCard: React.FC<ModernApprovalCardProps> = ({disabled={disabled}onClick={() => handleDecision('allow_once')}data-approval-allow=""- className="w-full sm:w-auto inline-flex items-center justify-center gap-1.5 min-h-[48px] max-sm:!min-h-[48px] sm:min-h-[36px] px-4 rounded-lg bg-[#059669] hover:bg-emerald-500 text-[15px] sm:text-sm font-semibold text-white shadow-sm transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#b8adff] disabled:opacity-50 disabled:cursor-not-allowed"+ className="w-full sm:w-auto inline-flex items-center justify-center gap-1.5 min-h-[48px] max-sm:!min-h-[48px] sm:min-h-[36px] px-4 rounded-lg bg-teal-300 hover:bg-teal-200 text-[15px] sm:text-sm font-semibold text-zinc-950 shadow-sm transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#b8adff] disabled:opacity-50 disabled:cursor-not-allowed"><Check size={16} aria-hidden="true" /><span>{waiting ? 'Allow and continue' : 'Allow once'}</span>diff --git a/frontend/src/components/ModernAvatar.tsx b/frontend/src/components/ModernAvatar.tsxindex 178ce07f..1a5eec7d 100644--- a/frontend/src/components/ModernAvatar.tsx+++ b/frontend/src/components/ModernAvatar.tsx@@ -80,7 +80,7 @@ const prefersReducedMotion = () => typeof window !== 'undefined' && !!window.matconst BadgeFace: React.FC<{ badge: ModelBadge; glyph: number; className?: string }> = ({ badge, glyph, className = '' }) => (<span- className={`kw-mb-layer ${badge.cantRun ? 'text-zinc-600' : badge.mark === 'laya' ? 'text-violet-300' : 'text-zinc-100'} ${className}`}+ className={`kw-mb-layer ${badge.cantRun ? 'text-zinc-600' : badge.mark === 'laya' ? 'text-info' : 'text-zinc-100'} ${className}`}style={badge.resting ? { opacity: 0.6 } : undefined}><EngineMark mark={badge.mark} size={glyph} />@@ -133,7 +133,7 @@ export const AvatarModelBadge: React.FC<{ kwantId: string; size: number }> = ({/>)}{badge.resting && badge.auto && (- <span className="kw-mb-spark text-violet-300" style={{ fontSize: Math.max(8, Math.round(d * 0.55)) }} aria-hidden="true" data-badge-spark>+ <span className="kw-mb-spark text-info" style={{ fontSize: Math.max(8, Math.round(d * 0.55)) }} aria-hidden="true" data-badge-spark>✦</span>)}diff --git a/frontend/src/components/NewAgentModal.tsx b/frontend/src/components/NewAgentModal.tsxindex 3a76ea0e..3615e50a 100644--- a/frontend/src/components/NewAgentModal.tsx+++ b/frontend/src/components/NewAgentModal.tsx@@ -700,7 +700,7 @@ export const NewAgentModal: React.FC<NewAgentModalProps> = ({<buttontype="submit"disabled={submitting || !name.trim()}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-50"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-50">{isEdit ? 'Save changes' : joinTeamName ? 'Create and add to team' : 'Create bot'}</button>diff --git a/frontend/src/components/NewChannelModal.tsx b/frontend/src/components/NewChannelModal.tsxindex 2ee27205..d40960a1 100644--- a/frontend/src/components/NewChannelModal.tsx+++ b/frontend/src/components/NewChannelModal.tsx@@ -208,7 +208,7 @@ export const NewChannelModal: React.FC<NewChannelModalProps> = ({ isOpen, onClos<buttontype="submit"disabled={submitting || members.length === 0}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-1.5"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-1.5"><Hash size={14} /><span>{submitting ? 'Creating…' : 'Create channel'}</span>diff --git a/frontend/src/components/NewTeamModal.tsx b/frontend/src/components/NewTeamModal.tsxindex 63caf2d2..adf213de 100644--- a/frontend/src/components/NewTeamModal.tsx+++ b/frontend/src/components/NewTeamModal.tsx@@ -534,7 +534,7 @@ export const NewTeamModal: React.FC<NewTeamModalProps> = ({<buttontype="submit"disabled={submitting || !cleanSlug || selectedMembers.length === 0 || !leadKwantId}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-1.5"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-1.5"><Users size={14} /><span>{submitting ? 'Creating...' : 'Create Team'}</span>diff --git a/frontend/src/components/ParallelUniverseView.tsx b/frontend/src/components/ParallelUniverseView.tsxindex 00ceaa9e..dd381297 100644--- a/frontend/src/components/ParallelUniverseView.tsx+++ b/frontend/src/components/ParallelUniverseView.tsx@@ -41,9 +41,9 @@ import {import { dateClock } from '../clock';const TONES: Record<Tone, string> = {- emerald: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200',+ emerald: 'border-teal-400/30 bg-teal-400/10 text-teal-200',amber: 'border-amber-500/30 bg-amber-500/10 text-amber-200',- violet: 'border-violet-500/30 bg-violet-500/10 text-violet-200',+ violet: 'border-sky-500/30 bg-sky-500/10 text-sky-200',rose: 'border-rose-500/30 bg-rose-500/10 text-rose-200',sky: 'border-sky-500/30 bg-sky-500/10 text-sky-200',zinc: 'border-zinc-700 bg-zinc-800 text-zinc-300',@@ -52,7 +52,7 @@ const TONES: Record<Tone, string> = {const actionBtn ='inline-flex items-center gap-1.5 min-h-[36px] sm:min-h-[30px] px-3 py-1 rounded-lg text-xs font-medium transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';const quietBtn = `${actionBtn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;-const mainBtn = `${actionBtn} bg-sky-600 text-white hover:bg-sky-500`;+const mainBtn = `${actionBtn} bg-sky-600 text-white hover:bg-sky-700`;const field ='w-full min-h-[36px] px-2.5 py-1.5 bg-zinc-950 border border-zinc-800 rounded-lg text-xs text-zinc-100 placeholder:text-zinc-600 focus:outline-none focus:border-sky-500 aria-[invalid=true]:border-rose-500/60';const card = 'rounded-xl border border-zinc-800 bg-zinc-900/40 p-3 sm:p-4';@@ -75,7 +75,7 @@ export const KindBadge: React.FC<{ tag: string }> = ({ tag }) => {/** Calm notices: amber for things to know, emerald for done. */const Notice: React.FC<{ text: string; error?: boolean }> = ({ text, error = false }) => (- <p className={`px-3 py-2 rounded-lg border text-xs ${error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-emerald-500/30 bg-emerald-500/10 text-emerald-200'}`}>{text}</p>+ <p className={`px-3 py-2 rounded-lg border text-xs ${error ? 'border-amber-500/30 bg-amber-500/10 text-amber-200' : 'border-teal-400/30 bg-teal-400/10 text-teal-200'}`}>{text}</p>);// ---------- Scenario list ----------diff --git a/frontend/src/components/PasswordStorePanel.tsx b/frontend/src/components/PasswordStorePanel.tsxindex c24f9c7a..6540cf21 100644--- a/frontend/src/components/PasswordStorePanel.tsx+++ b/frontend/src/components/PasswordStorePanel.tsx@@ -399,7 +399,7 @@ export const MigrateButton: React.FC<{ count: number; onDone: () => void; initia</>)}{result && (- <p role="status" className="flex items-start gap-1.5 text-[11px] text-emerald-300 leading-snug">+ <p role="status" className="flex items-start gap-1.5 text-[11px] text-ok leading-snug"><Check size={12} className="flex-shrink-0 mt-px" aria-hidden="true" /> {result}</p>)}@@ -492,12 +492,12 @@ export const PasswordStoreBar: React.FC<{const summary = onBitwarden ? (<>- {s.locked ? <Lock size={13} className="text-amber-300 flex-shrink-0" aria-hidden="true" /> : <ShieldCheck size={13} className="text-emerald-400 flex-shrink-0" aria-hidden="true" />}+ {s.locked ? <Lock size={13} className="text-amber-300 flex-shrink-0" aria-hidden="true" /> : <ShieldCheck size={13} className="text-ok flex-shrink-0" aria-hidden="true" />}<span className="min-w-0 truncate"><span className="text-zinc-200 font-medium">Bitwarden</span><span className="text-zinc-500"> · {bw!.email}</span></span>- <span className={`px-1.5 rounded text-[9px] font-mono border flex-shrink-0 ${s.locked ? 'bg-amber-500/10 text-amber-200 border-amber-500/30' : 'bg-emerald-500/10 text-emerald-300 border-emerald-500/20'}`}>+ <span className={`px-1.5 rounded text-[9px] font-mono border flex-shrink-0 ${s.locked ? 'bg-amber-500/10 text-amber-200 border-amber-500/30' : 'bg-teal-400/10 text-ok border-teal-400/20'}`}>{s.locked ? 'Locked' : 'Unlocked'}</span></>@@ -725,7 +725,7 @@ export const MoveToBitwardenFirst: React.FC<{</div>)}{result && (- <p role="status" className="flex items-start gap-1.5 text-[11px] text-emerald-300 leading-snug">+ <p role="status" className="flex items-start gap-1.5 text-[11px] text-ok leading-snug"><Check size={12} className="flex-shrink-0 mt-px" aria-hidden="true" /> {result}</p>)}@@ -750,7 +750,7 @@ export const ExposedBanner: React.FC<{const s = store.status;if (!s?.exposed)return done ? (- <p role="status" className="flex items-start gap-1.5 text-[11px] text-emerald-300 leading-snug" data-exposed-done>+ <p role="status" className="flex items-start gap-1.5 text-[11px] text-ok leading-snug" data-exposed-done><Check size={12} className="flex-shrink-0 mt-px" aria-hidden="true" /> {done}</p>) : null;diff --git a/frontend/src/components/PhoneAppCard.tsx b/frontend/src/components/PhoneAppCard.tsxindex 7cc73e72..a2496d3a 100644--- a/frontend/src/components/PhoneAppCard.tsx+++ b/frontend/src/components/PhoneAppCard.tsx@@ -140,7 +140,7 @@ export const PhoneAppCardView: React.FC<PhoneAppCardViewProps> = (p) => {<buttontype="button"onClick={p.onInstall}- className="w-full flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500"+ className="w-full flex items-center justify-center gap-1.5 min-h-[44px] px-4 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500"><Download size={14} aria-hidden="true" /> Install</button>diff --git a/frontend/src/components/PointLayer.tsx b/frontend/src/components/PointLayer.tsxindex cdf5d6b9..b7907137 100644--- a/frontend/src/components/PointLayer.tsx+++ b/frontend/src/components/PointLayer.tsx@@ -363,7 +363,7 @@ export const PointLayer: React.FC<PointLayerProps> = ({ request, page, frameId,}}onClick={onClick}onKeyDown={onKeyDown}- className="absolute inset-0 z-10 cursor-crosshair rounded-xl ring-2 ring-inset ring-violet-500/70 focus:outline-none focus-visible:ring-[3px] focus-visible:ring-sky-300"+ className="absolute inset-0 z-10 cursor-crosshair rounded-xl ring-2 ring-inset ring-sky-500/70 focus:outline-none focus-visible:ring-[3px] focus-visible:ring-sky-300"><div className="absolute top-0 inset-x-0 h-7 px-2.5 flex items-center justify-between gap-2 bg-[rgb(14_10_33/0.88)] text-[11.5px] text-zinc-100 pointer-events-none rounded-t-xl"><span className="truncate font-semibold">{bar?.kind === 'waiting' ? bar.text : topText}</span>@@ -375,7 +375,7 @@ export const PointLayer: React.FC<PointLayerProps> = ({ request, page, frameId,<divdata-point-outline=""className={`absolute pointer-events-none rounded-[3px] border-2 ${- teal ? 'border-teal-300 bg-teal-300/15' : 'border-violet-400 bg-violet-400/10'+ teal ? 'border-teal-300 bg-teal-300/15' : 'border-sky-400 bg-sky-400/10'} motion-safe:transition-[left,top,width,height] motion-safe:duration-75`}style={{ left: outline.x, top: outline.y, width: outline.width, height: outline.height }}/>@@ -383,7 +383,7 @@ export const PointLayer: React.FC<PointLayerProps> = ({ request, page, frameId,ref={tagRef}data-point-tag=""className={`absolute pointer-events-none max-w-[calc(100%-8px)] truncate h-[18px] px-1.5 leading-[18px] rounded font-mono text-[11px] ${- teal ? 'bg-teal-300 text-teal-950' : 'bg-violet-600 text-white'+ teal ? 'bg-teal-300 text-teal-950' : 'bg-sky-600 text-white'}`}style={{left: Math.max(4, Math.min(outline.x, size.width - 4 - tagW)),@@ -427,14 +427,14 @@ export const PointLayer: React.FC<PointLayerProps> = ({ request, page, frameId,<buttontype="button"onClick={() => neighbour('parent')}- className="flex-1 h-11 rounded-[10px] border border-[#3f3868] text-zinc-100 text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300"+ className="flex-1 h-11 rounded-[10px] border border-[#3f3868] text-zinc-100 text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400">{POINT_COPY.wider}</button><buttontype="button"onClick={() => pick(sel, false)}- className="flex-1 h-11 rounded-[10px] bg-violet-600 text-white text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300"+ className="flex-1 h-11 rounded-[10px] bg-sky-600 text-white text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400">{POINT_COPY.add}</button>@@ -451,14 +451,14 @@ export const PointLayer: React.FC<PointLayerProps> = ({ request, page, frameId,setSheet('none');select(null, false);}}- className="flex-1 h-11 rounded-[10px] border border-[#3f3868] text-zinc-100 text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300"+ className="flex-1 h-11 rounded-[10px] border border-[#3f3868] text-zinc-100 text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400">{POINT_COPY.keep}</button><buttontype="button"onClick={() => (onBackToChat ?? onExit)()}- className="flex-1 h-11 rounded-[10px] bg-violet-600 text-white text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-violet-300"+ className="flex-1 h-11 rounded-[10px] bg-sky-600 text-white text-sm font-semibold focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400">{POINT_COPY.back}</button>diff --git a/frontend/src/components/Proactive.tsx b/frontend/src/components/Proactive.tsxindex 0f492ece..727c9ef7 100644--- a/frontend/src/components/Proactive.tsx+++ b/frontend/src/components/Proactive.tsx@@ -48,13 +48,13 @@ export const DecisionChips: React.FC<DecisionChipsProps> = ({ messageId, decisioconst panelId = `dec-${messageId}-${d.index}`;const changed = d.status === 'changed';return (- <div key={d.index} className={`relative overflow-hidden rounded-xl border border-zinc-700/60 bg-zinc-900/60 py-2.5 pl-4 pr-3 shadow-[var(--kws-shadow)] before:absolute before:inset-y-0 before:left-0 before:w-1 ${changed ? 'before:bg-sky-400' : 'before:bg-emerald-400'}`}>+ <div key={d.index} className={`relative overflow-hidden rounded-xl border border-zinc-700/60 bg-zinc-900/60 py-2.5 pl-4 pr-3 shadow-[var(--kws-shadow)] before:absolute before:inset-y-0 before:left-0 before:w-1 ${changed ? 'before:bg-sky-400' : 'before:bg-teal-300'}`}><div className="flex items-start gap-2 min-w-0"><div className="flex flex-1 flex-wrap items-center gap-x-2 gap-y-1.5 min-w-0">{d.question && <span className="text-xs text-zinc-300 break-words min-w-0">{d.question}</span>}<spanclassName={`inline-flex items-center gap-1 max-w-full px-2.5 py-0.5 rounded-full border text-xs font-semibold ${- changed ? 'border-sky-500/40 bg-sky-500/10 text-sky-200' : 'border-emerald-500/35 bg-emerald-500/10 text-emerald-200'+ changed ? 'border-sky-500/40 bg-sky-500/10 text-sky-200' : 'border-teal-400/35 bg-teal-400/10 text-teal-200'}`}><CheckCircle2 size={12} className="shrink-0" aria-hidden="true" />@@ -119,18 +119,18 @@ export const DecidingLine: React.FC<{<div className="flex flex-col items-start min-w-0 flex-1 max-w-4xl"><div className="flex items-center gap-2 mb-1.5 text-[11px] text-zinc-400 font-medium"><span className="text-zinc-200">{botName}</span>- <span className="inline-flex items-center gap-1 text-violet-300 text-[10px]">- <span className="w-1.5 h-1.5 rounded-full bg-violet-300 animate-ping motion-reduce:animate-none" aria-hidden="true" />+ <span className="inline-flex items-center gap-1 text-info text-[10px]">+ <span className="w-1.5 h-1.5 rounded-full bg-sky-300 animate-ping motion-reduce:animate-none" aria-hidden="true" />Deciding</span></div><divrole="status"aria-live="polite"- className="px-4 py-3 rounded-2xl rounded-tl-sm bg-violet-950/20 border border-violet-500/20 text-sm text-zinc-200 shadow-sm w-full"+ className="px-4 py-3 rounded-2xl rounded-tl-sm bg-sky-950/20 border border-sky-500/20 text-sm text-zinc-200 shadow-sm w-full">- <p className="flex items-center gap-2 font-medium text-violet-100">- <Users size={15} className="text-violet-300 shrink-0" aria-hidden="true" />+ <p className="flex items-center gap-2 font-medium text-sky-100">+ <Users size={15} className="text-info shrink-0" aria-hidden="true" />Team is deciding…</p><p className="mt-0.5 text-xs text-zinc-400">{decidingDetail(botName, consulted)}</p>@@ -152,9 +152,9 @@ export const WorkAheadBody: React.FC<{ messageId: string; text: string }> = ({ monClick={() => setOpen((v) => !v)}className="w-full flex items-start gap-2 text-left rounded-lg focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500">- <Moon size={14} className="mt-0.5 shrink-0 text-indigo-300" aria-hidden="true" />+ <Moon size={14} className="mt-0.5 shrink-0 text-sky-300" aria-hidden="true" /><span className="flex-1 min-w-0">- <span className="block text-[11px] font-medium uppercase tracking-wide text-indigo-300/90">While you were away</span>+ <span className="block text-[11px] font-medium uppercase tracking-wide text-sky-300/90">While you were away</span>{!open && <span className="block text-sm text-zinc-300 break-words">{workAheadSummary(text)}</span>}</span><span className="shrink-0 inline-flex items-center gap-0.5 text-[11px] text-zinc-500">diff --git a/frontend/src/components/QuestionCard.tsx b/frontend/src/components/QuestionCard.tsxindex 89379e1a..ba058020 100644--- a/frontend/src/components/QuestionCard.tsx+++ b/frontend/src/components/QuestionCard.tsx@@ -93,7 +93,7 @@ export const QuestionCard: React.FC<QuestionCardProps> = ({ meta, messageId, kwa) : !open ? (// 14c: the card says what you answered, so the answer isn't drawn again as a "You" bubble.// Answered in Telegram (G4): the record also says where the decision came from.- <span className="inline-flex flex-wrap items-baseline gap-x-1.5 gap-y-0.5 text-emerald-300" data-answered-line="" data-answered-via={view.answered_via === 'telegram' ? 'telegram' : undefined}>+ <span className="inline-flex flex-wrap items-baseline gap-x-1.5 gap-y-0.5 text-ok" data-answered-line="" data-answered-via={view.answered_via === 'telegram' ? 'telegram' : undefined}><CheckCircle2 size={13} className="self-center shrink-0" aria-hidden="true" /><b className="font-semibold">{line.lead}</b>{line.text && <span className="min-w-0 text-sm text-zinc-100 whitespace-pre-wrap break-words" data-answer-text="">{line.text}</span>}@@ -161,7 +161,7 @@ export const QuestionCard: React.FC<QuestionCardProps> = ({ meta, messageId, kwaonKeyDown={(e) => onChoiceKey(e, i)}className={`w-full sm:w-auto inline-flex items-center justify-center sm:justify-start gap-1.5 min-h-[48px] max-sm:!min-h-[48px] sm:min-h-[44px] px-3 py-1.5 rounded-xl text-base leading-[22px] sm:text-sm sm:leading-normal text-left border transition-colors break-words focus-visible:outline focus-visible:outline-2 focus-visible:outline-amber-400 ${chosen- ? 'bg-emerald-500/15 border-emerald-500/40 text-emerald-100'+ ? 'bg-teal-400/15 border-teal-400/40 text-teal-100': open? 'bg-zinc-800/80 border-zinc-700 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600 active:scale-[0.98] disabled:opacity-60': 'bg-zinc-900 border-zinc-800 text-zinc-500'diff --git a/frontend/src/components/ReplyCheckLine.tsx b/frontend/src/components/ReplyCheckLine.tsxindex 192c611d..325c5491 100644--- a/frontend/src/components/ReplyCheckLine.tsx+++ b/frontend/src/components/ReplyCheckLine.tsx@@ -17,7 +17,7 @@ export const ReplyCheckLine: React.FC<{ outcome: ReplyOutcome | null; onDetails:<buttontype="button"onClick={onDetails}- className="kw-focus kw-hit rounded font-semibold text-violet-300 hover:text-violet-200"+ className="kw-focus kw-hit rounded font-semibold text-info hover:text-sky-200"data-compact>Detailsdiff --git a/frontend/src/components/ReviewItemStub.tsx b/frontend/src/components/ReviewItemStub.tsxindex 21ecda86..ae115ccc 100644--- a/frontend/src/components/ReviewItemStub.tsx+++ b/frontend/src/components/ReviewItemStub.tsx@@ -45,7 +45,7 @@ export const ReviewItemStub: React.FC<ReviewItemViewProps> = ({ item, onApprove,<div className="min-w-0 flex-1"><h2 className="text-base font-semibold text-zinc-100 break-words">{item.title}</h2><div className="mt-1 flex flex-wrap gap-1.5">- {item.round.n > 1 && <span className="px-1.5 rounded-md border border-violet-400/40 text-[11px] text-violet-200">Round {item.round.n}</span>}+ {item.round.n > 1 && <span className="px-1.5 rounded-md border border-sky-400/40 text-[11px] text-sky-200">Round {item.round.n}</span>}{item.risk.level && item.risk.level !== 'medium' && (<span className={`px-1.5 rounded-md border text-[11px] ${item.risk.level === 'high' ? 'border-amber-500/40 text-amber-200' : 'border-zinc-600 text-zinc-300'}`}>{item.risk.level === 'high' ? 'High risk' : 'Low risk'}@@ -82,7 +82,7 @@ export const ReviewItemStub: React.FC<ReviewItemViewProps> = ({ item, onApprove,type="button"aria-disabled={!!ap.blocked || busy}onClick={() => !ap.blocked && !busy && onApprove?.(item)}- className={`kw-focus inline-flex items-center gap-1.5 min-h-[44px] lg:min-h-[34px] px-4 rounded-lg text-sm font-semibold bg-violet-500/80 text-white ${ap.blocked || busy ? 'opacity-[.42] cursor-not-allowed' : 'hover:bg-violet-500'}`}+ className={`kw-focus inline-flex items-center gap-1.5 min-h-[44px] lg:min-h-[34px] px-4 rounded-lg text-sm font-semibold bg-sky-600 text-white ${ap.blocked || busy ? 'opacity-[.42] cursor-not-allowed' : 'hover:bg-sky-700'}`}data-stub-approve>{busy ? <Loader2 size={14} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <CheckCircle2 size={14} aria-hidden="true" />}diff --git a/frontend/src/components/ReviewItemView.tsx b/frontend/src/components/ReviewItemView.tsxindex 8d63d4b2..bd4dfe02 100644--- a/frontend/src/components/ReviewItemView.tsx+++ b/frontend/src/components/ReviewItemView.tsx@@ -133,7 +133,7 @@ const btnApprove = `${btnBase} bg-accent-gradient text-white aria-disabled:opaciconst btnQuiet = `${btnBase} border border-hairline-strong bg-white/[0.03] text-zinc-200 hover:bg-white/[0.08] disabled:opacity-50`;const btnRose = `${btnBase} border border-rose-400/40 bg-rose-500/[0.06] text-rose-200 hover:bg-rose-500/[0.12] disabled:opacity-50`;const btnRoseFill = `${btnBase} bg-rose-600 text-white hover:bg-rose-500 disabled:opacity-50`;-const btnAllow = `${btnBase} bg-[#059669] text-white hover:bg-emerald-500 disabled:opacity-50`;+const btnAllow = `${btnBase} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200 disabled:opacity-50`;const spin = 'motion-safe:animate-spin';// ---- Folds: open or closed per section for the session (Mira §3.5), not per item ----@@ -423,7 +423,7 @@ const ReviewBody: React.FC<ReviewItemViewProps & { item: ReviewItem }> = ({)}<div className={doneView && item.round.n <= 1 && !showRisk ? 'hidden' : 'flex flex-wrap items-center gap-1.5 text-meta text-zinc-400'}>{item.round.n > 1 && (- <span className="kw-chip border-violet-400/40 bg-violet-500/15 text-violet-200 !py-0" data-round-chip>+ <span className="kw-chip border-sky-400/40 bg-sky-500/15 text-sky-200 !py-0" data-round-chip>Round {item.round.n}</span>)}@@ -571,7 +571,7 @@ const ReviewBody: React.FC<ReviewItemViewProps & { item: ReviewItem }> = ({{notice.undo && (<>{' '}- <button type="button" onClick={() => setRollOpen({ undoFrom: notice.undo ?? undefined })} className="text-violet-300 underline-offset-2 hover:underline rounded kw-focus kw-hit" data-undo-rollback>+ <button type="button" onClick={() => setRollOpen({ undoFrom: notice.undo ?? undefined })} className="text-info underline-offset-2 hover:underline rounded kw-focus kw-hit" data-undo-rollback>Undo the roll back</button></>@@ -579,7 +579,7 @@ const ReviewBody: React.FC<ReviewItemViewProps & { item: ReviewItem }> = ({{notice.copy && onOpenTask && (<>{' '}- <button type="button" onClick={() => onOpenTask(notice.copy!)} className="text-violet-300 underline-offset-2 hover:underline rounded kw-focus kw-hit" data-open-copy>+ <button type="button" onClick={() => onOpenTask(notice.copy!)} className="text-info underline-offset-2 hover:underline rounded kw-focus kw-hit" data-open-copy>Open the copy</button></>@@ -606,7 +606,7 @@ const ReviewBody: React.FC<ReviewItemViewProps & { item: ReviewItem }> = ({/></Sheet>) : (- <div className="rounded-2xl border border-violet-400/40 bg-surface-raised p-4 space-y-3 kw-fade-in" data-send-panel>+ <div className="rounded-2xl border border-sky-400/40 bg-surface-raised p-4 space-y-3 kw-fade-in" data-send-panel><h3 className="flex items-center gap-2 text-body font-semibold text-zinc-100"><CornerUpLeft size={15} aria-hidden="true" /> {redoTitle(item.kwant_name)}</h3>@@ -835,15 +835,15 @@ const SendBackForm: React.FC<{}}}rows={3}- className="block w-full min-h-[76px] rounded-xl border border-violet-400/40 bg-surface-main px-3 py-2 text-body text-zinc-100 placeholder:text-zinc-500 kw-focus"+ className="block w-full min-h-[76px] rounded-xl border border-sky-400/40 bg-surface-main px-3 py-2 text-body text-zinc-100 placeholder:text-zinc-500 kw-focus"data-send-note/>{!empty && (<div className="flex flex-col sm:flex-row sm:items-start gap-1.5 sm:gap-3" data-becomes><span className="shrink-0 text-meta text-zinc-400 sm:pt-2">Becomes criterion {nextCriterionIndex(item.criteria)}:</span>- <p className="min-w-0 flex-1 rounded-xl border border-dashed border-violet-400/40 px-3 py-2 text-body text-zinc-100 break-words whitespace-pre-wrap">+ <p className="min-w-0 flex-1 rounded-xl border border-dashed border-sky-400/40 px-3 py-2 text-body text-zinc-100 break-words whitespace-pre-wrap">{note.trim()}{' '}- <span className="kw-chip border-violet-400/40 bg-violet-500/15 text-violet-200 !py-0 align-middle">Your note</span>+ <span className="kw-chip border-sky-400/40 bg-sky-500/15 text-sky-200 !py-0 align-middle">Your note</span></p></div>)}@@ -882,12 +882,12 @@ const RoundBox: React.FC<{ item: ReviewItem }> = ({ item }) => {<strong className={s === 'met' ? 'text-ok' : s === 'not_met' ? 'text-bad' : 'text-zinc-300'}>{CRITERION_WORD[s]}</strong>);return (- <section className="rounded-2xl border border-violet-400/40 bg-surface-raised px-4 py-3 space-y-2" aria-label={`Round ${item.round.n}, what changed since round ${item.round.n - 1}`} data-round-box>+ <section className="rounded-2xl border border-sky-400/40 bg-surface-raised px-4 py-3 space-y-2" aria-label={`Round ${item.round.n}, what changed since round ${item.round.n - 1}`} data-round-box><h3 className="flex items-center gap-1.5 text-body font-semibold text-zinc-100"><RotateCcw size={14} aria-hidden="true" /> Round {item.round.n} · what changed since round {item.round.n - 1}</h3><p className="text-meta text-zinc-400">You sent it back{at ? ` ${at}` : ''}:</p>- <blockquote className="border-l-2 border-violet-400/60 bg-white/[0.03] px-3 py-2 text-body text-zinc-100 break-words whitespace-pre-wrap">{p.note}</blockquote>+ <blockquote className="border-l-2 border-sky-400/60 bg-white/[0.03] px-3 py-2 text-body text-zinc-100 break-words whitespace-pre-wrap">{p.note}</blockquote><ul className="list-disc pl-5 space-y-0.5 text-meta text-zinc-300">{mine && (<li>@@ -905,7 +905,7 @@ const RoundBox: React.FC<{ item: ReviewItem }> = ({ item }) => {{item.evidence.pr && (<>{' · '}- <a href={item.evidence.pr.url} target="_blank" rel="noopener noreferrer" className="text-violet-300 hover:underline rounded kw-focus">+ <a href={item.evidence.pr.url} target="_blank" rel="noopener noreferrer" className="text-info hover:underline rounded kw-focus">see the changes</a></>@@ -968,7 +968,7 @@ const CriterionRow: React.FC<{ c: InboxCriterion }> = ({ c }) => {<p className="text-body text-zinc-100 break-words">{c.text}{' '}{c.source === 'person_note' && (- <span className="kw-chip border-violet-400/40 bg-violet-500/15 text-violet-200 !py-0 align-middle text-[11px]">Your note · round {c.round_added}</span>+ <span className="kw-chip border-sky-400/40 bg-sky-500/15 text-sky-200 !py-0 align-middle text-[11px]">Your note · round {c.round_added}</span>)}{c.source === 'must_not_change' && <span className="kw-chip !py-0 align-middle text-[11px]">Must not change</span>}</p>@@ -1034,7 +1034,7 @@ const Evidence: React.FC<{ item: ReviewItem }> = ({ item }) => {className="flex items-center gap-3 rounded-xl border border-hairline bg-white/[0.02] px-3 py-2 hover:bg-white/[0.05] kw-focus"data-pr-card>- <GitPullRequest size={16} className="shrink-0 text-violet-300" aria-hidden="true" />+ <GitPullRequest size={16} className="shrink-0 text-info" aria-hidden="true" /><span className="min-w-0 flex-1"><span className="block text-body font-semibold text-zinc-100 truncate">{e.pr.repo} #{e.pr.number}@@ -1071,7 +1071,7 @@ const CheckOutput: React.FC<{ c: ReviewItem['evidence']['checks'][number] }> = (</pre>)}{t.more && (- <button type="button" onClick={() => setAll((x) => !x)} className="text-meta text-violet-300 hover:underline rounded kw-focus kw-hit" aria-expanded={all}>+ <button type="button" onClick={() => setAll((x) => !x)} className="text-meta text-info hover:underline rounded kw-focus kw-hit" aria-expanded={all}>{all ? 'Show the last 12 lines' : 'Show all'}</button>)}diff --git a/frontend/src/components/RisksSection.tsx b/frontend/src/components/RisksSection.tsxindex e611802c..e4a5f94d 100644--- a/frontend/src/components/RisksSection.tsx+++ b/frontend/src/components/RisksSection.tsx@@ -23,7 +23,7 @@ import { FreshEyesChip } from './dev/FreshEyesChip';const TONE: Record<string, string> = {amber: 'bg-amber-500/15 text-amber-200 border-amber-500/30',rose: 'bg-rose-500/15 text-rose-200 border-rose-500/30',- emerald: 'bg-emerald-500/15 text-emerald-200 border-emerald-500/30',+ emerald: 'bg-teal-400/15 text-teal-200 border-teal-400/30',zinc: 'bg-zinc-800 text-zinc-300 border-zinc-700',};const btn =@@ -71,7 +71,7 @@ const RiskItem: React.FC<{)}{open && canResolve && onResolve && (<div className="flex flex-wrap gap-2 pt-0.5" data-risk-actions>- <button type="button" disabled={busy} onClick={() => onResolve(r, 'resolved')} className={`${btn} bg-emerald-600 text-white hover:bg-emerald-500`}>+ <button type="button" disabled={busy} onClick={() => onResolve(r, 'resolved')} className={`${btn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`}>Resolve</button><button type="button" disabled={busy} onClick={() => onResolve(r, 'dismissed')} className={`${btn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700`}>diff --git a/frontend/src/components/RouteChip.tsx b/frontend/src/components/RouteChip.tsxindex b5697a8f..bea67ecc 100644--- a/frontend/src/components/RouteChip.tsx+++ b/frontend/src/components/RouteChip.tsx@@ -96,7 +96,7 @@ export function useRouteChip(route: RouteInfo | null | undefined): { reason: str</div>)}{sentTo && (- <p role="status" className="mb-1.5 text-xs text-emerald-300">+ <p role="status" className="mb-1.5 text-xs text-ok">Sent to {sentTo}. Messages like this will go to {sentTo} from now on.</p>)}diff --git a/frontend/src/components/RouteChoiceCard.tsx b/frontend/src/components/RouteChoiceCard.tsxindex 07891430..a1b86bf9 100644--- a/frontend/src/components/RouteChoiceCard.tsx+++ b/frontend/src/components/RouteChoiceCard.tsx@@ -58,7 +58,7 @@ export const RouteChoiceCard: React.FC<RouteChoiceCardProps> = ({ meta, messageI};const status = outcome ? (- <span className="inline-flex items-center gap-1.5 text-emerald-300">+ <span className="inline-flex items-center gap-1.5 text-ok"><CheckCircle2 size={13} aria-hidden="true" /> {outcome}</span>) : sent === 'already' ? (@@ -66,7 +66,7 @@ export const RouteChoiceCard: React.FC<RouteChoiceCardProps> = ({ meta, messageI<CheckCircle2 size={13} aria-hidden="true" /> Already answered.</span>) : sent !== null ? (- <span className="inline-flex items-center gap-1.5 text-emerald-300">+ <span className="inline-flex items-center gap-1.5 text-ok"><CheckCircle2 size={13} aria-hidden="true" /> {sent === 'general' ? 'Sent. A general answer is coming.' : `Sent. ${options.find((o) => o.key === sent)?.label ?? 'The bot'} is answering.`}</span>) : (@@ -80,13 +80,13 @@ export const RouteChoiceCard: React.FC<RouteChoiceCardProps> = ({ meta, messageIaria-labelledby={headingId}className={`flex items-start gap-3.5 w-full max-w-5xl rounded-xl ${flash ? 'kw-flash' : ''}`}>- <div className="w-[34px] h-[34px] flex-shrink-0 rounded-full bg-violet-500/15 border border-violet-500/40 flex items-center justify-center" aria-hidden="true">- <Sparkles size={16} className="text-violet-300" />+ <div className="w-[34px] h-[34px] flex-shrink-0 rounded-full bg-sky-500/15 border border-sky-500/40 flex items-center justify-center" aria-hidden="true">+ <Sparkles size={16} className="text-info" /></div>- <div className={`flex-1 min-w-0 max-w-2xl rounded-2xl rounded-tl-sm border bg-zinc-900/60 shadow-sm ${open ? 'border-violet-500/40' : 'border-zinc-800'}`}>+ <div className={`flex-1 min-w-0 max-w-2xl rounded-2xl rounded-tl-sm border bg-zinc-900/60 shadow-sm ${open ? 'border-sky-500/40' : 'border-zinc-800'}`}><div className="px-4 pt-3 pb-2 space-y-1"><span className="flex items-center gap-1.5 text-[11px] font-medium text-zinc-400">- <MessagesSquare size={12} className="text-violet-300" aria-hidden="true" />+ <MessagesSquare size={12} className="text-info" aria-hidden="true" /><span className="text-zinc-200">Laya</span> · router</span><h3 id={headingId} className="text-sm font-semibold text-zinc-100 leading-snug">@@ -107,9 +107,9 @@ export const RouteChoiceCard: React.FC<RouteChoiceCardProps> = ({ meta, messageIaria-pressed={chosen}onClick={() => pick(o.key)}onKeyDown={(e) => onKey(e, i)}- className={`flex items-start gap-2 min-h-[44px] px-3 py-2 rounded-xl text-left border transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400 ${+ className={`flex items-start gap-2 min-h-[44px] px-3 py-2 rounded-xl text-left border transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 ${chosen- ? 'bg-emerald-500/15 border-emerald-500/40 text-emerald-100'+ ? 'bg-teal-400/15 border-teal-400/40 text-teal-100': open? 'bg-zinc-800/80 border-zinc-700 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600 active:scale-[0.98] disabled:opacity-60': 'bg-zinc-900 border-zinc-800 text-zinc-500'@@ -120,7 +120,7 @@ export const RouteChoiceCard: React.FC<RouteChoiceCardProps> = ({ meta, messageI</span><span className="min-w-0"><span className="block text-sm font-medium break-words">{o.label}</span>- {o.sub && <span className={`block text-[11px] break-words ${chosen ? 'text-emerald-200/80' : 'text-zinc-400'}`}>{o.sub}</span>}+ {o.sub && <span className={`block text-[11px] break-words ${chosen ? 'text-teal-200/80' : 'text-zinc-400'}`}>{o.sub}</span>}</span></button>);diff --git a/frontend/src/components/RoutinesPanel.tsx b/frontend/src/components/RoutinesPanel.tsxindex 19bd4478..c10c55b1 100644--- a/frontend/src/components/RoutinesPanel.tsx+++ b/frontend/src/components/RoutinesPanel.tsx@@ -67,7 +67,7 @@ export interface RoutineFocus {// 26d: `waiting` and `needs_you` take the amber the steps list already uses for an ask; no new colours.const TONE: Record<RunTone, string> = {running: 'bg-sky-500/10 text-sky-300 border-sky-500/20',- ok: 'bg-emerald-500/10 text-emerald-300 border-emerald-500/20',+ ok: 'bg-teal-400/10 text-ok border-teal-400/20',error: 'bg-rose-500/10 text-rose-300 border-rose-500/20',skipped: 'bg-zinc-700/30 text-zinc-400 border-zinc-700',waiting: 'bg-amber-500/10 text-amber-300 border-amber-500/20',@@ -87,7 +87,7 @@ const StatusBadge: React.FC<{ status: string; wait?: RunWait | null }> = ({ stat/** On a routine added from one kwant suggested (Automation Discovery). */export const SuggestedBadge: React.FC = () => (<span- className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-medium border bg-violet-500/10 text-violet-200 border-violet-500/25"+ className="inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] font-medium border bg-sky-500/10 text-sky-200 border-sky-500/25"title="You added this from a suggestion, after you asked for it on a regular rhythm."><Sparkles size={9} aria-hidden="true" />@@ -425,7 +425,7 @@ export const RoutineForm: React.FC<{<button type="button" onClick={onCancel} className="px-3 py-1.5 rounded-lg text-xs font-medium text-zinc-300 hover:text-zinc-100 hover:bg-zinc-800 transition-colors">Cancel</button>- <button type="submit" disabled={saving} className="px-3.5 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50">+ <button type="submit" disabled={saving} className="px-3.5 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50">{saving ? 'Saving…' : submitLabel ?? (initial ? 'Save routine' : 'Create routine')}</button></div>@@ -467,7 +467,7 @@ export const RunRow: React.FC<{const t = onOpenRunResult ? runResultTarget(routine, r) : null;const card = onOpenRunCard && st.cardId ? st.cardId : null;const note = routineRunNote(r);- const link = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded font-semibold text-violet-300 hover:text-violet-200';+ const link = 'kw-focus kw-hit inline-flex items-center gap-0.5 rounded font-semibold text-info hover:text-sky-200';return (<li className="flex flex-wrap items-center gap-x-2 gap-y-0.5 text-[11px] text-zinc-400" data-run-row={r.id} data-run-state={st.tone}><StatusBadge status={r.status} wait={wait} />@@ -770,7 +770,7 @@ export const RoutinesPanel: React.FC<{onClick={() => setEditing('new')}disabled={kwants.length === 0}data-routine-new- className={`${smallBtn} shrink-0 justify-center min-h-11 sm:min-h-0 border-sky-500/50 bg-sky-600 text-white hover:bg-sky-500`}+ className={`${smallBtn} shrink-0 justify-center min-h-11 sm:min-h-0 border-sky-500/50 bg-sky-600 text-white hover:bg-sky-700`}><Plus size={11} aria-hidden="true" /> New routine</button>@@ -813,7 +813,7 @@ export const RoutinesPanel: React.FC<{onClick={() => setEditing('new')}disabled={kwants.length === 0}data-routine-new- className="inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-xl bg-gradient-to-b from-[#7a62f0] to-[#5b47d6] px-4 text-sm font-semibold text-white hover:brightness-110 disabled:opacity-50 disabled:hover:brightness-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-[#120e26] sm:h-9 sm:w-auto"+ className="inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-xl bg-accent-gradient kw-hover-deepen px-4 text-sm font-semibold text-white disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-[#120e26] sm:h-9 sm:w-auto"><Plus size={15} aria-hidden="true" /> New routine</button>diff --git a/frontend/src/components/SandboxViewer.tsx b/frontend/src/components/SandboxViewer.tsxindex 3d08d652..8e35eaa3 100644--- a/frontend/src/components/SandboxViewer.tsx+++ b/frontend/src/components/SandboxViewer.tsx@@ -206,7 +206,7 @@ export const SandboxViewer: React.FC<{ teamId: string }> = ({ teamId }) => {<div className="h-screen w-screen flex flex-col bg-zinc-950 text-zinc-200"><header className="flex items-center gap-3 px-4 py-2.5 border-b border-zinc-800 bg-zinc-900/60"><div className="flex items-center gap-2 flex-shrink-0">- <span className={`w-2.5 h-2.5 rounded-full ${error ? 'bg-zinc-500' : 'bg-emerald-400 animate-pulse'}`} />+ <span className={`w-2.5 h-2.5 rounded-full ${error ? 'bg-zinc-500' : 'bg-teal-300 animate-pulse'}`} /><span className="text-sm font-semibold">Sandbox browser</span></div>@@ -245,7 +245,7 @@ export const SandboxViewer: React.FC<{ teamId: string }> = ({ teamId }) => {<OpenWindowButton api={computer} label /><div- className="flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-emerald-300 bg-emerald-500/10 border border-emerald-500/30 flex-shrink-0"+ className="flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-ok bg-teal-400/10 border border-teal-400/30 flex-shrink-0"title="This is the same browser your bots use. They will see the current page on their next reply."><Share2 size={12} />diff --git a/frontend/src/components/SavedPasswordsPanel.tsx b/frontend/src/components/SavedPasswordsPanel.tsxindex 4c75d556..140457c3 100644--- a/frontend/src/components/SavedPasswordsPanel.tsx+++ b/frontend/src/components/SavedPasswordsPanel.tsx@@ -162,7 +162,7 @@ export const PasswordsProblemNotice: React.FC<{ problem: PasswordsProblem; onRet<buttontype="button"onClick={requestPersonToken}- className="flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-500"+ className="flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[11px] font-medium text-white bg-sky-600 hover:bg-sky-700"><KeyRound size={12} aria-hidden="true" /> Enter access token</button>@@ -286,7 +286,7 @@ export const SavedLoginRow: React.FC<RowProps> = ({return (<lidata-login-row={login.id}- className={`p-2.5 rounded-xl border text-xs bg-zinc-900/60 ${onThisPage ? 'border-emerald-500/40' : 'border-zinc-800/80 hover:border-zinc-700'}`}+ className={`p-2.5 rounded-xl border text-xs bg-zinc-900/60 ${onThisPage ? 'border-teal-400/40' : 'border-zinc-800/80 hover:border-zinc-700'}`}><div className="flex items-center justify-between gap-2 mb-1.5"><div className="flex items-center gap-1.5 min-w-0">@@ -294,7 +294,7 @@ export const SavedLoginRow: React.FC<RowProps> = ({{site}</span>{onThisPage && (- <span className="px-1.5 rounded bg-emerald-500/10 text-emerald-300 border border-emerald-500/20 text-[9px] font-mono flex-shrink-0">This page</span>+ <span className="px-1.5 rounded bg-teal-400/10 text-ok border border-teal-400/20 text-[9px] font-mono flex-shrink-0">This page</span>)}</div><div className="flex items-center gap-0.5 flex-shrink-0">@@ -325,7 +325,7 @@ export const SavedLoginRow: React.FC<RowProps> = ({<span className="text-[11px] font-mono text-zinc-300 truncate">{login.username || <span className="text-zinc-500 font-sans">No username</span>}</span>{login.username && (<button type="button" onClick={() => copy(login.username, 'user')} aria-label="Copy username" className="text-zinc-500 hover:text-zinc-200 p-1 ml-1">- {copied === 'user' ? <Check size={11} className="text-emerald-400" /> : <Copy size={11} />}+ {copied === 'user' ? <Check size={11} className="text-ok" /> : <Copy size={11} />}</button>)}</div>@@ -337,7 +337,7 @@ export const SavedLoginRow: React.FC<RowProps> = ({<div className="flex items-center gap-0.5 ml-1 flex-shrink-0">{revealed !== null && (<button type="button" onClick={() => copy(revealed, 'pass')} aria-label="Copy password" className="text-zinc-500 hover:text-zinc-200 p-1">- {copied === 'pass' ? <Check size={11} className="text-emerald-400" /> : <Copy size={11} />}+ {copied === 'pass' ? <Check size={11} className="text-ok" /> : <Copy size={11} />}</button>)}<button@@ -585,7 +585,7 @@ export const SavedPasswordsPanel: React.FC<{<div className="p-2 rounded-lg bg-zinc-900/40 border border-zinc-800/60 space-y-1.5 text-[10px] text-zinc-400"><div className="flex items-start gap-2">- <ShieldCheck size={14} className="text-emerald-400 flex-shrink-0 mt-0.5" aria-hidden="true" />+ <ShieldCheck size={14} className="text-ok flex-shrink-0 mt-0.5" aria-hidden="true" /><p className="leading-snug"><span className="text-zinc-300 font-medium">{bitwarden ? 'Kept in your Bitwarden, locked after every restart.' : 'Encrypted on the server, out of the bots’ folders.'}</span> A login is filled in only on the exact address it was saved for.</p>diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsxindex 94b209c6..798da3fe 100644--- a/frontend/src/components/SettingsModal.tsx+++ b/frontend/src/components/SettingsModal.tsx@@ -705,7 +705,7 @@ export const SettingsModal: React.FC<SettingsModalProps> = ({ isOpen, onClose, tdata-api-keys-linkclassName="w-full flex items-center gap-2 p-3 text-left rounded-xl border border-zinc-800 bg-zinc-950/60 hover:border-zinc-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400">- <Key size={14} className="text-violet-400" aria-hidden="true" />+ <Key size={14} className="text-sky-400" aria-hidden="true" /><span className="flex-1"><span className="block text-xs font-medium text-zinc-200">API keys and Ollama</span><span className="block text-[11px] text-zinc-500">Now in Settings › This space › Apps & accounts, next to the accounts that use them.</span>@@ -890,7 +890,7 @@ export const SettingsModal: React.FC<SettingsModalProps> = ({ isOpen, onClose, t{(proactive || ideaCap !== null) && (<fieldset className="space-y-3 pt-2 border-t border-zinc-800" data-testid="proactive-settings"><legend className="flex items-center gap-2 text-xs font-medium text-zinc-300 pt-3">- <Sparkles size={14} className="text-violet-300" aria-hidden="true" />+ <Sparkles size={14} className="text-info" aria-hidden="true" /><span>Bots on their own</span></legend>{/* The jar's row stands on its own: a server without decide_first still shows it (#323 S3). */}@@ -1204,7 +1204,7 @@ export const SettingsModal: React.FC<SettingsModalProps> = ({ isOpen, onClose, t)}{saveSuccess && (- <div className="bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 px-3 py-2 rounded-lg text-xs flex items-center gap-2">+ <div className="bg-teal-400/10 border border-teal-400/20 text-ok px-3 py-2 rounded-lg text-xs flex items-center gap-2"><Check size={14} /><span>Saved for every space</span></div>@@ -1237,7 +1237,7 @@ export const SettingsModal: React.FC<SettingsModalProps> = ({ isOpen, onClose, t<buttontype="submit"disabled={saving || !!webhookError || limitsInvalid || tokenLimitsInvalid || spendStopInvalid}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors shadow-sm disabled:opacity-50"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors shadow-sm disabled:opacity-50">{saving ? 'Saving…' : 'Save'}</button>diff --git a/frontend/src/components/SetupNeededCard.tsx b/frontend/src/components/SetupNeededCard.tsxindex eb99392f..891da4a8 100644--- a/frontend/src/components/SetupNeededCard.tsx+++ b/frontend/src/components/SetupNeededCard.tsx@@ -62,11 +62,11 @@ export const SetupNeededCard: React.FC<Props> = ({ meta, botName, spaceName, can<div className={`flex items-start gap-3.5 w-full max-w-5xl rounded-xl ${flash ? 'kw-flash' : ''}`} data-setup-card={meta.reason}><divclassName={`w-[34px] h-[34px] flex-shrink-0 rounded-full flex items-center justify-center border ${- fixed ? 'bg-emerald-500/10 border-emerald-500/40' : 'bg-amber-500/10 border-amber-500/40'+ fixed ? 'bg-teal-400/10 border-teal-400/40' : 'bg-amber-500/10 border-amber-500/40'}`}aria-hidden="true">- {fixed ? <CheckCircle2 size={16} className="text-emerald-300" /> : <AlertTriangle size={16} className="text-amber-300" />}+ {fixed ? <CheckCircle2 size={16} className="text-ok" /> : <AlertTriangle size={16} className="text-amber-300" />}</div><divrole="status"@@ -82,7 +82,7 @@ export const SetupNeededCard: React.FC<Props> = ({ meta, botName, spaceName, canonClick={onRecheck}disabled={rechecking}data-setup-recheck- className="mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 disabled:opacity-60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300"+ className="mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 disabled:opacity-60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300"><RefreshCw size={13} aria-hidden="true" className={rechecking ? 'animate-spin motion-reduce:animate-none' : undefined} />{rechecking ? 'Checking…' : 'Re-check'}@@ -92,7 +92,7 @@ export const SetupNeededCard: React.FC<Props> = ({ meta, botName, spaceName, can<buttontype="button"onClick={onOpenAccounts}- className="mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300"+ className="mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-300"><KeyRound size={13} aria-hidden="true" />Add an accountdiff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsxindex 1e3cd9cb..785373d8 100644--- a/frontend/src/components/Sidebar.tsx+++ b/frontend/src/components/Sidebar.tsx@@ -499,11 +499,12 @@ export const Sidebar: React.FC<SidebarProps> = ({const active = !phone && !isChannel && selectedId === k.id;const att = pin?.att ?? chat?.att;const asked = chat?.needs ?? (att?.rank === 1 ? att.needs : undefined);- // H5 ranks 2–4 say what broke, what waits for review (0.9 V1) or what finished, in rose, sky or- // zinc-200; a review that needs you says so in amber+ // H5 ranks 2–4 say what broke, what waits for review (0.9 V1) or what finished, in rose, lavender (info) or+ // zinc-200; a review that needs you says so in amber. Review's dot is a hollow lavender ring, so it never+ // reads as working's filled, pulsing lavender dot.const attLine = att && (att.rank === 2 || att.rank === 3 || att.rank === 4 || (att.rank === 1 && att.review)) ? att.line : undefined;- const attTone = !att ? '' : att.rank === 1 ? 'text-warn' : att.rank === 2 ? 'text-rose-300' : att.rank === 3 ? 'text-[#7dd3fc]' : 'text-zinc-200';- const attDot = !att ? '' : att.rank === 1 ? 'kw-status-warn' : att.rank === 2 ? 'bg-rose-400' : att.rank === 3 ? 'bg-[#38bdf8]' : 'bg-teal-400';+ const attTone = !att ? '' : att.rank === 1 ? 'text-warn' : att.rank === 2 ? 'text-rose-300' : att.rank === 3 ? 'text-info' : 'text-zinc-200';+ const attDot = !att ? '' : att.rank === 1 ? 'kw-status-warn' : att.rank === 2 ? 'bg-rose-400' : att.rank === 3 ? 'border-[1.5px] border-sky-300 bg-transparent' : 'kw-status-ok';// Pinned to an engine that can't run, with failover off: its turn would fail, so no green dotconst pinnedTip = pinnedCantRun(k, engines.engines);const status = asked ? 'needs_you' : statusOf(k.id, botStatus, pinnedTip ? false : canRun);@@ -755,7 +756,7 @@ export const Sidebar: React.FC<SidebarProps> = ({else if (r === 5) c.working++;}const dots: Array<[number, string]> = c.needs || c.stuck || c.review || c.finished- ? ([[c.needs, 'bg-amber-400'], [c.stuck, 'bg-rose-400'], [c.review, 'bg-[#38bdf8]'], [c.finished, 'bg-teal-400']] as Array<[number, string]>).filter(([n]) => n > 0)+ ? ([[c.needs, 'bg-amber-400'], [c.stuck, 'bg-rose-400'], [c.review, 'border-[1.5px] border-sky-300 bg-transparent'], [c.finished, 'kw-status-ok']] as Array<[number, string]>).filter(([n]) => n > 0): c.working? [[c.working, 'bg-[#9d8fff]']]: [];@@ -1196,9 +1197,9 @@ export const Sidebar: React.FC<SidebarProps> = ({{readyCount === null ? (<Loader2 size={13} className="text-sky-400 animate-spin motion-reduce:animate-none" aria-hidden="true" />) : readyCount > 0 ? (- <CheckCircle2 size={13} className="text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={13} className="text-ok" aria-hidden="true" />) : (- <KeyRound size={13} className="text-violet-300" aria-hidden="true" />+ <KeyRound size={13} className="text-info" aria-hidden="true" />)}{/* The prompt wraps, so its fix is never cut off */}<span className={readyCount === 0 ? 'text-left' : 'truncate'}>diff --git a/frontend/src/components/SkillsPanel.tsx b/frontend/src/components/SkillsPanel.tsxindex 8de6ebe2..0e4673c4 100644--- a/frontend/src/components/SkillsPanel.tsx+++ b/frontend/src/components/SkillsPanel.tsx@@ -22,7 +22,7 @@ import {const smallBtn ='inline-flex items-center gap-1 px-2 py-1 rounded-md text-[11px] font-medium border transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';const quietBtn = `${smallBtn} border-zinc-700/70 bg-zinc-800/70 text-zinc-200 hover:bg-zinc-700`;-const goBtn = `${smallBtn} border-emerald-500/40 bg-emerald-600/80 text-white hover:bg-emerald-500`;+const goBtn = `${smallBtn} border-teal-300/40 bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`;const dangerBtn = `${smallBtn} border-rose-500/30 bg-rose-500/10 text-rose-300 hover:bg-rose-500/20`;const inputClass ='w-full bg-zinc-950 border border-zinc-800 rounded-lg px-3 py-2 text-xs text-zinc-100 placeholder-zinc-600 focus:border-sky-500 focus:outline-none transition-colors';@@ -159,7 +159,7 @@ const SkillChanges: React.FC<{ skill: Skill }> = ({ skill }) => {return (<div className="space-y-1"><p className="text-[10px] text-zinc-500">- <span className="text-emerald-300">+{added}</span> <span className="text-rose-300">−{removed}</span> lines+ <span className="text-ok">+{added}</span> <span className="text-rose-300">−{removed}</span> lines{diff.description_changed && diff.base && <> · description was “{diff.base.description}”</>}</p><div@@ -172,7 +172,7 @@ const SkillChanges: React.FC<{ skill: Skill }> = ({ skill }) => {<divkey={i}className={`px-2.5 whitespace-pre-wrap break-words ${- l.op === 'add' ? 'bg-emerald-500/10 text-emerald-200' : l.op === 'del' ? 'bg-rose-500/10 text-rose-200 line-through decoration-rose-400/40' : 'text-zinc-400'+ l.op === 'add' ? 'bg-teal-400/10 text-teal-200' : l.op === 'del' ? 'bg-rose-500/10 text-rose-200 line-through decoration-rose-400/40' : 'text-zinc-400'}`}><span className="select-none inline-block w-3 text-zinc-500" aria-hidden="true">@@ -196,7 +196,7 @@ const SkillMeta: React.FC<{ skill: Skill; replaces?: Skill }> = ({ skill, replac{shownOf(skill) ? (<ShownBadge />) : skill.source === 'agent' ? (- <Badge tone="bg-violet-500/10 text-violet-300 border-violet-500/20">+ <Badge tone="bg-sky-500/10 text-info border-sky-500/20"><Bot size={10} aria-hidden="true" /> Proposed</Badge>) : (@@ -486,7 +486,7 @@ export const ActiveSkill: React.FC<{ skill: Skill; initialPending?: boolean }> =disabled={busy}onClick={() => run(() => skillsApi.patch(skill.id, { enabled: !enabled }))}className={`relative shrink-0 mt-0.5 w-8 h-[18px] rounded-full border transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500 ${- enabled ? 'bg-emerald-500/70 border-emerald-400/60' : 'bg-zinc-800 border-zinc-700'+ enabled ? 'bg-sky-600 border-transparent' : 'bg-zinc-800 border-zinc-700'}`}><span className={`absolute top-[2px] w-3 h-3 rounded-full bg-white transition-all ${enabled ? 'left-[16px]' : 'left-[2px]'}`} aria-hidden="true" />diff --git a/frontend/src/components/SpaceDocsTab.tsx b/frontend/src/components/SpaceDocsTab.tsxindex 1f33b977..f771fc65 100644--- a/frontend/src/components/SpaceDocsTab.tsx+++ b/frontend/src/components/SpaceDocsTab.tsx@@ -18,7 +18,7 @@ import { DocMark } from './DocMark';import { DocViewerOpen, DocViewerSheet } from './DocViewerSheet';const focusRing = 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-400';-const primaryBtn = `inline-flex items-center justify-center gap-1.5 px-3 rounded-lg text-xs font-medium text-white bg-violet-600 hover:bg-violet-500 transition-colors motion-reduce:transition-none disabled:opacity-50 ${focusRing}`;+const primaryBtn = `kw-btn-primary kw-focus px-3 rounded-lg text-xs motion-reduce:transition-none`;const quietBtn = `inline-flex items-center justify-center gap-1.5 px-3 rounded-lg text-xs font-medium text-zinc-200 border border-zinc-700 bg-zinc-900 hover:bg-zinc-800 ${focusRing}`;const dangerBtn = `inline-flex items-center justify-center gap-1.5 px-3 rounded-lg text-xs font-medium bg-rose-300/[.12] border border-rose-300/40 text-rose-100 hover:bg-rose-300/20 ${focusRing}`;const tooBig = (size: number) => `It’s ${formatSize(size)}, over the 2 MB bots can read. Save a smaller copy or split it.`;@@ -197,12 +197,12 @@ export const SpaceDocsTab: React.FC<{ spaceId: string; spaceName: string; isPhon</div>) : (<div- className={`flex items-center gap-3.5 p-4 rounded-xl border border-dashed transition-colors motion-reduce:transition-none ${over ? 'border-violet-400 bg-violet-400/[.06]' : 'border-zinc-700 bg-zinc-900/50'}`}+ className={`flex items-center gap-3.5 p-4 rounded-xl border border-dashed transition-colors motion-reduce:transition-none ${over ? 'border-sky-400 bg-sky-400/[.06]' : 'border-zinc-700 bg-zinc-900/50'}`}data-docs-dropdata-over={over || undefined}><span className="shrink-0 inline-flex items-center justify-center w-9 h-9 rounded-[10px] bg-zinc-900 border border-zinc-800" aria-hidden="true">- <Upload size={18} className="text-violet-300" />+ <Upload size={18} className="text-info" /></span><div className="min-w-0 flex-1"><p className="text-[13px] font-medium text-zinc-100">Drop files here, or choose them</p>@@ -215,12 +215,12 @@ export const SpaceDocsTab: React.FC<{ spaceId: string; spaceName: string; isPhonconst empty = list && docs.length === 0 && (<divclassName={`flex flex-col items-center text-center gap-2 px-4 py-8 rounded-xl border ${isPhone ? 'border-zinc-800' : 'border-dashed'} ${- over ? 'border-violet-400 bg-violet-400/[.06]' : `${isPhone ? '' : 'border-zinc-700'} bg-zinc-900/50`+ over ? 'border-sky-400 bg-sky-400/[.06]' : `${isPhone ? '' : 'border-zinc-700'} bg-zinc-900/50`}`}data-docs-empty><span className="inline-flex items-center justify-center w-10 h-10 rounded-[10px] bg-zinc-900 border border-zinc-800" aria-hidden="true">- <FileText size={18} className="text-violet-300" />+ <FileText size={18} className="text-info" /></span><p className="text-sm font-medium text-zinc-100">No documents yet</p><p className="max-w-[420px] text-[13px] text-zinc-300 leading-relaxed">@@ -377,7 +377,7 @@ export const SpaceDocsTab: React.FC<{ spaceId: string; spaceName: string; isPhon{list === null && !failed && canEdit && !isPhone && (<div className="flex items-center gap-3.5 p-4 rounded-xl border border-dashed border-zinc-700 bg-zinc-900/50"><span className="shrink-0 inline-flex items-center justify-center w-9 h-9 rounded-[10px] bg-zinc-900 border border-zinc-800" aria-hidden="true">- <Upload size={18} className="text-violet-300" />+ <Upload size={18} className="text-info" /></span><div className="min-w-0 flex-1"><p className="text-[13px] font-medium text-zinc-100">Drop files here, or choose them</p>@@ -441,7 +441,7 @@ export const SpaceDocsTab: React.FC<{ spaceId: string; spaceName: string; isPhon{!isPhone && (<>{' '}- <button type="button" onClick={copyFolder} className={`inline-flex items-center gap-1 align-middle rounded text-violet-300 hover:text-violet-200 hover:underline ${focusRing}`}>+ <button type="button" onClick={copyFolder} className={`inline-flex items-center gap-1 align-middle rounded text-info hover:text-sky-200 hover:underline ${focusRing}`}><Copy size={12} aria-hidden="true" /> {copied ? 'Copied' : 'Copy folder'}</button></>@@ -450,7 +450,7 @@ export const SpaceDocsTab: React.FC<{ spaceId: string; spaceName: string; isPhon)}{list && isPhone && (<div className="mt-1">- <button type="button" onClick={copyFolder} className={`inline-flex items-center gap-1 h-11 -my-1.5 rounded text-xs text-violet-300 hover:text-violet-200 hover:underline ${focusRing}`}>+ <button type="button" onClick={copyFolder} className={`inline-flex items-center gap-1 h-11 -my-1.5 rounded text-xs text-info hover:text-sky-200 hover:underline ${focusRing}`}><Copy size={12} aria-hidden="true" /> {copied ? 'Copied' : 'Copy folder'}</button></div>diff --git a/frontend/src/components/SpaceReadyCard.tsx b/frontend/src/components/SpaceReadyCard.tsxindex 10ee679d..2532d5df 100644--- a/frontend/src/components/SpaceReadyCard.tsx+++ b/frontend/src/components/SpaceReadyCard.tsx@@ -101,7 +101,7 @@ export const SpaceReadyCard: React.FC<SpaceReadyCardProps> = ({ spaceName, tile,<li key={step.title} className="flex items-start gap-3 rounded-xl border border-zinc-800 bg-zinc-950/50 p-3" data-step={i + 1}><spanclassName={`mt-0.5 w-5 h-5 shrink-0 rounded-full flex items-center justify-center text-[11px] font-semibold ${- step.done ? 'bg-emerald-500 text-zinc-950' : 'bg-zinc-800 text-zinc-300'+ step.done ? 'bg-teal-300 text-zinc-950' : 'bg-zinc-800 text-zinc-300'}`}aria-hidden="true">@@ -120,7 +120,7 @@ export const SpaceReadyCard: React.FC<SpaceReadyCardProps> = ({ spaceName, tile,type="button"onClick={step.action.onClick}className={`shrink-0 flex items-center gap-1 px-2.5 py-1 rounded-lg text-[11px] font-medium ${FOCUS} ${- step.done ? 'text-zinc-200 border border-zinc-700 hover:border-sky-500/50 hover:text-sky-200' : 'text-white bg-sky-600 hover:bg-sky-500'+ step.done ? 'text-zinc-200 border border-zinc-700 hover:border-sky-500/50 hover:text-sky-200' : 'text-white bg-sky-600 hover:bg-sky-700'}`}>{step.action.icon}diff --git a/frontend/src/components/SpaceSettings.tsx b/frontend/src/components/SpaceSettings.tsxindex 826d1862..dff5a45d 100644--- a/frontend/src/components/SpaceSettings.tsx+++ b/frontend/src/components/SpaceSettings.tsx@@ -114,7 +114,7 @@ const card = 'rounded-xl border border-zinc-800 bg-zinc-950/60';const rowBtn ='flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg text-xs font-medium text-zinc-300 border border-zinc-700/60 bg-zinc-800/60 hover:bg-zinc-700/70 hover:text-zinc-100 transition-colors';const primaryBtn =- 'flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 transition-colors disabled:opacity-50';+ 'flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 transition-colors disabled:opacity-50';/** Settings, in one place: "This space" (only the open space) and "All spaces" (the app). */export const SpaceSettings: React.FC<Props> = (p) => {@@ -489,7 +489,7 @@ const GeneralTab: React.FC<Props> = ({ space, spaces, kwants, teams, onSpaceSave)}<div className="flex justify-end items-center gap-2">{saved && (- <span className="flex items-center gap-1 text-xs text-emerald-400" role="status">+ <span className="flex items-center gap-1 text-xs text-ok" role="status"><Check size={13} /> Saved</span>)}diff --git a/frontend/src/components/Spaces.tsx b/frontend/src/components/Spaces.tsxindex 62301b43..2c2574be 100644--- a/frontend/src/components/Spaces.tsx+++ b/frontend/src/components/Spaces.tsx@@ -429,7 +429,7 @@ export const NewSpaceModal: React.FC<NewSpaceProps> = ({ spaces, onClose, onCrea<buttontype="submit"disabled={saving}- className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-500 disabled:opacity-50 flex items-center gap-1.5"+ className="px-4 py-2 rounded-lg text-xs font-medium text-white bg-sky-600 hover:bg-sky-700 disabled:opacity-50 flex items-center gap-1.5">{saving && <Loader2 size={13} className="animate-spin motion-reduce:animate-none" aria-hidden="true" />}{saving ? 'Creating…' : 'Create space'}diff --git a/frontend/src/components/StartPicker.tsx b/frontend/src/components/StartPicker.tsxindex b426c81a..cad5f75d 100644--- a/frontend/src/components/StartPicker.tsx+++ b/frontend/src/components/StartPicker.tsx@@ -94,8 +94,8 @@ export const StartPicker: React.FC<{role="radio"aria-checked={keyCard === p.card}onClick={() => setKeyCard(p.card)}- className={`px-2.5 py-1 rounded-full text-[11px] border transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400 ${- keyCard === p.card ? 'border-violet-500/60 bg-violet-500/15 text-violet-100' : 'border-zinc-800 text-zinc-400 hover:text-zinc-200'+ className={`px-2.5 py-1 rounded-full text-[11px] border transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 ${+ keyCard === p.card ? 'border-sky-500/60 bg-sky-500/15 text-sky-100' : 'border-zinc-800 text-zinc-400 hover:text-zinc-200'}`}>{p.label}@@ -109,7 +109,7 @@ export const StartPicker: React.FC<{};return (- <div data-start-picker="" className="rounded-xl border border-violet-500/25 bg-violet-500/[0.05] p-3 space-y-2.5">+ <div data-start-picker="" className="rounded-xl border border-sky-500/25 bg-sky-500/[0.05] p-3 space-y-2.5"><div><h4 className="text-xs font-semibold text-zinc-100">Pick one to start</h4><p className="text-[11px] text-zinc-400">Your bots answer once one of these works. You can add more later.</p>@@ -126,12 +126,12 @@ export const StartPicker: React.FC<{playSfx('click');setChoice(id);}}- className={`text-left rounded-lg border px-3 py-2.5 min-h-[44px] transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-violet-400 ${- choice === id ? 'border-violet-500/60 bg-violet-500/10' : 'border-zinc-800 bg-zinc-900/80 hover:border-zinc-700'+ className={`text-left rounded-lg border px-3 py-2.5 min-h-[44px] transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400 ${+ choice === id ? 'border-sky-500/60 bg-sky-500/10' : 'border-zinc-800 bg-zinc-900/80 hover:border-zinc-700'}`}><span className="flex items-center gap-1.5 text-xs font-medium text-zinc-100">- <Icon size={13} className="text-violet-300" aria-hidden="true" />+ <Icon size={13} className="text-info" aria-hidden="true" />{title}</span><span className="block mt-0.5 text-[11px] text-zinc-500">{hint}</span>diff --git a/frontend/src/components/SuggestedRoutines.tsx b/frontend/src/components/SuggestedRoutines.tsxindex be45bbc0..30221176 100644--- a/frontend/src/components/SuggestedRoutines.tsx+++ b/frontend/src/components/SuggestedRoutines.tsx@@ -30,7 +30,7 @@ import { playSfx } from '../audio/chiptune';const smallBtn ='inline-flex items-center gap-1 px-2 py-1 rounded-md text-[11px] font-medium border transition-colors disabled:opacity-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-500';const quietBtn = `${smallBtn} border-zinc-700/70 bg-zinc-800/70 text-zinc-200 hover:bg-zinc-700`;-const primaryBtn = `${smallBtn} border-sky-500/50 bg-sky-600 text-white hover:bg-sky-500`;+const primaryBtn = `${smallBtn} border-sky-500/50 bg-sky-600 text-white hover:bg-sky-700`;/** A card the person just decided: stays as one line so they see what happened. */type Done = { id: string; text: string };@@ -183,7 +183,7 @@ export const SuggestionCard: React.FC<{);return (- <li aria-labelledby={titleId} className="rounded-xl border border-violet-500/25 bg-zinc-950/60 p-3 space-y-2.5" data-testid="suggestion-card">+ <li aria-labelledby={titleId} className="rounded-xl border border-sky-500/25 bg-zinc-950/60 p-3 space-y-2.5" data-testid="suggestion-card"><div className="flex items-start gap-2.5">{kwant ? (<ModernAvatar role={kwant.avatar_sprite} name={kwant.name} size={28} kwantId={kwant.id} />@@ -242,7 +242,7 @@ export const SuggestionCard: React.FC<{{p && (<div className="flex items-start gap-1.5" data-testid="permissions-preview">- <ShieldCheck size={12} className="mt-0.5 shrink-0 text-emerald-300/80" aria-hidden="true" />+ <ShieldCheck size={12} className="mt-0.5 shrink-0 text-teal-300/80" aria-hidden="true" /><p><span className="text-zinc-300">{p.flight_school ? p.tier_label : 'Works as this bot does today'}.</span> {approvalText(p.approval_mode)}. Payments always ask you.{' '}{pastText(p.past)}@@ -460,9 +460,9 @@ export const SuggestedRoutines: React.FC<{<section aria-labelledby={headingId} className="space-y-2" data-testid="suggested-routines"><div className="flex flex-wrap items-center justify-between gap-2"><h3 id={headingId} className="flex items-center gap-1.5 text-xs font-semibold text-zinc-200">- <Sparkles size={13} className="text-violet-300" aria-hidden="true" />+ <Sparkles size={13} className="text-info" aria-hidden="true" />Suggested routines- {offers.length > 0 && <span className="px-1.5 rounded-full bg-violet-500/15 text-violet-200 text-[10px] font-medium">{offers.length}</span>}+ {offers.length > 0 && <span className="px-1.5 rounded-full bg-sky-500/15 text-sky-200 text-[10px] font-medium">{offers.length}</span>}</h3>{list && blocked.length === 0 && (<div className="flex items-center gap-1.5">@@ -538,7 +538,7 @@ export const SuggestedRoutines: React.FC<{key={d.id}ref={i === done.length - 1 ? doneRef : undefined}tabIndex={-1}- className="flex items-start gap-1.5 text-[11px] text-emerald-200 bg-emerald-500/10 border border-emerald-500/20 rounded-lg px-3 py-2 focus:outline-none focus-visible:ring-1 focus-visible:ring-emerald-400/50"+ className="flex items-start gap-1.5 text-[11px] text-teal-200 bg-teal-400/10 border border-teal-400/20 rounded-lg px-3 py-2 focus:outline-none focus-visible:ring-1 focus-visible:ring-teal-400/50"><Check size={12} className="mt-0.5 shrink-0" aria-hidden="true" /> {d.text}</p>diff --git a/frontend/src/components/SystemNotice.tsx b/frontend/src/components/SystemNotice.tsxindex aaad1aca..aa912846 100644--- a/frontend/src/components/SystemNotice.tsx+++ b/frontend/src/components/SystemNotice.tsx@@ -214,7 +214,7 @@ export const HandoffCappedNotice: React.FC<HandoffCappedNoticeProps> = ({ messag<div className="min-w-0 flex-1 basis-56"><p id={headingId} className={`flex items-start gap-2 text-sm break-words ${done ? 'text-zinc-400' : 'text-sky-100'}`}>{done ? (- <Check size={15} className="mt-0.5 shrink-0 text-emerald-400" aria-hidden="true" />+ <Check size={15} className="mt-0.5 shrink-0 text-ok" aria-hidden="true" />) : (<PauseCircle size={15} className="mt-0.5 shrink-0 text-sky-400" aria-hidden="true" />)}@@ -229,7 +229,7 @@ export const HandoffCappedNotice: React.FC<HandoffCappedNoticeProps> = ({ messagdisabled={state === 'sending'}aria-describedby={headingId}data-handoff-continue- className="shrink-0 inline-flex items-center justify-center gap-1.5 min-h-[40px] sm:min-h-[36px] px-3.5 py-1.5 rounded-lg text-xs font-semibold transition-colors cursor-pointer disabled:cursor-default text-white bg-sky-600 hover:bg-sky-500 disabled:opacity-70 disabled:hover:bg-sky-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400"+ className="shrink-0 inline-flex items-center justify-center gap-1.5 min-h-[40px] sm:min-h-[36px] px-3.5 py-1.5 rounded-lg text-xs font-semibold transition-colors cursor-pointer disabled:cursor-default text-white bg-sky-600 hover:bg-sky-700 disabled:opacity-70 disabled:hover:bg-sky-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400">{state === 'sending' ? <Loader2 size={13} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <Play size={13} aria-hidden="true" />}<span>{state === 'sending' ? 'Continuing…' : 'Continue'}</span>diff --git a/frontend/src/components/TagListInput.tsx b/frontend/src/components/TagListInput.tsxindex 700032d1..2ce731d6 100644--- a/frontend/src/components/TagListInput.tsx+++ b/frontend/src/components/TagListInput.tsx@@ -22,7 +22,7 @@ export const TagListInput: React.FC<{const [draft, setDraft] = useState('');const [typedError, setError] = useState<string | null>(null);const error = typedError ?? serverError ?? null;- const chip = tone === 'good' ? 'border-emerald-500/30 bg-emerald-500/10 text-emerald-100' : 'border-amber-500/30 bg-amber-500/10 text-amber-100';+ const chip = tone === 'good' ? 'border-teal-400/30 bg-teal-400/10 text-teal-100' : 'border-amber-500/30 bg-amber-500/10 text-amber-100';const splits = (s: string) => new RegExp(limits.split.source).test(s);const plain = limits !== PHRASE_LIMITS; // site names: no capitals or spell checkdiff --git a/frontend/src/components/TeamNeedBox.tsx b/frontend/src/components/TeamNeedBox.tsxindex 9871743a..b104a225 100644--- a/frontend/src/components/TeamNeedBox.tsx+++ b/frontend/src/components/TeamNeedBox.tsx@@ -188,7 +188,7 @@ export const TeamNeedBox: React.FC<TeamNeedBoxProps> = ({ label, register, autoFaria-disabled={busy || undefined}data-need-submitclassName={`${btnH} inline-flex items-center justify-center gap-1.5 px-4 rounded-lg text-sm font-medium ${- noAccount && !busy ? 'border border-sky-300/40 text-sky-200 hover:bg-sky-300/10' : 'bg-sky-600 hover:bg-sky-500 text-white'+ noAccount && !busy ? 'border border-sky-300/40 text-sky-200 hover:bg-sky-300/10' : 'bg-sky-600 hover:bg-sky-700 text-white'} aria-disabled:opacity-70 aria-disabled:cursor-progress ${FOCUS}`}>{busy ? (diff --git a/frontend/src/components/TeamNeedsCard.tsx b/frontend/src/components/TeamNeedsCard.tsxindex 9fd44d84..e6d05411 100644--- a/frontend/src/components/TeamNeedsCard.tsx+++ b/frontend/src/components/TeamNeedsCard.tsx@@ -128,7 +128,7 @@ export const TeamNeedsCard: React.FC<TeamNeedsCardProps> = ({ template: t, handlconst firstReq = !ctx.canRun ? '__account' : views.find(({ n, v }) => n.required && v.state !== 'done' && v.state !== 'checking')?.n.id;const btn = (primary: boolean) =>- `${phone ? 'h-11 w-full mt-2' : 'h-8'} shrink-0 px-3 rounded-lg text-[13px] font-medium disabled:opacity-50 ${primary ? 'bg-sky-600 hover:bg-sky-500 text-white' : 'border border-zinc-700 text-zinc-100 hover:bg-white/5'} ${FOCUS}`;+ `${phone ? 'h-11 w-full mt-2' : 'h-8'} shrink-0 px-3 rounded-lg text-[13px] font-medium disabled:opacity-50 ${primary ? 'bg-sky-600 hover:bg-sky-700 text-white' : 'border border-zinc-700 text-zinc-100 hover:bg-white/5'} ${FOCUS}`;const row = (key: string, s: NeedState, label: string, text: string, optional: boolean, action: React.ReactNode, earned?: React.ReactNode) => (<li key={key} data-need={key} data-s={s} className={`flex ${phone ? 'flex-wrap' : 'items-center'} gap-3 min-h-[52px] p-2 border-t border-white/5 first:border-t-0`}>diff --git a/frontend/src/components/TeamPreviewSheet.tsx b/frontend/src/components/TeamPreviewSheet.tsxindex ef6c6e50..bdaf4430 100644--- a/frontend/src/components/TeamPreviewSheet.tsx+++ b/frontend/src/components/TeamPreviewSheet.tsx@@ -1087,7 +1087,7 @@ const Sheet: React.FC<TeamPreviewSheetProps> = ({</p><div className={`mt-4 flex ${phone ? 'flex-col w-full' : ''} gap-2`}>{forge && (- <button type="button" onClick={() => onConnectForge?.(url, forge)} className={`${phone ? 'h-11' : 'h-9'} px-4 rounded-lg bg-sky-600 hover:bg-sky-500 text-white text-sm font-medium ${FOCUS}`}>+ <button type="button" onClick={() => onConnectForge?.(url, forge)} className={`${phone ? 'h-11' : 'h-9'} px-4 rounded-lg bg-sky-600 hover:bg-sky-700 text-white text-sm font-medium ${FOCUS}`}>Connect {forge}</button>)}@@ -1347,7 +1347,7 @@ const Sheet: React.FC<TeamPreviewSheetProps> = ({type="button"onClick={onPrimary}disabled={primaryDisabled}- className={`${btnH} ${phoneN ? 'basis-full' : ''} whitespace-nowrap inline-flex items-center justify-center gap-2 px-4 rounded-lg bg-sky-600 hover:bg-sky-500 text-white text-sm font-medium disabled:opacity-50 disabled:hover:bg-sky-600 ${FOCUS}`}+ className={`${btnH} ${phoneN ? 'basis-full' : ''} whitespace-nowrap inline-flex items-center justify-center gap-2 px-4 rounded-lg bg-sky-600 hover:bg-sky-700 text-white text-sm font-medium disabled:opacity-50 disabled:hover:bg-sky-600 ${FOCUS}`}>{creating && <Loader2 size={14} className="animate-spin motion-reduce:animate-none" aria-hidden="true" />}{pickOther && !creating && <FolderOpen size={14} aria-hidden="true" />}diff --git a/frontend/src/components/TelegramCard.tsx b/frontend/src/components/TelegramCard.tsxindex 2d410559..73973bf1 100644--- a/frontend/src/components/TelegramCard.tsx+++ b/frontend/src/components/TelegramCard.tsx@@ -32,7 +32,7 @@ export type TelegramApi = typeof telegramApi;const focusRing = 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500';const actionBtn = `inline-flex items-center justify-center gap-1.5 min-h-[44px] sm:min-h-[32px] px-3 py-1 rounded-lg text-xs font-medium transition-colors disabled:opacity-50 ${focusRing}`;const quietBtn = `${actionBtn} border border-zinc-700 bg-zinc-800/80 text-zinc-100 hover:bg-zinc-700 hover:border-zinc-600`;-const primaryBtn = `${actionBtn} text-white bg-sky-600 hover:bg-sky-500 shadow-sm`;+const primaryBtn = `${actionBtn} text-white bg-sky-600 hover:bg-sky-700 shadow-sm`;const dangerGhost = `${actionBtn} border border-rose-500/40 text-rose-200 hover:bg-rose-500/10`;const dangerBtn = `${actionBtn} text-white bg-rose-600 hover:bg-rose-500`;const textBtn = `inline-flex items-center min-h-[44px] max-sm:-my-[13px] align-middle sm:min-h-0 px-1 rounded text-xs font-medium text-sky-300 hover:text-sky-200 hover:underline underline-offset-2 ${focusRing}`;@@ -726,7 +726,7 @@ export const ConnectedCard: React.FC<ConnectedCardProps> = ({ status, api, onStaTelegram</h4>{status.state === 'paired' ? (- <span className="px-1.5 py-px rounded border text-[11px] border-emerald-500/30 bg-emerald-500/10 text-emerald-200">On</span>+ <span className="px-1.5 py-px rounded border text-[11px] border-teal-400/30 bg-teal-400/10 text-teal-200">On</span>) : (<span className="px-1.5 py-px rounded border text-[11px] border-zinc-700 bg-zinc-800 text-zinc-300">Not paired</span>)}diff --git a/frontend/src/components/TelegramMarks.tsx b/frontend/src/components/TelegramMarks.tsxindex 8baf94c2..763cf534 100644--- a/frontend/src/components/TelegramMarks.tsx+++ b/frontend/src/components/TelegramMarks.tsx@@ -30,7 +30,7 @@ export const SentToTelegram: React.FC = () => (*/export const AllowedFromTelegram: React.FC<{ lead: string }> = ({ lead }) => (<div className="tg-done flex items-start gap-2 ml-0 sm:ml-[50px] max-w-3xl px-3 py-2 rounded-xl border border-zinc-800 bg-zinc-900/50 text-xs text-zinc-400" data-resolved-via="telegram">- <ShieldCheck size={14} className="mt-0.5 shrink-0 text-violet-300" aria-hidden="true" />+ <ShieldCheck size={14} className="mt-0.5 shrink-0 text-info" aria-hidden="true" /><p className="min-w-0 break-words leading-5">{lead} · <b className="font-semibold text-zinc-100">{ALLOWED_FROM_TELEGRAM}</b></p>@@ -46,9 +46,9 @@ export const ResolvedViaTelegram: React.FC<{ kind: 'question' | 'approval'; leadreturn (<div className="tg-done flex items-start gap-2 ml-0 sm:ml-[50px] max-w-3xl px-3 py-2 rounded-xl border border-zinc-800 bg-zinc-900/50 text-xs text-zinc-400" data-resolved-via="telegram">{kind === 'question' ? (- <CheckCircle2 size={14} className="mt-0.5 shrink-0 text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={14} className="mt-0.5 shrink-0 text-ok" aria-hidden="true" />) : (- <ShieldCheck size={14} className="mt-0.5 shrink-0 text-violet-300" aria-hidden="true" />+ <ShieldCheck size={14} className="mt-0.5 shrink-0 text-info" aria-hidden="true" />)}<p className="min-w-0 break-words leading-5">{lead} · <b className="font-semibold text-zinc-100">{outcome}</b> <ViaTelegram />diff --git a/frontend/src/components/ThreadBar.tsx b/frontend/src/components/ThreadBar.tsxindex 18acf25e..ba4a0751 100644--- a/frontend/src/components/ThreadBar.tsx+++ b/frontend/src/components/ThreadBar.tsx@@ -8,7 +8,7 @@ const BADGE_STYLE: Record<BadgeKind, string> = {waiting: 'text-amber-300 bg-amber-500/10 border-amber-500/30',// Grey like the in-chat "In line" line: waiting its turn isn't waiting on you (0.7.7 final check, F).queued: 'text-zinc-300 bg-zinc-800/60 border-zinc-600',- done: 'text-emerald-300 bg-emerald-500/10 border-emerald-500/30',+ done: 'text-ok bg-teal-400/10 border-teal-400/30',failed: 'text-rose-300 bg-rose-500/10 border-rose-500/30',interrupted: 'text-amber-300 bg-amber-500/10 border-amber-500/30',cancelled: 'text-zinc-400 bg-zinc-800/60 border-zinc-700',diff --git a/frontend/src/components/TierProposals.tsx b/frontend/src/components/TierProposals.tsxindex 30d0af8e..bd4832f1 100644--- a/frontend/src/components/TierProposals.tsx+++ b/frontend/src/components/TierProposals.tsx@@ -50,7 +50,7 @@ export const ScorecardView: React.FC<{ card: Partial<Scorecard>; compact?: boole</dl>)}{status && (- <p className={`text-[11px] ${status.ready ? 'text-emerald-300' : 'text-zinc-400'}`} data-scorecard-status={status.ready ? 'ready' : 'not-yet'}>+ <p className={`text-[11px] ${status.ready ? 'text-ok' : 'text-zinc-400'}`} data-scorecard-status={status.ready ? 'ready' : 'not-yet'}>{status.text}</p>)}@@ -136,7 +136,7 @@ export const ProposalCard: React.FC<{)}{!open ? (- <p className={`text-[11px] ${p.status === 'granted' ? 'text-emerald-300' : 'text-zinc-400'}`} data-outcome={p.status}>+ <p className={`text-[11px] ${p.status === 'granted' ? 'text-ok' : 'text-zinc-400'}`} data-outcome={p.status}>{proposalOutcome(p, bot)}</p>) : declining ? (@@ -163,7 +163,7 @@ export const ProposalCard: React.FC<{</div>) : (<div className="flex flex-wrap items-center gap-2" role="group" aria-label={`Decide: ${proposalTitle(p, bot)}`}>- <button type="button" disabled={busy} onClick={() => onGrant(p)} className={`${btn} bg-emerald-600/90 text-white hover:bg-emerald-500`} data-grant>+ <button type="button" disabled={busy} onClick={() => onGrant(p)} className={`${btn} bg-teal-300 text-zinc-950 font-semibold hover:bg-teal-200`} data-grant>{busy ? <Loader2 size={12} className="animate-spin motion-reduce:animate-none" aria-hidden="true" /> : <Check size={12} aria-hidden="true" />}Grant {p.to_tier === 'act' ? 'Act' : p.to_tier === 'sandbox' ? 'Sandbox' : 'Observe'}</button>diff --git a/frontend/src/components/ToolCallsList.tsx b/frontend/src/components/ToolCallsList.tsxindex 25490b33..753768a0 100644--- a/frontend/src/components/ToolCallsList.tsx+++ b/frontend/src/components/ToolCallsList.tsx@@ -3,8 +3,8 @@ import { CheckCircle2, AlertCircle, Ban, ShieldCheck, ChevronRight, Wrench } froimport { RecordedToolCall, formatArgs, humanizeToolName, parseToolCalls } from '../mcp';const STATUS: Record<string, { icon: React.ReactNode; label: string; cls: string }> = {- ok: { icon: <CheckCircle2 size={12} />, label: 'Done', cls: 'text-emerald-300' },- allowed: { icon: <ShieldCheck size={12} />, label: 'Allowed', cls: 'text-emerald-300' },+ ok: { icon: <CheckCircle2 size={12} />, label: 'Done', cls: 'text-ok' },+ allowed: { icon: <ShieldCheck size={12} />, label: 'Allowed', cls: 'text-ok' },error: { icon: <AlertCircle size={12} />, label: 'Failed', cls: 'text-rose-300' },denied: { icon: <Ban size={12} />, label: 'Denied', cls: 'text-zinc-400' },};diff --git a/frontend/src/components/ToolFailureLine.tsx b/frontend/src/components/ToolFailureLine.tsxindex 80479395..196d5e99 100644--- a/frontend/src/components/ToolFailureLine.tsx+++ b/frontend/src/components/ToolFailureLine.tsx@@ -31,7 +31,7 @@ export const ToolFailureLine: React.FC<{<p className="min-w-0 break-words">{urgent && <span className="sr-only">Needs you: </span>}{meta.line}- {!open && <span className="text-emerald-400"> It works again.</span>}+ {!open && <span className="text-ok"> It works again.</span>}{open && meta.fix && onFix && (<>{' '}diff --git a/frontend/src/components/ToolNotesSection.tsx b/frontend/src/components/ToolNotesSection.tsxindex 3e2c3323..83081b6a 100644--- a/frontend/src/components/ToolNotesSection.tsx+++ b/frontend/src/components/ToolNotesSection.tsx@@ -47,7 +47,7 @@ const primaryBtn = `${btn} min-h-[30px] px-3 bg-sky-500 text-zinc-950 hover:bg-sconst KIND_TAG: Record<ToolNoteKind | 'fixed', string> = {broke: 'text-rose-300 border-rose-300/35 bg-rose-300/[0.08]',tip: 'text-teal-200 border-teal-400/30 bg-teal-400/[0.08]',- missing: 'text-violet-300 border-[#9d8fff]/35 bg-[#9d8fff]/[0.08]',+ missing: 'text-info border-[#9d8fff]/35 bg-[#9d8fff]/[0.08]',fixed: 'text-zinc-400 border-zinc-700 bg-transparent',};const KIND_ICON: Record<ToolNoteKind | 'fixed', React.ReactNode> = {@@ -79,7 +79,7 @@ const WhoLine: React.FC<{ n: ToolNote }> = ({ n }) =><span className="inline-flex flex-wrap items-center gap-x-2 gap-y-0.5">{n.bots.map((b) => (<span key={b.id} className="inline-flex items-center gap-1 font-medium text-zinc-300">- <span aria-hidden="true" className="inline-grid place-items-center h-3.5 w-3.5 rounded-full bg-[#9d8fff]/25 text-[9px] font-bold text-violet-200">+ <span aria-hidden="true" className="inline-grid place-items-center h-3.5 w-3.5 rounded-full bg-[#9d8fff]/25 text-[9px] font-bold text-sky-200">{b.name.charAt(0).toUpperCase()}</span>{b.name}diff --git a/frontend/src/components/VersionCard.tsx b/frontend/src/components/VersionCard.tsxindex d0978d08..4ab823e2 100644--- a/frontend/src/components/VersionCard.tsx+++ b/frontend/src/components/VersionCard.tsx@@ -10,7 +10,7 @@ import { whatsNewFor } from '../whatsNewContent';const focus = 'focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-400';const quiet = `inline-flex min-h-[28px] items-center gap-1 rounded-md px-1.5 text-xs font-medium text-sky-300 hover:bg-sky-500/[0.12] hover:text-sky-200 max-md:min-h-[44px] ${focus}`;-const primary = `inline-flex min-h-[32px] items-center gap-1.5 rounded-lg bg-sky-600 px-3 text-xs font-semibold text-white hover:bg-sky-500 max-md:min-h-[44px] ${focus}`;+const primary = `inline-flex min-h-[32px] items-center gap-1.5 rounded-lg bg-sky-600 px-3 text-xs font-semibold text-white hover:bg-sky-700 max-md:min-h-[44px] ${focus}`;const ghost = `inline-flex min-h-[32px] items-center gap-1.5 rounded-lg border border-zinc-700 px-3 text-xs font-medium text-zinc-200 hover:bg-zinc-800 max-md:min-h-[44px] ${focus}`;/** Where the How to update command runs, in plain words. */@@ -117,7 +117,7 @@ export const VersionCardView: React.FC<VersionCardProps> = ({ model, now, onChecreturn (<><span className="inline-flex items-center gap-1.5 font-medium text-zinc-100">- <CheckCircle2 size={15} className="shrink-0 text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={15} className="shrink-0 text-ok" aria-hidden="true" />You’re on the latest version</span><button type="button" onClick={onCheck} className={quiet}>@@ -218,7 +218,7 @@ export const VersionCardView: React.FC<VersionCardProps> = ({ model, now, onCheccase 'updated':return (<span className="inline-flex items-center gap-1.5 font-medium text-zinc-100">- <CheckCircle2 size={15} className="shrink-0 text-emerald-400" aria-hidden="true" />+ <CheckCircle2 size={15} className="shrink-0 text-ok" aria-hidden="true" />Updated to kwant bots {line.version}</span>);diff --git a/frontend/src/components/VirtualMachinePane.tsx b/frontend/src/components/VirtualMachinePane.tsxindex 226f78f0..cdb5b3a1 100644--- a/frontend/src/components/VirtualMachinePane.tsx+++ b/frontend/src/components/VirtualMachinePane.tsx@@ -510,7 +510,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({};const statusLine = (<p className="text-[11px] text-zinc-400 truncate flex items-center gap-1" aria-live="polite" data-pane-status={status.kind}>- {live && <span aria-hidden="true" className="shrink-0 w-[7px] h-[7px] rounded-full bg-emerald-400" />}+ {live && <span aria-hidden="true" className="shrink-0 w-[7px] h-[7px] rounded-full bg-teal-300" />}<span className="truncate">{status.text} · @{teamName}</span>@@ -532,7 +532,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({setPointing((p) => !p);}}className={`${narrow ? 'h-11 flex-1 justify-center' : 'h-8'} px-3 rounded-[10px] inline-flex items-center gap-1.5 text-[13px] font-semibold whitespace-nowrap cursor-pointer disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 border ${- pointOn ? 'bg-violet-600 border-violet-400 text-white ring-[3px] ring-violet-500/25' : 'border-[#3f3868] text-zinc-200 hover:bg-white/5'+ pointOn ? 'bg-sky-600 border-sky-400 text-white ring-[3px] ring-sky-500/25' : 'border-[#3f3868] text-zinc-200 hover:bg-white/5'}`}><Crosshair size={14} aria-hidden="true" />@@ -750,7 +750,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({playSfx('click');setActiveTab('vault');}}- className="flex items-center gap-1 px-1.5 py-0.5 rounded bg-emerald-500/15 text-emerald-400 border border-emerald-500/25 text-[10px] hover:bg-emerald-500/25 transition-colors cursor-pointer flex-shrink-0"+ className="flex items-center gap-1 px-1.5 py-0.5 rounded bg-teal-400/15 text-ok border border-teal-400/25 text-[10px] hover:bg-teal-400/25 transition-colors cursor-pointer flex-shrink-0"title={`${loginsOnThisPage} saved login${loginsOnThisPage === 1 ? '' : 's'} for this address`}><Key size={10} />@@ -783,7 +783,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({role="status"aria-live="polite"className={`flex items-center gap-2 px-2.5 py-1.5 rounded-lg border text-[11px] ${- solvedNote ? 'border-emerald-500/30 bg-emerald-950/40 text-emerald-300' : 'border-amber-500/30 bg-amber-950/40 text-amber-200'+ solvedNote ? 'border-teal-400/30 bg-teal-950/40 text-ok' : 'border-amber-500/30 bg-amber-950/40 text-amber-200'}`}>{solvedNote ? <CheckCircle2 size={13} aria-hidden="true" /> : <Puzzle size={13} aria-hidden="true" />}@@ -855,7 +855,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({)}{controlError && !botBusy && !heldElsewhere && (- <div role="alert" className="px-2.5 py-2 rounded-lg border border-red-500/30 bg-red-950/40 text-xs text-red-300">+ <div role="alert" className="px-2.5 py-2 rounded-lg border border-rose-500/30 bg-rose-950/40 text-xs text-rose-300">{controlError}</div>)}@@ -908,7 +908,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({)}{!pointOn && !needsYou && !waitingForBot && !waitBot?.gaveUp && (live || finished) && (<span data-pane-pill={live ? 'live' : 'finished'} className="absolute top-2 left-2 h-[22px] px-2 inline-flex items-center gap-1.5 rounded-full bg-[rgb(14_10_33/0.88)] text-[11px] text-zinc-200 pointer-events-none group-hover:opacity-0 group-focus-within:opacity-0 kw-veil-in">- {live && <span aria-hidden="true" className="w-1.5 h-1.5 rounded-full bg-emerald-400" />}+ {live && <span aria-hidden="true" className="w-1.5 h-1.5 rounded-full bg-teal-300" />}{live ? 'Live' : 'Finished'}</span>)}@@ -1020,7 +1020,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({rel="noopener noreferrer"onClick={touch}title={p.url}- className={`grid grid-cols-[44px_1fr_auto] items-center gap-2.5 px-2.5 py-2 ${narrow ? 'min-h-11' : 'min-h-12'} hover:bg-white/[0.04] focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sky-300 ${now ? 'bg-emerald-400/5' : ''}`}+ className={`grid grid-cols-[44px_1fr_auto] items-center gap-2.5 px-2.5 py-2 ${narrow ? 'min-h-11' : 'min-h-12'} hover:bg-white/[0.04] focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sky-300 ${now ? 'bg-teal-400/5' : ''}`}><span className="text-xs text-zinc-400 tabular-nums">{trailTime(p.at)}</span><span className="min-w-0">@@ -1028,8 +1028,8 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({<span className="block text-xs text-zinc-400 truncate">{p.host}</span></span>{now ? (- <span className="inline-flex items-center gap-1 text-[11px] font-semibold text-emerald-400">- <span aria-hidden="true" className="w-1.5 h-1.5 rounded-full bg-emerald-400" /> Now+ <span className="inline-flex items-center gap-1 text-[11px] font-semibold text-ok">+ <span aria-hidden="true" className="w-1.5 h-1.5 rounded-full bg-teal-300" /> Now</span>) : (<ExternalLink size={14} aria-hidden="true" className="text-zinc-500" />@@ -1178,7 +1178,7 @@ export const VirtualMachinePane: React.FC<VirtualMachinePaneProps> = ({{isLocal ? (<Laptop size={12} className={`shrink-0 ${browserReady || isWindow ? 'text-amber-300/80' : 'text-zinc-500'}`} />) : (- <Cpu size={12} className={`shrink-0 ${browserReady ? 'text-emerald-400' : 'text-zinc-500'}`} />+ <Cpu size={12} className={`shrink-0 ${browserReady ? 'text-ok' : 'text-zinc-500'}`} />)}<span className="truncate">{browserFooterLabel(computer.state.settings, browserReady, { botName: whoBrowses, browsing: live })}</span></div>diff --git a/frontend/src/components/WhatsNewSheet.tsx b/frontend/src/components/WhatsNewSheet.tsxindex d5860ec4..6ec220a1 100644--- a/frontend/src/components/WhatsNewSheet.tsx+++ b/frontend/src/components/WhatsNewSheet.tsx@@ -87,7 +87,7 @@ export const WhatsNewSheetView: React.FC<SheetProps> = ({ entry, changelog, phonconst btnH = phone ? 'h-12' : 'h-10';const ghost = `inline-flex ${btnH} items-center justify-center gap-1.5 rounded-xl border border-white/[0.14] bg-white/[0.03] px-3.5 text-[13px] font-medium text-zinc-200 hover:bg-white/[0.08] hover:text-zinc-50 ${focus}`;- const primary = `inline-flex ${btnH} min-w-[120px] items-center justify-center rounded-xl bg-[linear-gradient(135deg,#7a62f0_0%,#5b47d6_100%)] px-5 text-sm font-semibold text-white shadow-[inset_0_1px_0_0_rgb(255_255_255/.04),0_1px_2px_0_rgb(6_3_20/.5)] hover:brightness-110 ${phone ? 'flex-1' : ''} ${focus}`;+ const primary = `inline-flex ${btnH} min-w-[120px] items-center justify-center rounded-xl bg-accent-gradient kw-hover-deepen px-5 text-sm font-semibold text-white shadow-card ${phone ? 'flex-1' : ''} ${focus}`;const close = (<buttontype="button"diff --git a/frontend/src/components/dev/FreshEyesChip.tsx b/frontend/src/components/dev/FreshEyesChip.tsxindex 2736aef7..8d5926e3 100644--- a/frontend/src/components/dev/FreshEyesChip.tsx+++ b/frontend/src/components/dev/FreshEyesChip.tsx@@ -108,7 +108,7 @@ export const FreshEyesChip: React.FC<FreshEyesChipProps> = ({ label, reviewer, a{lines.map((l) => (<li key={l.text} className={`flex items-start gap-1.5 [overflow-wrap:anywhere] ${l.ok ? 'text-zinc-300' : 'text-zinc-400'}`}>{l.ok ? (- <Check size={12} className="mt-[3px] shrink-0 text-emerald-300" aria-hidden="true" />+ <Check size={12} className="mt-[3px] shrink-0 text-ok" aria-hidden="true" />) : (<X size={12} className="mt-[3px] shrink-0 text-zinc-500" aria-hidden="true" />)}diff --git a/frontend/src/components/dev/LineNotes.tsx b/frontend/src/components/dev/LineNotes.tsxindex 02fc340e..bfc81a4d 100644--- a/frontend/src/components/dev/LineNotes.tsx+++ b/frontend/src/components/dev/LineNotes.tsx@@ -373,14 +373,14 @@ export const ChangesSection: React.FC<ChangesSectionProps> = ({ cardId, api, sta<span>Changes</span><span className="font-mono text-[12px] font-medium normal-case tracking-normal text-zinc-400 max-sm:order-1">{filesWord(stat.files)}</span><DiffStat add={stat.additions} del={stat.deletions} className="max-sm:order-1 max-sm:[&_.dv-bar]:hidden" />- {draftCount > 0 && <span className="normal-case tracking-normal text-violet-200">· {draftsWord(draftCount)}</span>}+ {draftCount > 0 && <span className="normal-case tracking-normal text-sky-200">· {draftsWord(draftCount)}</span>}</h4><buttontype="button"aria-expanded={open}aria-controls={bodyId}onClick={() => setOpen((o) => !o)}- className={`inline-flex min-h-8 items-center gap-1 self-start rounded-md px-1.5 text-[12px] font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}+ className={`inline-flex min-h-8 items-center gap-1 self-start rounded-md px-1.5 text-[12px] font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>{open ? 'Hide' : 'Show'}<span className="sr-only"> the changes</span>@@ -416,7 +416,7 @@ export const ChangesSection: React.FC<ChangesSectionProps> = ({ cardId, api, sta{LOAD_FAILED}</span><span className="ml-auto inline-flex flex-wrap items-center gap-3">- <button type="button" onClick={() => void fetchAll()} className={`min-h-8 rounded font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}>+ <button type="button" onClick={() => void fetchAll()} className={`min-h-8 rounded font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>Try again</button>{prUrl && /^https:\/\//.test(prUrl) && <OutLink href={prUrl}>Open on GitHub</OutLink>}@@ -481,7 +481,7 @@ export const ChangesSection: React.FC<ChangesSectionProps> = ({ cardId, api, sta))}</div>)}- {changes.cut && <p className="mt-2 text-meta text-[#8a8a96]">{cutLine(changes.cut)}</p>}+ {changes.cut && <p className="mt-2 text-meta text-zinc-500">{cutLine(changes.cut)}</p>}</div>)}@@ -489,7 +489,7 @@ export const ChangesSection: React.FC<ChangesSectionProps> = ({ cardId, api, sta<p role="status" data-ln-undo className="mt-2 flex items-center gap-2 text-meta text-zinc-300">Note deleted<span aria-hidden="true">·</span>- <button type="button" onClick={() => void undoDelete()} className={`min-h-8 rounded font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}>+ <button type="button" onClick={() => void undoDelete()} className={`min-h-8 rounded font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>Undo</button></p>@@ -756,14 +756,14 @@ const FileBlock: React.FC<FileBlockProps> = (p) => {</span>)}{n > 0 && (- <span className="inline-flex shrink-0 items-center gap-1 font-sans text-[12px] text-violet-200">+ <span className="inline-flex shrink-0 items-center gap-1 font-sans text-[12px] text-sky-200"><MessageSquare size={12} aria-hidden="true" />{notesWord(n)}</span>)}- {omitted === 'binary' && <span className="w-full font-sans text-meta text-[#8a8a96] sm:w-auto">Binary file, not shown</span>}+ {omitted === 'binary' && <span className="w-full font-sans text-meta text-zinc-500 sm:w-auto">Binary file, not shown</span>}{omitted === 'too_large' && (- <span className="w-full font-sans text-meta text-[#8a8a96] sm:w-auto">+ <span className="w-full font-sans text-meta text-zinc-500 sm:w-auto">Too big to show here{p.prUrl && /^https:\/\//.test(p.prUrl) && (<>@@ -773,7 +773,7 @@ const FileBlock: React.FC<FileBlockProps> = (p) => {)}</span>)}- {renamedOnly && <span className="w-full font-sans text-meta text-[#8a8a96] sm:w-auto">Renamed, no changes</span>}+ {renamedOnly && <span className="w-full font-sans text-meta text-zinc-500 sm:w-auto">Renamed, no changes</span>}{big && !shown && (<buttontype="button"@@ -781,7 +781,7 @@ const FileBlock: React.FC<FileBlockProps> = (p) => {setShown(true);p.onToggle();}}- className={`ml-auto min-h-6 rounded font-sans text-[12px] font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}+ className={`ml-auto min-h-6 rounded font-sans text-[12px] font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>{showLines(lines.length)}</button>@@ -821,7 +821,7 @@ const FileBlock: React.FC<FileBlockProps> = (p) => {<div className="sm:w-max sm:min-w-full">{f.hunks.map((h, hi) => (<React.Fragment key={hi}>- <div role="row" className="grid grid-cols-[34px_1fr] bg-violet-500/[.06] text-[#8a8a96] sm:grid-cols-[26px_38px_38px_1fr]">+ <div role="row" className="grid grid-cols-[34px_1fr] bg-sky-500/[.06] text-zinc-500 sm:grid-cols-[26px_38px_38px_1fr]"><span role="gridcell" className="max-sm:hidden" /><span role="gridcell" className="max-sm:hidden" /><span role="gridcell" />@@ -938,7 +938,7 @@ const Row: React.FC<RowProps> = React.memo(({ x, selected, noted, active, canNotdata-ln-kind={l.kind}aria-selected={selected || undefined}onPointerEnter={onDragOver}- className={`group relative grid grid-cols-[34px_1fr] sm:grid-cols-[26px_38px_38px_1fr] ${selected ? 'bg-violet-500/[.14] shadow-[inset_3px_0_0_theme(colors.violet.400)]' : LINE_TONE[l.kind]}`}+ className={`group relative grid grid-cols-[34px_1fr] sm:grid-cols-[26px_38px_38px_1fr] ${selected ? 'bg-sky-500/[.14] shadow-[inset_3px_0_0_theme(colors.sky.400)]' : LINE_TONE[l.kind]}`}><span role="gridcell" className="flex items-center justify-center max-sm:absolute max-sm:inset-0 max-sm:z-10">{canNote ? (@@ -952,19 +952,19 @@ const Row: React.FC<RowProps> = React.memo(({ x, selected, noted, active, canNot}}onClick={(e) => onPress(e.shiftKey)}className={`inline-flex h-[18px] w-5 items-center justify-center rounded-[5px] max-sm:h-full max-sm:w-full max-sm:!min-h-0 max-sm:!min-w-0 max-sm:rounded-none max-sm:opacity-0 ${- noted ? 'text-violet-300' : 'bg-violet-600 text-white opacity-0 group-hover:opacity-100 focus-visible:opacity-100'+ noted ? 'text-info' : 'bg-sky-600 text-white opacity-0 group-hover:opacity-100 focus-visible:opacity-100'} ${selected && !noted ? 'opacity-100' : ''} ${RING}`}>{noted ? <MessageSquare size={13} aria-hidden="true" /> : <Plus size={12} aria-hidden="true" />}</button>) : noted ? (- <MessageSquare size={13} aria-hidden="true" className="text-violet-300 max-sm:hidden" />+ <MessageSquare size={13} aria-hidden="true" className="text-info max-sm:hidden" />) : null}</span>- <span role="gridcell" className="select-none pr-2 text-right text-[#8a8a96] max-sm:hidden" aria-hidden="true">+ <span role="gridcell" className="select-none pr-2 text-right text-zinc-500 max-sm:hidden" aria-hidden="true">{l.old ?? ''}</span>- <span role="gridcell" className={`select-none pr-2 text-right ${l.kind === 'del' ? 'text-[#8a8a96] max-sm:text-rose-300/70' : 'text-[#8a8a96]'}`} aria-hidden="true">+ <span role="gridcell" className={`select-none pr-2 text-right ${l.kind === 'del' ? 'text-zinc-500 max-sm:text-rose-300/70' : 'text-zinc-500'}`} aria-hidden="true"><span className="max-sm:hidden">{l.new ?? ''}</span><span className="sm:hidden">{shownNo(l)}</span></span>@@ -984,7 +984,7 @@ Row.displayName = 'Row';const STATE_BAR: Record<Note['state'], string> = {draft: 'border-white/10',- sent: 'border-white/10 shadow-[inset_3px_0_0_theme(colors.violet.400)]',+ sent: 'border-white/10 shadow-[inset_3px_0_0_theme(colors.sky.400)]',resolved: 'border-white/10 bg-teal-400/[.04] shadow-[inset_3px_0_0_var(--ok,theme(colors.teal.300))]',open: 'border-white/10 shadow-[inset_3px_0_0_theme(colors.zinc.500)]',};@@ -1049,7 +1049,7 @@ const NoteBox: React.FC<NoteBoxProps> = ({ note, bot, editable, folded, onFold,{words}</button>) : (- <span className={`rounded-full border px-1.5 text-[11px] font-medium ${note.state === 'sent' ? 'border-violet-400/30 text-violet-200' : 'border-zinc-500/40 text-zinc-300'}`}>+ <span className={`rounded-full border px-1.5 text-[11px] font-medium ${note.state === 'sent' ? 'border-sky-400/30 text-sky-200' : 'border-zinc-500/40 text-zinc-300'}`}>{words}</span>)}@@ -1079,11 +1079,11 @@ const NoteBox: React.FC<NoteBoxProps> = ({ note, bot, editable, folded, onFold,{goneLine(note.seen_sha)}{editable && (<>- <button type="button" onClick={(e) => onSendOne(e.currentTarget)} className={`rounded font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}>+ <button type="button" onClick={(e) => onSendOne(e.currentTarget)} className={`rounded font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>Send it anyway</button><span aria-hidden="true">·</span>- <button type="button" onClick={onDelete} className={`rounded font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}>+ <button type="button" onClick={onDelete} className={`rounded font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>Delete</button></>@@ -1147,7 +1147,7 @@ const Composer: React.FC<ComposerProps> = ({ writing: w, setWriting, bot, onCancconst onKey = useComposerKeys(w, setWriting, onCancel, onSubmit);const label = useId();return (- <div data-ln-writing className="my-1.5 ml-2.5 mr-2.5 rounded-[10px] border border-violet-500 bg-surface-raised px-3 py-2.5 font-sans ring-[3px] ring-violet-500/15 sm:ml-16">+ <div data-ln-writing className="my-1.5 ml-2.5 mr-2.5 rounded-[10px] border border-sky-500 bg-surface-raised px-3 py-2.5 font-sans ring-[3px] ring-sky-500/15 sm:ml-16"><p id={label} className="text-[11.5px] text-zinc-400"><span className="font-semibold text-zinc-100">{w.editing ? 'Edit note' : bot ? `Note for ${bot}` : 'Note'}</span> {lineWords(w.start, w.end)}</p>@@ -1160,7 +1160,7 @@ const Composer: React.FC<ComposerProps> = ({ writing: w, setWriting, bot, onCancmaxLength={4000}onChange={(e) => setWriting((x) => (x ? { ...x, text: e.target.value, asking: false } : x))}onKeyDown={onKey}- className="mt-1.5 block min-h-[52px] w-full resize-y rounded-lg border border-hairline bg-[var(--dv-code-bg)] px-2.5 py-2 text-[13px] leading-5 text-zinc-100 placeholder:text-[#8a8a96] focus:border-violet-400 focus:outline-none"+ className="mt-1.5 block min-h-[52px] w-full resize-y rounded-lg border border-hairline bg-[var(--dv-code-bg)] px-2.5 py-2 text-[13px] leading-5 text-zinc-100 placeholder:text-zinc-500 focus:border-sky-400 focus:outline-none"/>{w.error && (<p role="alert" className="mt-1.5 text-meta text-rose-300">@@ -1178,7 +1178,7 @@ const Composer: React.FC<ComposerProps> = ({ writing: w, setWriting, bot, onCanc<button type="button" onClick={onCancel} className="kw-btn-ghost !py-1">Cancel</button>- <span className="ml-auto text-[11.5px] text-[#8a8a96] max-sm:hidden">{keyHint()}</span>+ <span className="ml-auto text-[11.5px] text-zinc-500 max-sm:hidden">{keyHint()}</span></div>)}</div>@@ -1226,7 +1226,7 @@ const NoteSheet: React.FC<{ writing: Writing; setWriting: ComposerProps['setWritmaxLength={4000}onChange={(e) => setWriting((x) => (x ? { ...x, text: e.target.value, asking: false } : x))}onKeyDown={onKey}- className="mt-2.5 block min-h-[76px] w-full resize-none rounded-xl border border-violet-400/70 bg-[var(--dv-code-bg)] px-3 py-2.5 text-[15px] leading-6 text-zinc-100 placeholder:text-[#8a8a96] focus:outline-none focus:ring-[3px] focus:ring-violet-500/20"+ className="mt-2.5 block min-h-[76px] w-full resize-none rounded-xl border border-sky-400/70 bg-[var(--dv-code-bg)] px-3 py-2.5 text-[15px] leading-6 text-zinc-100 placeholder:text-zinc-500 focus:outline-none focus:ring-[3px] focus:ring-sky-500/20"/>{w.error && (<p role="alert" className="mt-1.5 text-meta text-rose-300">@@ -1236,7 +1236,7 @@ const NoteSheet: React.FC<{ writing: Writing; setWriting: ComposerProps['setWrit{onExtend && (<p className="mt-2 text-[13px] text-zinc-400">Tap another line first to note a range.{' '}- <button type="button" onClick={onExtend} className={`min-h-11 rounded font-medium text-violet-300 ${RING}`}>+ <button type="button" onClick={onExtend} className={`min-h-11 rounded font-medium text-info ${RING}`}>Extend to line…</button></p>@@ -1321,7 +1321,7 @@ const SendBar: React.FC<SendBarProps> = ({ bar, setBar, drafts, bot, phone, send{sentLine(bar.n, bar.bot, bar.at)}</span>{onOpenChat && bar.botId && (- <button type="button" onClick={() => onOpenChat(bar.botId!)} className={`inline-flex min-h-8 items-center gap-0.5 rounded text-[12px] font-medium text-violet-300 hover:text-violet-200 max-sm:min-h-11 ${RING}`}>+ <button type="button" onClick={() => onOpenChat(bar.botId!)} className={`inline-flex min-h-8 items-center gap-0.5 rounded text-[12px] font-medium text-info hover:text-sky-200 max-sm:min-h-11 ${RING}`}>Open {bar.bot}’s chat<ChevronRight size={14} aria-hidden="true" /></button>diff --git a/frontend/src/components/dev/PrepushCard.tsx b/frontend/src/components/dev/PrepushCard.tsxindex ed134a15..bcf6f2d4 100644--- a/frontend/src/components/dev/PrepushCard.tsx+++ b/frontend/src/components/dev/PrepushCard.tsx@@ -180,7 +180,7 @@ const StoryLine: React.FC<{ story: Story; card: Card; bot: string; onOpenCard?:{/* The light stays beside the first line of text when a long line wraps on a phone (round 2). */}<span data-story-text className="flex min-w-0 items-start gap-2"><Led s={STORY_LED[story.step]} className={`mt-[5px] shrink-0 ${story.step === 'pushed' || story.step === 'blocked' ? '' : 'dv-led-still'}`} />- <span data-story-now className={`min-w-0 [overflow-wrap:anywhere] ${story.step === 'pushed' ? 'font-medium text-emerald-300' : story.step === 'blocked' ? 'text-rose-300' : 'text-zinc-200'}`}>+ <span data-story-now className={`min-w-0 [overflow-wrap:anywhere] ${story.step === 'pushed' ? 'font-medium text-ok' : story.step === 'blocked' ? 'text-rose-300' : 'text-zinc-200'}`}>{story.step === 'asks' ? `${bot}'s push still needs your OK.` : story.now}</span></span>@@ -374,7 +374,7 @@ export const PrepushCard: React.FC<PrepushCardProps> = ({return (<span data-pushed>{/* Mira FIX 4: keyed on the grant, so it reads the same when the pressed card is out of view. */}- <span className="font-medium text-emerald-300">{pushedLine(used)}</span> · <code className="dv-sha dv-sha-whole" title={p.branch} data-pushed-branch>{p.branch}</code>+ <span className="font-medium text-ok">{pushedLine(used)}</span> · <code className="dv-sha dv-sha-whole" title={p.branch} data-pushed-branch>{p.branch}</code>{card.grant?.kind === 'override'? " · your Push anyway was the OK, so it didn't ask again.": " · your retry was the OK, so it didn't ask again."}diff --git a/frontend/src/components/dev/PrepushPointers.tsx b/frontend/src/components/dev/PrepushPointers.tsxindex 701f55c1..4dd86447 100644--- a/frontend/src/components/dev/PrepushPointers.tsx+++ b/frontend/src/components/dev/PrepushPointers.tsx@@ -202,7 +202,7 @@ export const PrepushPointers: React.FC<PrepushPointersProps> = ({ cards, memberI)}</span>{at && <span className="shrink-0 tabular-nums text-zinc-500 max-sm:hidden">{at}</span>}- <span aria-hidden="true" className="inline-flex shrink-0 items-center gap-0.5 font-medium text-violet-300">+ <span aria-hidden="true" className="inline-flex shrink-0 items-center gap-0.5 font-medium text-info">Open<ChevronRight size={14} /></span>@@ -214,7 +214,7 @@ export const PrepushPointers: React.FC<PrepushPointersProps> = ({ cards, memberItype="button"data-prepush-pointers-moreonClick={onOpenInbox}- className="inline-flex min-h-11 max-w-[860px] items-center self-start rounded-lg px-3 text-meta font-medium text-violet-300 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-sky-400 sm:min-h-10"+ className="inline-flex min-h-11 max-w-[860px] items-center self-start rounded-lg px-3 text-meta font-medium text-info outline-none hover:underline focus-visible:ring-2 focus-visible:ring-sky-400 sm:min-h-10">+{pick.more} more in the Inbox</button>diff --git a/frontend/src/components/dev/RecipientPicker.tsx b/frontend/src/components/dev/RecipientPicker.tsxindex 530c92c7..165350b2 100644--- a/frontend/src/components/dev/RecipientPicker.tsx+++ b/frontend/src/components/dev/RecipientPicker.tsx@@ -100,7 +100,7 @@ export const GoesTo: React.FC<GoesToProps> = ({ load, pick, size = 'md', phone =<AlertTriangle size={14} aria-hidden="true" className="shrink-0 text-[#fcd34d]" /><span className="text-zinc-300">No default bot</span><span aria-hidden="true" className="text-zinc-500">·</span>- <span className="font-semibold text-violet-300">Pick who fixes it</span>+ <span className="font-semibold text-info">Pick who fixes it</span><ChevronDown size={14} aria-hidden="true" className="shrink-0 text-zinc-400" /></button>);@@ -112,7 +112,7 @@ export const GoesTo: React.FC<GoesToProps> = ({ load, pick, size = 'md', phone =<ModernAvatar name={to.name} size={16} /></span><span className="min-w-0 truncate font-semibold text-zinc-100">{to.name}</span>- {why && <span className={`min-w-0 truncate ${chosen ? 'text-[#c4b5fd]' : 'text-zinc-400'}`}>· {why}</span>}+ {why && <span className={`min-w-0 truncate ${chosen ? 'text-[#b8adff]' : 'text-zinc-400'}`}>· {why}</span>}<ChevronDown size={14} aria-hidden="true" className="shrink-0 text-zinc-400" /></button>);@@ -151,7 +151,7 @@ export const BarTrigger: React.FC<{ load: RecipientsLoad; pick: RecipientBot | n<span className="font-semibold text-zinc-100">{name}</span></>) : (- <span className="font-semibold text-violet-300">Pick a bot</span>+ <span className="font-semibold text-info">Pick a bot</span>)}<ChevronDown size={14} aria-hidden="true" className="shrink-0 text-zinc-400" /></button>@@ -378,7 +378,7 @@ export const RecipientPicker: React.FC<RecipientPickerProps> = ({ r, pick, ancho{meta && <span className="max-w-[45%] shrink-0 truncate text-meta text-zinc-400">{meta}</span>}</>)}- <span className="inline-flex w-4 shrink-0 justify-center">{sel && <Check size={15} aria-hidden="true" className="text-[#a78bfa]" />}</span>+ <span className="inline-flex w-4 shrink-0 justify-center">{sel && <Check size={15} aria-hidden="true" className="text-[#9d8fff]" />}</span></li>{isDefault && !q.trim() && i === 0 && shown.length > 1 && <li role="presentation" aria-hidden="true" className="mx-2 my-1 border-t border-hairline" />}</React.Fragment>diff --git a/frontend/src/components/dev/ReviewCard.tsx b/frontend/src/components/dev/ReviewCard.tsxindex 5958ad92..8316b16b 100644--- a/frontend/src/components/dev/ReviewCard.tsx+++ b/frontend/src/components/dev/ReviewCard.tsx@@ -51,8 +51,8 @@ import { DismissForm, useDismiss } from './DismissForm';import { TicketMatches, itemFinding, matchFindingIds } from './TicketMatches';// Severity styling copied from results/Findings.tsx (design §5.6: "reuse as is").-const DOT: Record<Severity, string> = { critical: 'bg-rose-500', high: 'bg-orange-500', medium: 'bg-amber-500', low: 'bg-sky-500' };-const STRIPE: Record<Severity, string> = { critical: 'border-l-rose-500', high: 'border-l-orange-500', medium: 'border-l-amber-500', low: 'border-l-sky-500' };+const DOT: Record<Severity, string> = { critical: 'bg-rose-500', high: 'bg-rose-300', medium: 'bg-amber-500', low: 'bg-sky-500' };+const STRIPE: Record<Severity, string> = { critical: 'border-l-rose-500', high: 'border-l-rose-300', medium: 'border-l-amber-500', low: 'border-l-sky-500' };const SEV_WORD: Record<Severity, string> = { critical: 'Critical', high: 'High', medium: 'Medium', low: 'Low' };// S4 (WCAG 1.4.1): the severity is a word too, not only the dot's colour.const SEV_TONE: Record<Severity, string> = { critical: 'text-rose-300', high: 'text-rose-300', medium: 'text-amber-300', low: 'text-teal-300' };@@ -242,7 +242,7 @@ const FindingRow: React.FC<FindingRowProps> = ({ f, author, now, busy, act, st =type="button"data-open-task={f.task_id}onClick={() => onOpenTask(f.task_id as string)}- className="inline-flex min-h-[44px] items-center rounded px-1 font-semibold text-violet-300 hover:underline sm:min-h-0 outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400"+ className="inline-flex min-h-[44px] items-center rounded px-1 font-semibold text-info hover:underline sm:min-h-0 outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-sky-400">Open task ›</button>@@ -807,7 +807,7 @@ export const ReviewCard: React.FC<ReviewCardProps> = ({ card: given, onFinding,<buttontype="button"onClick={() => openReview(inboxItem.task_id, 'dev')}- className="kw-focus inline-flex items-center gap-1.5 min-h-[44px] sm:min-h-[32px] px-3 rounded-lg text-meta font-semibold bg-violet-500/80 text-white hover:bg-violet-500"+ className="kw-focus inline-flex items-center gap-1.5 min-h-[44px] sm:min-h-[32px] px-3 rounded-lg text-meta font-semibold bg-sky-600 text-white hover:bg-sky-700"><ShieldCheck size={13} aria-hidden="true" /> Review in Inbox</button>diff --git a/frontend/src/components/dev/WorktreesTab.tsx b/frontend/src/components/dev/WorktreesTab.tsxindex 9531d155..3f2b0044 100644--- a/frontend/src/components/dev/WorktreesTab.tsx+++ b/frontend/src/components/dev/WorktreesTab.tsx@@ -53,8 +53,8 @@ export interface WtBot {rank?: number;}-// H5 mini dots (the sidebar's team rollup colours).-const RANK_DOT: Record<RollupRank, string> = { 1: 'bg-amber-400', 2: 'bg-rose-400', 3: 'bg-[#38bdf8]', 4: 'bg-teal-400', 5: 'bg-[#9d8fff]' };+// H5 mini dots (the sidebar's team rollup colours). Review (3) is a hollow lavender ring next to working's filled dot.+const RANK_DOT: Record<RollupRank, string> = { 1: 'bg-amber-400', 2: 'bg-rose-400', 3: 'border-[1.5px] border-sky-300 bg-transparent', 4: 'bg-teal-400', 5: 'bg-[#9d8fff]' };export function useWorktrees(space: string, on: boolean): WorktreesData {const data = useSyncExternalStore(worktreeStore.subscribe, () => worktreeStore.get(space), () => worktreeStore.get(space));@@ -756,7 +756,7 @@ const CreateDialog: React.FC<{};const field = 'w-full h-10 rounded-lg border bg-black/30 px-3 text-[13.5px] text-zinc-100 placeholder:text-zinc-600 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-300';- const seg = (on: boolean) => `text-left rounded-xl border px-3 py-2 ${on ? 'border-violet-400/70 bg-violet-500/15' : 'border-hairline-strong hover:bg-white/[0.04]'} ${ring}`;+ const seg = (on: boolean) => `text-left rounded-xl border px-3 py-2 ${on ? 'border-sky-400/70 bg-sky-500/15' : 'border-hairline-strong hover:bg-white/[0.04]'} ${ring}`;const localBranches = branches?.filter((b) => !b.remote) ?? [];return (@@ -816,7 +816,7 @@ const CreateDialog: React.FC<{autoComplete="off"aria-invalid={!!fieldErr || undefined}aria-describedby={fieldErr ? `${ids.err} ${ids.hint}` : ids.hint}- className={`${field} font-mono ${fieldErr ? 'border-rose-400/70' : 'border-violet-400/60'}`}+ className={`${field} font-mono ${fieldErr ? 'border-rose-400/70' : 'border-sky-400/60'}`}data-wt-branch-input/>{fieldErr && (diff --git a/frontend/src/components/results/Chart.tsx b/frontend/src/components/results/Chart.tsxindex c9e870a0..6de96866 100644--- a/frontend/src/components/results/Chart.tsx+++ b/frontend/src/components/results/Chart.tsx@@ -68,7 +68,11 @@ const MARKERS: React.FC<{ cx: number; cy: number; size: number }>[] = [),];const DASHES = [undefined, '6 3', '2 3', '8 2 2 2'];-const SERIES_COLORS = ['#8270f5', '#38bdf8', '#34d399', '#fb923c'];+// Four series from kwant's palette, lavender first; markers and dashes (bars: patterns) tell them apart without colour.+// Each is a text colour the SVG reads as currentColor, so no hex lives here.+const SERIES_TONES = ['text-sky-500', 'text-sky-200', 'text-teal-400', 'text-amber-400'];+const tone = (i: number) => SERIES_TONES[i % SERIES_TONES.length];+const C = 'currentColor';function niceTicks(min: number, max: number, count: number): number[] {if (min === max) {@@ -90,24 +94,25 @@ function fmtTick(n: number): string {return new Intl.NumberFormat(undefined, { maximumFractionDigits: 2 }).format(n);}-const BarPattern: React.FC<{ id: string; variant: number; color: string }> = ({ id, variant, color }) => {+const BarPattern: React.FC<{ id: string; variant: number }> = ({ id, variant }) => {+ const color = C;if (variant === 0) return <pattern id={id} />; // solid fill, no pattern neededif (variant === 1)return (- <pattern id={id} width="6" height="6" patternTransform="rotate(45)" patternUnits="userSpaceOnUse">+ <pattern id={id} className={tone(variant)} width="6" height="6" patternTransform="rotate(45)" patternUnits="userSpaceOnUse"><rect width="6" height="6" fill={color} fillOpacity={0.35} /><line x1="0" y1="0" x2="0" y2="6" stroke={color} strokeWidth="3" /></pattern>);if (variant === 2)return (- <pattern id={id} width="5" height="5" patternUnits="userSpaceOnUse">+ <pattern id={id} className={tone(variant)} width="5" height="5" patternUnits="userSpaceOnUse"><rect width="5" height="5" fill={color} fillOpacity={0.35} /><circle cx="2.5" cy="2.5" r="1.1" fill={color} /></pattern>);return (- <pattern id={id} width="6" height="6" patternUnits="userSpaceOnUse">+ <pattern id={id} className={tone(variant)} width="6" height="6" patternUnits="userSpaceOnUse"><rect width="6" height="6" fill={color} fillOpacity={0.35} /><path d="M0 0L6 6M6 0L0 6" stroke={color} strokeWidth="1.2" /></pattern>@@ -176,7 +181,7 @@ export const Chart: React.FC<RendererProps<ChartBlock>> = ({ block }) => {{block.series.map((s, i) => (<span key={s.key} className="flex items-center gap-1.5 text-zinc-400"><svg width="14" height="14" viewBox="-7 -7 14 14" aria-hidden="true" className="shrink-0">- <g fill={SERIES_COLORS[i % SERIES_COLORS.length]} stroke={block.chart_kind === 'line' ? SERIES_COLORS[i % SERIES_COLORS.length] : 'none'}>+ <g className={tone(i)} fill={C} stroke={block.chart_kind === 'line' ? C : 'none'}>{React.createElement(MARKERS[i % MARKERS.length], { cx: 0, cy: 0, size: 4 })}</g></svg>@@ -217,21 +222,21 @@ export const Chart: React.FC<RendererProps<ChartBlock>> = ({ block }) => {<desc id={`${uid}-desc`}>{block.summary ?? headers.join(', ')}</desc><defs>{block.series.map((s, i) => (- <BarPattern key={s.key} id={`${uid}-pat-${i}`} variant={i} color={SERIES_COLORS[i % SERIES_COLORS.length]} />+ <BarPattern key={s.key} id={`${uid}-pat-${i}`} variant={i} />))}</defs>{/* Gridlines: scale, not data claims. */}{ticks.map((t) => (<g key={t}>- <line x1={PAD.left} x2={WIDTH - PAD.right} y1={yScale(t)} y2={yScale(t)} stroke="#27272a" strokeWidth={1} />- <text x={PAD.left - 8} y={yScale(t)} textAnchor="end" dominantBaseline="middle" fontSize={11} fill="#71717a">+ <line x1={PAD.left} x2={WIDTH - PAD.right} y1={yScale(t)} y2={yScale(t)} className="stroke-zinc-800" strokeWidth={1} />+ <text x={PAD.left - 8} y={yScale(t)} textAnchor="end" dominantBaseline="middle" fontSize={11} className="fill-zinc-500">{fmtTick(t)}</text></g>))}- <line x1={PAD.left} x2={PAD.left} y1={PAD.top} y2={HEIGHT - PAD.bottom} stroke="#3f3f46" strokeWidth={1} />- <line x1={PAD.left} x2={WIDTH - PAD.right} y1={HEIGHT - PAD.bottom} y2={HEIGHT - PAD.bottom} stroke="#3f3f46" strokeWidth={1} />+ <line x1={PAD.left} x2={PAD.left} y1={PAD.top} y2={HEIGHT - PAD.bottom} className="stroke-zinc-700" strokeWidth={1} />+ <line x1={PAD.left} x2={WIDTH - PAD.right} y1={HEIGHT - PAD.bottom} y2={HEIGHT - PAD.bottom} className="stroke-zinc-700" strokeWidth={1} />{/* X labels, thinned out so 390 px never clips. */}{block.points.map((p, i) => {@@ -244,7 +249,7 @@ export const Chart: React.FC<RendererProps<ChartBlock>> = ({ block }) => {y={HEIGHT - PAD.bottom + 16}textAnchor={!isBar && i === n - 1 && n > 1 ? 'end' : 'middle'}fontSize={11}- fill="#a1a1aa"+ className="fill-zinc-400">{p.x.length > labelChars ? (<>@@ -272,10 +277,10 @@ export const Chart: React.FC<RendererProps<ChartBlock>> = ({ block }) => {cur.push({ x: xPos(i), y: yScale(v), i });});if (cur.length) segments.push(cur);- const color = SERIES_COLORS[si % SERIES_COLORS.length];+ const color = C;const Marker = MARKERS[si % MARKERS.length];return (- <g key={s.key}>+ <g key={s.key} className={tone(si)}>{segments.map((seg, k) => (<pathkey={k}@@ -331,10 +336,10 @@ export const Chart: React.FC<RendererProps<ChartBlock>> = ({ block }) => {y={y}width={Math.max(2, barWidth - 2)}height={Math.max(0, h)}- fill={si === 0 ? SERIES_COLORS[0] : `url(#${uid}-pat-${si})`}- stroke={SERIES_COLORS[si % SERIES_COLORS.length]}+ fill={si === 0 ? C : `url(#${uid}-pat-${si})`}+ stroke={C}strokeWidth={isActive ? 1.5 : 0}- className="cursor-pointer outline-none"+ className={`cursor-pointer outline-none ${tone(si)}`}onFocus={() => setActive({ seriesIdx: si, pointIdx: i })}onBlur={() => setActive(null)}onMouseEnter={() => setActive({ seriesIdx: si, pointIdx: i })}diff --git a/frontend/src/components/results/Comparison.tsx b/frontend/src/components/results/Comparison.tsxindex 0c46dc46..9ae3b79f 100644--- a/frontend/src/components/results/Comparison.tsx+++ b/frontend/src/components/results/Comparison.tsx@@ -15,7 +15,7 @@ export function shortList(text: string): string[] | null {return parts.length >= 2 ? parts : null;}-const ROLE_TINT: Partial<Record<ColumnRole, string>> = { pros: 'text-emerald-300', cons: 'text-rose-300' };+const ROLE_TINT: Partial<Record<ColumnRole, string>> = { pros: 'text-ok', cons: 'text-rose-300' };/** S2: the small holo Pick sticker (spec §1, tilt +3), the same in the table and on the phone card. Not interactive. */const PickSticker: React.FC<{ reason: string | null }> = ({ reason }) => (diff --git a/frontend/src/components/results/Findings.tsx b/frontend/src/components/results/Findings.tsxindex ddf4222f..bca7f545 100644--- a/frontend/src/components/results/Findings.tsx+++ b/frontend/src/components/results/Findings.tsx@@ -29,7 +29,7 @@ export function validFindings(raw: unknown): FindingsBlock | null {// Severity is always paired with its word, never colour alone; the dot is decorative.const DOT: Record<Severity, string> = {critical: 'bg-rose-500',- high: 'bg-orange-500',+ high: 'bg-rose-300',medium: 'bg-amber-500',low: 'bg-sky-500',info: 'bg-zinc-500',@@ -37,7 +37,7 @@ const DOT: Record<Severity, string> = {const STRIPE: Record<Severity, string> = {critical: 'border-l-rose-500',- high: 'border-l-orange-500',+ high: 'border-l-rose-300',medium: 'border-l-amber-500',low: 'border-l-sky-500',info: 'border-l-zinc-500',diff --git a/frontend/src/components/results/RecipeActions.tsx b/frontend/src/components/results/RecipeActions.tsxindex a7c8c190..294f7488 100644--- a/frontend/src/components/results/RecipeActions.tsx+++ b/frontend/src/components/results/RecipeActions.tsx@@ -48,8 +48,8 @@ export const RecipeActions: React.FC<{ block: RecipeBlock; messageId: string }>onClick={() => recipe.copy(recipeMarkdown(block, shown), 'Copied', `Copied the recipe${forServes}`)}className={actionClass}>- {recipe.said?.ok ? <Check size={14} className="text-emerald-400" aria-hidden="true" /> : <Copy size={14} aria-hidden="true" />}- <span className={recipe.said?.ok ? 'font-medium text-emerald-400' : recipe.said ? 'text-rose-300' : ''}>{recipe.said?.shown ?? 'Copy recipe'}</span>+ {recipe.said?.ok ? <Check size={14} className="text-ok" aria-hidden="true" /> : <Copy size={14} aria-hidden="true" />}+ <span className={recipe.said?.ok ? 'font-medium text-ok' : recipe.said ? 'text-rose-300' : ''}>{recipe.said?.shown ?? 'Copy recipe'}</span></button><buttontype="button"@@ -60,9 +60,9 @@ export const RecipeActions: React.FC<{ block: RecipeBlock; messageId: string }>onClick={() => !none && list.copy(shoppingListText(block, state.have, shown), `Copied ${items(left)}`, `Copied ${items(left)}${forServes}`)}className={`${actionClass} ${none ? 'cursor-not-allowed opacity-45' : ''}`}>- {list.said?.ok ? <Check size={14} className="text-emerald-400" aria-hidden="true" /> : <ShoppingBasket size={14} aria-hidden="true" />}+ {list.said?.ok ? <Check size={14} className="text-ok" aria-hidden="true" /> : <ShoppingBasket size={14} aria-hidden="true" />}{list.said ? (- <span className={list.said.ok ? 'font-medium text-emerald-400' : 'text-rose-300'}>{list.said.shown}</span>+ <span className={list.said.ok ? 'font-medium text-ok' : 'text-rose-300'}>{list.said.shown}</span>) : (<><span className="max-sm:hidden">Copy shopping list</span>diff --git a/frontend/src/components/results/SmartResult.tsx b/frontend/src/components/results/SmartResult.tsxindex 5e003884..e1b662fd 100644--- a/frontend/src/components/results/SmartResult.tsx+++ b/frontend/src/components/results/SmartResult.tsx@@ -162,8 +162,8 @@ const CopyData: React.FC<{ block: SmartBlock; messageId: string }> = ({ block, m}}className={actionClass}>- {said?.ok ? <Check size={14} className="text-emerald-400" aria-hidden="true" /> : <Table2 size={14} aria-hidden="true" />}- <span className={said?.ok ? 'font-medium text-emerald-400' : said ? 'text-rose-300' : ''}>{said?.ok ? 'Copied' : said ? 'Copy failed' : 'Copy data'}</span>+ {said?.ok ? <Check size={14} className="text-ok" aria-hidden="true" /> : <Table2 size={14} aria-hidden="true" />}+ <span className={said?.ok ? 'font-medium text-ok' : said ? 'text-rose-300' : ''}>{said?.ok ? 'Copied' : said ? 'Copy failed' : 'Copy data'}</span><ChevronDown size={12} aria-hidden="true" /></button><span className="sr-only" aria-live="polite">diff --git a/frontend/src/components/results/Verification.tsx b/frontend/src/components/results/Verification.tsxindex 9335d604..94c17e0c 100644--- a/frontend/src/components/results/Verification.tsx+++ b/frontend/src/components/results/Verification.tsx@@ -38,14 +38,14 @@ export function validVerification(raw: unknown): VerificationBlock | null {const STATUS_TEXT: Record<CheckStatus, string> = { passed: 'Passed', failed: 'Failed', error: 'Error', pending: 'Pending' };const STATUS_ICON: Record<CheckStatus, React.ElementType> = { passed: CheckCircle2, failed: XCircle, error: AlertTriangle, pending: CircleDashed };const STATUS_COLOR: Record<CheckStatus, string> = {- passed: 'text-emerald-400',+ passed: 'text-ok',failed: 'text-rose-400',error: 'text-amber-400',pending: 'text-zinc-400',};const STATUS_PILL: Record<CheckStatus, string> = {- passed: 'border-emerald-500/40 bg-emerald-500/10 text-emerald-300',+ passed: 'border-teal-400/40 bg-teal-400/10 text-ok',failed: 'border-rose-500/40 bg-rose-500/10 text-rose-300',error: 'border-amber-500/40 bg-amber-500/10 text-amber-300',pending: 'border-zinc-600 bg-zinc-800/60 text-zinc-300',diff --git a/frontend/src/styles/devStatus.css b/frontend/src/styles/devStatus.cssindex 09173a92..af2879b9 100644--- a/frontend/src/styles/devStatus.css+++ b/frontend/src/styles/devStatus.css@@ -22,7 +22,7 @@border-radius: 10px;font-size: 12px;font-weight: 600;- color: rgb(228 228 231);+ color: theme('colors.zinc.200');border: 1px solid rgb(255 255 255 / 0.14);background: rgb(255 255 255 / 0.04);transition: background-color 140ms var(--kw-ease), border-color 140ms var(--kw-ease), transform 140ms var(--kw-ease);@@ -31,8 +31,11 @@.kw-dv-status-btn:active:not(:disabled) { transform: translateY(1px); }.kw-dv-status-btn:disabled { opacity: 0.5; cursor: not-allowed; }.kw-dv-status-btn[aria-expanded='true'] { background: rgb(255 255 255 / 0.1); }-.kw-dv-status-btn-primary { color: #fff; border-color: transparent; background-image: linear-gradient(135deg, #7a62f0 0%, #5b47d6 100%); }-.kw-dv-status-btn-primary:hover:not(:disabled) { filter: brightness(1.08); }+.kw-dv-status-btn-primary { color: #fff; border-color: transparent; background-image: linear-gradient(135deg, #745bef 0%, #5b47d6 100%); }+/* Hover deepens like kw-btn-primary (26g), never brightness under white text. It must come after the+ .kw-dv-status-btn hover above: that rule's background shorthand has the same specificity and would+ otherwise drop the gradient on hover. */+.kw-dv-status-btn-primary:hover:not(:disabled) { background-image: linear-gradient(135deg, theme('colors.sky.600') 0%, theme('colors.sky.700') 100%); }.kw-dv-picker-input {min-width: 0;@@ -44,11 +47,11 @@background: rgb(6 3 20 / 0.35);font-family: 'JetBrains Mono', ui-monospace, monospace;font-size: 12px;- color: rgb(244 244 245);+ color: theme('colors.zinc.100');outline: none;}-.kw-dv-picker-input::placeholder { color: rgb(113 113 122); }-.kw-dv-picker-input:focus { border-color: rgb(56 189 248 / 0.7); }+.kw-dv-picker-input::placeholder { color: theme('colors.zinc.500'); }+.kw-dv-picker-input:focus { border-color: theme('colors.sky.400 / 70%'); }.kw-dv-picker-input[aria-invalid='true'] { border-color: rgb(253 164 175 / 0.6); }/* 0.7.2 team repos: one row per repo under the status line. Rows wrap at 390 px: the cells take the@@ -112,7 +115,7 @@height: 11px;margin-left: 3px;vertical-align: -1px;- background: rgb(125 211 252 / 0.8);+ background: theme('colors.sky.300 / 80%');animation: kw-dv-caret 900ms steps(1) 4;}.kw-dv-intro-icon {diff --git a/frontend/src/styles/modern.css b/frontend/src/styles/modern.cssindex 0e5d5666..9c103559 100644--- a/frontend/src/styles/modern.css+++ b/frontend/src/styles/modern.css@@ -178,7 +178,7 @@padding-inline: 4px;min-height: 28px; /* when it wraps under Copy data it reads as a caption line, not a 36 px chip row */font-weight: 400;- color: rgb(161 161 170); /* zinc-400 */+ color: theme('colors.zinc.400'); /* zinc-400 */}}@@ -294,6 +294,7 @@.kw-card-interactive the same, tappable: lifts 1px and brightens its hairline on hover/focus.kw-chip a pill label; add .kw-chip-ok / -warn / -bad / -info / -accent for a status colour.kw-btn-primary the accent gradient button (one per view); .kw-btn-ghost a quiet button+ .kw-hover-deepen the same hover for a hand-built bg-accent-gradient button with white text (never hover:brightness).kw-status-dot a 8px dot; .kw-status-ok / -warn / -bad / -idle, .kw-pulse while something is live.kw-focus the focus ring (2px accent, 2px offset); already on every .kw-card-interactive.kw-hit a 44px tap area on phone for a small inline link, with no visual change@@ -351,7 +352,11 @@@apply inline-flex items-center justify-center gap-1.5 rounded-xl bg-accent-gradient px-3.5 py-1.5 text-body font-semibold text-white shadow-card;transition: transform 140ms var(--kw-ease), filter 140ms var(--kw-ease), box-shadow 140ms var(--kw-ease);}- .kw-btn-primary:hover:not(:disabled) { filter: brightness(1.12); box-shadow: theme('boxShadow.glow'); }+ /* Hover deepens the gradient (sky-600 to sky-700) instead of brightening it: brightness(1.12) put white text at+ 3.66:1 on the light stop. Now 5.1:1 or more on hover (26g). */+ .kw-btn-primary:hover:not(:disabled),+ .kw-hover-deepen:hover:not(:disabled) { background-image: linear-gradient(135deg, theme('colors.sky.600') 0%, theme('colors.sky.700') 100%); }+ .kw-btn-primary:hover:not(:disabled) { box-shadow: theme('boxShadow.glow'); }.kw-btn-primary:active:not(:disabled) { transform: scale(0.97); }.kw-btn-primary:disabled { @apply cursor-not-allowed; background-image: none; background-color: var(--kw-surface-overlay); color: theme('colors.zinc.400'); box-shadow: none; }.kw-btn-ghost {@@ -748,9 +753,11 @@ a.kw-sticker:hover { transform: rotate(var(--kw-tilt)) scale(1.04); box-shadow:.kw-dvx-actions { margin-top: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }.kw-dvx-primary {display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 10px;- background: linear-gradient(135deg, #7a62f0, #5b47d6); color: #fff; font-size: 14px; font-weight: 600;+ background: linear-gradient(135deg, #745bef, #5b47d6); color: #fff; font-size: 14px; font-weight: 600;}-.kw-dvx-primary:hover { filter: brightness(1.08); }+/* Hover deepens like kw-btn-primary (26g): brightness(1.08) put white text near 3.9:1. The longhand beats the base+ rule's background shorthand by specificity (.kw-dvx-primary:hover is 0,2,0). */+.kw-dvx-primary:hover { background-image: linear-gradient(135deg, theme('colors.sky.600') 0%, theme('colors.sky.700') 100%); }.kw-dvx-guide { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: theme('colors.sky.300'); border-radius: 6px; }.kw-dvx-guide:hover { color: theme('colors.sky.200'); }.kw-dvx-owner { font-size: 12px; line-height: 18px; color: theme('colors.zinc.400'); }@@ -813,7 +820,7 @@ a.kw-sticker:hover { transform: rotate(var(--kw-tilt)) scale(1.04); box-shadow:display: flex; align-items: center; justify-content: center;}.kw-mb-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }-.kw-mb-spark { position: absolute; top: -3px; left: -6px; line-height: 1; text-shadow: 0 0 2px #09090b, 0 0 2px #09090b; }+.kw-mb-spark { position: absolute; top: -3px; left: -6px; line-height: 1; text-shadow: 0 0 2px theme('colors.zinc.950'), 0 0 2px theme('colors.zinc.950'); }.kw-mb-in { animation: kw-mb-in 150ms ease-out both; }.kw-mb-out { animation: kw-mb-out 150ms ease-out both; }@keyframes kw-mb-in { from { opacity: 0; } }@@ -870,7 +877,7 @@ a.kw-sticker:hover { transform: rotate(var(--kw-tilt)) scale(1.04); box-shadow:--accent: #b8adff; /* sky-300: accent text */--accent-strong: #9d8fff; /* sky-400: working / accent strokes */--accent-fill: #6c58e0; /* sky-600: toggles on */- --accent-gradient: linear-gradient(135deg, #7a62f0 0%, #5b47d6 100%);+ --accent-gradient: linear-gradient(135deg, #745bef 0%, #5b47d6 100%);--accent-soft: linear-gradient(135deg, rgb(122 98 240 / .22) 0%, rgb(91 71 214 / .10) 100%);/* Pixel's names for the same shades (PX-* classes use --dv-t*, --dv-accent*) */--dv-t1: var(--t1); --dv-t2: var(--t2); --dv-t3: var(--t3); --dv-t4: var(--t4); --dv-t5: var(--t5);@@ -1044,7 +1051,7 @@ button.dv-sha { cursor: copy; } button.dv-sha:hover { color: var(--accent); bord@keyframes kw-prepush-flash { 0% { opacity: 0; } 13.3% { opacity: 1; } 86.7% { opacity: 1; } 100% { opacity: 0; } }/* Off by default; on only when motion is allowed, so reduced motion never sees it. */@media (prefers-reduced-motion: no-preference) {- .kw-prepush-flash::after { display: block; box-shadow: 0 0 0 2px rgb(167 139 250 / 0.6); opacity: 0; animation: kw-prepush-flash 1.2s linear 1 both; }+ .kw-prepush-flash::after { display: block; box-shadow: 0 0 0 2px rgb(157 143 255 / 0.6); opacity: 0; animation: kw-prepush-flash 1.2s linear 1 both; }}/* H5: a row entering the pinned "Needs you" block (reordering inside it is not animated) */diff --git a/frontend/src/styles/placeChip.css b/frontend/src/styles/placeChip.cssindex 2d4886b6..2e733893 100644--- a/frontend/src/styles/placeChip.css+++ b/frontend/src/styles/placeChip.css@@ -5,15 +5,15 @@--pc-bg: var(--kw-surface-raised, #1a1538);--pc-ring: var(--kw-hairline-strong, rgb(255 255 255 / .14));--pc-hover: #231d4b;- --pc-text: #e4e4e7;- --pc-text-hi: #fafafa;+ --pc-text: theme('colors.zinc.200');+ --pc-text-hi: theme('colors.zinc.50');--pc-glyph: #b8adff;- --pc-chev: #a1a1aa;+ --pc-chev: theme('colors.zinc.400');--pc-amber: #ffb020;--pc-amber-ink: #1b1033;--pc-amber-rim: transparent;--pc-focus: #8270f5;- --pc-line: rgb(39 39 42 / .6);+ --pc-line: theme('colors.zinc.800 / 60%');--pc-dot-start: #fcd34d;--pc-dot-fail: #fda4af;}@@ -67,13 +67,13 @@/* Settings → Perch */.kw-perch {- --pp-card: rgb(9 9 11 / .6); --pp-border: #27272a; --pp-t1: #f4f4f5; --pp-t2: #a1a1aa; --pp-t3: #71717a;- --pp-seg: #09090b; --pp-on: #6c58e0; --pp-on-text: #ffffff; --pp-mark: #ffb020; --pp-note: rgb(24 24 27 / .8);+ --pp-card: theme('colors.zinc.950 / 60%'); --pp-border: theme('colors.zinc.800'); --pp-t1: theme('colors.zinc.100'); --pp-t2: theme('colors.zinc.400'); --pp-t3: theme('colors.zinc.500');+ --pp-seg: theme('colors.zinc.950'); --pp-on: #6c58e0; --pp-on-text: #ffffff; --pp-mark: #ffb020; --pp-note: theme('colors.zinc.900 / 80%');--pp-icon: #b8adff; --pp-focus: #8270f5;}[data-theme="light"] .kw-perch {--pp-card: #ffffff; --pp-border: rgb(29 24 64 / .14); --pp-t1: #1d1840; --pp-t2: #5a5383; --pp-t3: #6b6494;- --pp-seg: #f5f3ff; --pp-mark: #8f5600; --pp-note: #f5f3ff;+ --pp-seg: #f3f1ff; --pp-mark: #8f5600; --pp-note: #f3f1ff;--pp-icon: #5845bd; --pp-focus: #6c58e0;}.kw-perch { background: var(--pp-card); border: 1px solid var(--pp-border); border-radius: 12px; padding: 16px; }diff --git a/frontend/src/styles/stream.css b/frontend/src/styles/stream.cssindex a245b384..4c54bf6c 100644--- a/frontend/src/styles/stream.css+++ b/frontend/src/styles/stream.css@@ -53,7 +53,7 @@width: 22px;height: 22px;border-radius: 9999px;- border: 2px solid theme('colors.emerald.300');+ border: 2px solid theme('colors.teal.300');animation: kws-burst-ring 200ms ease-out both;}.kws-burst-dot {@@ -63,7 +63,7 @@width: 4px;height: 4px;border-radius: 9999px;- background: theme('colors.emerald.300');+ background: theme('colors.teal.300');animation: kws-burst-dot 200ms ease-out both;}@keyframes kws-burst-ring {diff --git a/frontend/src/styles/telegram.css b/frontend/src/styles/telegram.cssindex d2694168..e761152b 100644--- a/frontend/src/styles/telegram.css+++ b/frontend/src/styles/telegram.css@@ -16,27 +16,27 @@.tg-kinds li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }.tg-kinds.compact { grid-template-columns: 1fr; gap: 6px; }-.tg-status { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; line-height: 18px; color: #a1a1aa; }+.tg-status { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; line-height: 18px; color: theme('colors.zinc.400'); }.tg-status > span:last-child { min-width: 0; }-.tg-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #71717a; }+.tg-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: theme('colors.zinc.500'); }.tg-status.ok .tg-dot { background: #5eead4; }.tg-status.warn { color: #fde68a; }.tg-status.warn .tg-dot { background: #fbbf24; }.tg-status.bad { color: #fda4af; }.tg-status.bad .tg-dot { background: #fb7185; }-.tg-kv { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px 16px; margin: 0; padding-top: 12px; border-top: 1px solid #27272a; font-size: 12.5px; }-.tg-kv dt { color: #a1a1aa; }-.tg-kv dd { margin: 0; color: #e4e4e7; min-width: 0; overflow-wrap: anywhere; }-.tg-kv code, .tg-pv code, .tg-inline-confirm code, .tg-link code, .tg-sum code { font: 500 12px/1.4 'JetBrains Mono', ui-monospace, monospace; color: #e4e4e7; background: #18181b; padding: 1px 5px; border-radius: 5px; }+.tg-kv { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px 16px; margin: 0; padding-top: 12px; border-top: 1px solid theme('colors.zinc.800'); font-size: 12.5px; }+.tg-kv dt { color: theme('colors.zinc.400'); }+.tg-kv dd { margin: 0; color: theme('colors.zinc.200'); min-width: 0; overflow-wrap: anywhere; }+.tg-kv code, .tg-pv code, .tg-inline-confirm code, .tg-link code, .tg-sum code { font: 500 12px/1.4 'JetBrains Mono', ui-monospace, monospace; color: theme('colors.zinc.200'); background: theme('colors.zinc.900'); padding: 1px 5px; border-radius: 5px; }-.tg-sub { padding-top: 12px; border-top: 1px solid #27272a; display: flex; flex-direction: column; gap: 10px; }+.tg-sub { padding-top: 12px; border-top: 1px solid theme('colors.zinc.800'); display: flex; flex-direction: column; gap: 10px; }.tg-allow-r { display: flex; align-items: flex-start; gap: 10px; }.tg-allow.on { margin: 0 -12px; padding: 12px 12px; background: rgb(180 83 9 / .12); border-top-color: rgb(245 158 11 / .3); border-radius: 0 0 0 0; }.tg-allow.on small { color: #fde68a; }.tg-never { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 0 42px; font-size: 12px; line-height: 17px; color: #fde68a; }.tg-never svg { flex: none; margin-top: 2px; color: #fcd34d; }-.tg-foot { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid #27272a; }+.tg-foot { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid theme('colors.zinc.800'); }.tg-foot > :last-child { margin-left: auto; }.tg-inline-confirm { padding: 12px 14px; border-radius: 10px; background: rgb(244 63 94 / .08); border: 1px solid rgb(244 63 94 / .35); display: flex; flex-direction: column; gap: 6px; }.tg-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }@@ -44,28 +44,28 @@.tg-err svg { flex: none; margin-top: 2px; }/* Sheet (T/D `.pv`, 560 px; a bottom sheet on phone) */-.tg-scrim { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgb(9 9 11 / .7); }-.tg-pv, .tg-confirm { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; border-radius: 16px; border: 1px solid #3f3f46; background: #18181b; box-shadow: 0 24px 60px rgb(0 0 0 / .5); animation: tg-rise 180ms ease-out; }+.tg-scrim { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; background: theme('colors.zinc.950 / 70%'); }+.tg-pv, .tg-confirm { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; border-radius: 16px; border: 1px solid theme('colors.zinc.700'); background: theme('colors.zinc.900'); box-shadow: 0 24px 60px rgb(0 0 0 / .5); animation: tg-rise 180ms ease-out; }.tg-pv:focus, .tg-confirm:focus { outline: none; }.tg-confirm { width: 420px; padding: 18px; gap: 10px; }-.tg-pv-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid #27272a; }-.tg-icbtn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #a1a1aa; }-.tg-icbtn:hover { background: #27272a; color: #f4f4f5; }+.tg-pv-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid theme('colors.zinc.800'); }+.tg-icbtn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: theme('colors.zinc.400'); }+.tg-icbtn:hover { background: theme('colors.zinc.800'); color: theme('colors.zinc.100'); }.tg-pv-body { overflow-y: auto; padding: 0 18px 16px; }-.tg-pv-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid #27272a; }-.tg-note { flex: 1; min-width: 0; font-size: 11.5px; line-height: 16px; color: #a1a1aa; }+.tg-pv-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid theme('colors.zinc.800'); }+.tg-note { flex: 1; min-width: 0; font-size: 11.5px; line-height: 16px; color: theme('colors.zinc.400'); }.tg-step { padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }-.tg-step + .tg-step { border-top: 1px solid #27272a; margin-top: 16px; }+.tg-step + .tg-step { border-top: 1px solid theme('colors.zinc.800'); margin-top: 16px; }.tg-step.off .tg-step-h { opacity: .5; }.tg-step > :not(.tg-step-h) { margin-left: 32px; }.tg-step-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }-.tg-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 Inter, system-ui, sans-serif; color: #d4d4d8; border: 1px solid #3f3f46; }+.tg-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 Inter, system-ui, sans-serif; color: theme('colors.zinc.300'); border: 1px solid theme('colors.zinc.700'); }.tg-n.ok { background: rgb(94 234 212 / .14); border-color: rgb(94 234 212 / .4); color: #5eead4; }-.tg-sum { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; font-size: 12px; color: #a1a1aa; min-width: 0; }-.tg-how { margin: 0 0 0 32px; padding-left: 16px; list-style: decimal; font-size: 12.5px; line-height: 21px; color: #a1a1aa; }-.tg-field { width: 100%; min-height: 36px; padding: 6px 10px; background: #09090b; border: 1px solid #3f3f46; border-radius: 8px; font-size: 13px; color: #f4f4f5; }-.tg-field::placeholder { color: #71717a; }-.tg-field:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 1px #0ea5e9; }+.tg-sum { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; font-size: 12px; color: theme('colors.zinc.400'); min-width: 0; }+.tg-how { margin: 0 0 0 32px; padding-left: 16px; list-style: decimal; font-size: 12.5px; line-height: 21px; color: theme('colors.zinc.400'); }+.tg-field { width: 100%; min-height: 36px; padding: 6px 10px; background: theme('colors.zinc.950'); border: 1px solid theme('colors.zinc.700'); border-radius: 8px; font-size: 13px; color: theme('colors.zinc.100'); }+.tg-field::placeholder { color: theme('colors.zinc.500'); }+.tg-field:focus { outline: none; border-color: theme('colors.sky.500'); box-shadow: 0 0 0 1px theme('colors.sky.500'); }.tg-field.bad { border-color: #fb7185; box-shadow: 0 0 0 1px #fb7185; }.tg-field[type=password] { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 1px; }@@ -73,21 +73,21 @@.tg-qr { position: relative; flex: none; padding: 8px; border-radius: 12px; background: #fff; line-height: 0; }.tg-qr img, .tg-qr-empty { display: block; width: 168px; height: 168px; }.tg-qr.dim img { opacity: .18; }-.tg-qr-x { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px/1 Inter, system-ui, sans-serif; color: #18181b; }+.tg-qr-x { position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px/1 Inter, system-ui, sans-serif; color: theme('colors.zinc.900'); }.tg-link { font-size: 12px; }.tg-btns { display: flex; gap: 8px; flex-wrap: wrap; }-.tg-wait { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: #a1a1aa; }+.tg-wait { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: theme('colors.zinc.400'); }.tg-wait svg { flex: none; color: #b8adff; }.tg-wait.bad { color: #fda4af; }.tg-wait.bad svg { color: #fda4af; }.tg-paired { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid rgb(94 234 212 / .3); background: rgb(94 234 212 / .06); }.tg-ok { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgb(94 234 212 / .16); color: #5eead4; }-.tg-bullets { margin: 0; padding-left: 18px; list-style: disc; font-size: 12.5px; line-height: 19px; color: #d4d4d8; display: flex; flex-direction: column; gap: 4px; }+.tg-bullets { margin: 0; padding-left: 18px; list-style: disc; font-size: 12.5px; line-height: 19px; color: theme('colors.zinc.300'); display: flex; flex-direction: column; gap: 4px; }-.tg-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 14px; border-radius: 10px; border: 1px solid #3f3f46; background: #27272a; color: #f4f4f5; font-size: 12.5px; box-shadow: 0 10px 30px rgb(0 0 0 / .4); }+.tg-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 14px; border-radius: 10px; border: 1px solid theme('colors.zinc.700'); background: theme('colors.zinc.800'); color: theme('colors.zinc.100'); font-size: 12.5px; box-shadow: 0 10px 30px rgb(0 0 0 / .4); }/* Chat: "via Telegram" chip after the time; resolved rows say where the answer came from. */-.tg-via { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 6px; font-size: 11px; line-height: 1; font-weight: 500; color: #a1a1aa; background: rgb(184 173 255 / .10); border: 1px solid rgb(184 173 255 / .2); white-space: nowrap; }+.tg-via { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 6px; font-size: 11px; line-height: 1; font-weight: 500; color: theme('colors.zinc.400'); background: rgb(184 173 255 / .10); border: 1px solid rgb(184 173 255 / .2); white-space: nowrap; }.tg-via svg { flex: none; }@keyframes tg-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }diff --git a/frontend/src/styles/tickets.css b/frontend/src/styles/tickets.cssindex 360fc262..e4bedb60 100644--- a/frontend/src/styles/tickets.css+++ b/frontend/src/styles/tickets.css@@ -170,7 +170,7 @@ a.tk-src:hover { border-color: rgb(157 143 255 / .5); color: var(--t1); }.tk-q .blocks .lb { color: var(--t4); }.tk-q .blocks .srcs { vertical-align: middle; margin-left: 4px; }.tk-choices { margin: 10px 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }-.tk-ch { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 12px; border: 1px solid #3f3f46; background: rgb(39 39 42 / .6); color: var(--t1);+.tk-ch { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 12px; border: 1px solid theme('colors.zinc.700'); background: theme('colors.zinc.800 / 60%'); color: var(--t1);font: 400 13.5px/20px Inter, sans-serif; cursor: pointer; text-align: left; max-width: 100%; overflow-wrap: anywhere; }.tk-ch .def { font: 600 10.5px/1 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #120e26; background: var(--kw-warn); padding: 3px 5px; border-radius: 4px; flex: none; }.tk-ch[aria-pressed="true"] { border-color: var(--kw-ok); background: var(--dv-ok-bg); }diff --git a/frontend/src/tabSignal.ts b/frontend/src/tabSignal.tsindex fd99eecb..e74843f0 100644--- a/frontend/src/tabSignal.ts+++ b/frontend/src/tabSignal.ts@@ -92,7 +92,7 @@ export function browserTabDoc(): TabDoc {const { cx, cy, r, ring } = dotGeometry(size);g.fillStyle = '#120e26';g.beginPath(); g.arc(cx, cy, r + ring, 0, Math.PI * 2); g.fill();- g.fillStyle = '#a78bfa';+ g.fillStyle = '#9d8fff';g.beginPath(); g.arc(cx, cy, r, 0, Math.PI * 2); g.fill();resolve(c.toDataURL('image/png'));} catch { resolve(null); }diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.jsindex f39e6a64..5c65dba3 100644--- a/frontend/tailwind.config.js+++ b/frontend/tailwind.config.js@@ -41,13 +41,6 @@ export default {DEFAULT: '#7cc4ff',ink: '#071629',},- brand: {- 50: '#f0f9ff',- 100: '#e0f2fe',- 400: '#38bdf8',- 500: '#0ea5e9',- 600: '#0284c7',- },},// Layered surfaces, dark to light: rail < side < main < raised < overlay. Use these instead of// picking a zinc shade, so depth reads the same everywhere. Backed by CSS variables (modern.css).@@ -72,7 +65,7 @@ export default {},backgroundImage: {// The one accent gradient: primary buttons, the active item, the bot-home hero glow- 'accent-gradient': 'linear-gradient(135deg, #7a62f0 0%, #5b47d6 100%)',+ 'accent-gradient': 'linear-gradient(135deg, #745bef 0%, #5b47d6 100%)','accent-soft': 'linear-gradient(135deg, rgb(122 98 240 / 0.22) 0%, rgb(91 71 214 / 0.10) 100%)',},boxShadow: {diff --git a/frontend/tests/away.test.mjs b/frontend/tests/away.test.mjsindex 69ad02f5..61af3a7f 100644--- a/frontend/tests/away.test.mjs+++ b/frontend/tests/away.test.mjs@@ -102,7 +102,7 @@ test("an expired card's 409 shows the server's sentence as a plain notice, not aassert.deepEqual(a.actionFailureNotice(500, 'Boom', 'X'), { text: "Couldn't send it: Boom: “X”", error: true });const html = ui.render({ data: resp(), loading: false, error: null, busy: null, notice: a.actionFailureNotice(409, msg, 'X'), onRefresh() {}, onOpen() {}, onAnswer() {}, onResolve() {} });assert.match(html, /This card expired/);- assert.match(html, /bg-slate-500\/10/);+ assert.match(html, /bg-zinc-500\/10/);assert.doesNotMatch(html, /bg-amber-500\/10 text-amber-200[^>]*>This card expired/);});diff --git a/frontend/tests/botStatus.test.mjs b/frontend/tests/botStatus.test.mjsindex 6b301353..9b82e34b 100644--- a/frontend/tests/botStatus.test.mjs+++ b/frontend/tests/botStatus.test.mjs@@ -79,7 +79,7 @@ test('priority order is Needs you > Working > Queued > Can\'t run > Available',});test('only Available is green; Working pulses but respects reduced motion', () => {- for (const k of s.STATUS_PRIORITY) assert.equal(s.STATUS_DOT[k].includes('emerald'), k === 'available', k);+ for (const k of s.STATUS_PRIORITY) assert.equal(s.STATUS_DOT[k].includes('teal'), k === 'available', k);assert.match(s.STATUS_DOT.working, /animate-pulse/);assert.match(s.STATUS_DOT.working, /motion-reduce:animate-none/);assert.equal(s.statusText('Editor', 'working'), 'Editor · Working');diff --git a/frontend/tests/goals.test.mjs b/frontend/tests/goals.test.mjsindex 5af51c61..fb5b2834 100644--- a/frontend/tests/goals.test.mjs+++ b/frontend/tests/goals.test.mjs@@ -162,9 +162,9 @@ test('Unknown is never drawn like Met: its own word, colour, outline and icon',const html = b.stripHtml({ names, now: NOW, initial: { goals: [goal({ id: 'a', status: 'met' }), goal({ id: 'b', status: 'unknown' })] }, api: fakeApi([]) });const pill = (status) => html.match(new RegExp(`<span[^>]*data-goal-status="${status}"[^>]*>.*?</span>`))[0];- assert.match(pill('met'), /emerald/);+ assert.match(pill('met'), /teal/);assert.match(pill('unknown'), /border-dashed/);- assert.doesNotMatch(pill('unknown'), /emerald/);+ assert.doesNotMatch(pill('unknown'), /teal/);assert.match(pill('unknown'), /lucide-circle-help|circle-question/);assert.doesNotMatch(pill('unknown'), /circle-check/);assert.match(text(pill('unknown')), /^Can’t check$/);diff --git a/frontend/tests/kwantLook.test.mjs b/frontend/tests/kwantLook.test.mjsnew file mode 100644index 00000000..8ed15b16--- /dev/null+++ b/frontend/tests/kwantLook.test.mjs@@ -0,0 +1,190 @@+// kwant look guard (app look sweep, Nov 16): the app stays in kwant's palette.+// tailwind.config.js retints zinc (indigo) and sky (lavender), so Tailwind's own zinc/sky hex is the wrong grey+// and the wrong blue here, and the status colours each mean one thing (teal ok, amber warn, rose bad,+// lavender info). This walks frontend/src (*.ts, *.tsx, *.css, skipping generated/) and fails on:+// (a) a stock Tailwind zinc/sky hex or rgb() (the list is the mockup kit's lint.py STOCK), and+// (b) a colour class or theme() from a Tailwind family kwant doesn't use, and+// (c) white text on a light lavender (26g follow-up): text-white in the same class list as bg-sky-500 or lighter,+// hover:bg-sky-500 or lighter, or hover:brightness-1xx. White is 3.76:1 on sky-500 and 3.66:1 on the+// brightened accent gradient; use bg-sky-600 (5.1:1) with hover:bg-sky-700 (7.0:1), kw-btn-primary, or+// kw-hover-deepen on a bg-accent-gradient.+// (d) the same in CSS (26g follow-up 2): filter: brightness() above 1 in a :hover rule whose selector, or its+// base rule, sets white text (color #fff / white, @apply text-white). Use the deepen gradient instead.+// (e) the accent gradient's retired light stop #7a62f0 (4.35:1 under white), in frontend/src and+// tailwind.config.js. It is #745bef now. The rgb(122 98 240 / a) tints are a different thing and stay.+// emerald and violet (Mira's ruling, audit section C, roadmap 26g): emerald is teal / ok and violet is kwant's+// sky (lavender), so their classes and stock hex fail too. scripts/retint-emerald-violet.mjs does the mapping.+import assert from 'node:assert/strict';+import test from 'node:test';+import { readFileSync, readdirSync, statSync } from 'node:fs';+import { join, relative } from 'node:path';+import { fileURLToPath } from 'node:url';++const root = fileURLToPath(new URL('..', import.meta.url));+const src = join(root, 'src');++// zinc and sky: same list as /home/maus/shared/ship-software-safely/mockup-kit/lint.py STOCK. emerald and violet:+// Tailwind 3's own hex, which map to kwant teal and sky (KWANT). All 50..950.+const SHADES = ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900', '950'];+const STOCK = {+ zinc: '#fafafa #f4f4f5 #e4e4e7 #d4d4d8 #a1a1aa #71717a #52525b #3f3f46 #27272a #18181b #09090b',+ sky: '#f0f9ff #e0f2fe #bae6fd #7dd3fc #38bdf8 #0ea5e9 #0284c7 #0369a1 #075985 #0c4a6e #082f49',+ emerald: '#ecfdf5 #d1fae5 #a7f3d0 #6ee7b7 #34d399 #10b981 #059669 #047857 #065f46 #064e3b #022c22',+ violet: '#f5f3ff #ede9fe #ddd6fe #c4b5fd #a78bfa #8b5cf6 #7c3aed #6d28d9 #5b21b6 #4c1d95 #2e1065',+};+// The kwant family each stock family's hex should become.+const KWANT = { zinc: 'zinc', sky: 'sky', emerald: 'teal', violet: 'sky' };+const HEX = new Map();+for (const [fam, list] of Object.entries(STOCK)) list.split(' ').forEach((h, i) => HEX.set(h, `${fam}-${SHADES[i]}`));+const rgbOf = (h) => [1, 3, 5].map((i) => parseInt(h.slice(i, i + 2), 16));+const RGB = new Map([...HEX.keys()].map((h) => [rgbOf(h).join(','), h]));++const hexRe = /#[0-9a-f]{6}(?:[0-9a-f]{2})?(?![0-9a-z_-])/gi;+const rgbRe = /rgba?\(\s*(\d{1,3})[\s,]+(\d{1,3})[\s,]+(\d{1,3})\b/gi;++// Families kwant doesn't use, and the kwant token that carries the meaning instead.+const OFF = {+ gray: 'zinc (kwant greys)', slate: 'zinc (kwant greys)', neutral: 'zinc (kwant greys)', stone: 'zinc (kwant greys)',+ red: 'rose, or text-bad / var(--kw-bad)', pink: 'rose, or text-bad / var(--kw-bad)',+ orange: 'amber, or text-warn / var(--kw-warn)', yellow: 'amber, or text-warn / var(--kw-warn)',+ lime: 'teal, or text-ok / var(--kw-ok)', green: 'teal, or text-ok / var(--kw-ok)',+ cyan: 'sky (lavender), or text-info / var(--kw-info)', blue: 'sky (lavender), or text-info; control only for "you have the wheel"',+ indigo: 'sky (lavender), or text-info / var(--kw-info)', purple: 'sky (lavender), or text-info / var(--kw-info)',+ fuchsia: 'sky (lavender), or text-info / var(--kw-info)',+ emerald: 'teal: text-ok, kw-chip-ok, kw-status-ok; solid buttons bg-teal-300 text-zinc-950 (scripts/retint-emerald-violet.mjs)',+ violet: 'sky (lavender) of the same shade, text-info, kw-focus or kw-btn-primary (scripts/retint-emerald-violet.mjs)',+};+const fams = Object.keys(OFF).join('|');+// bg-red-500, hover:text-slate-300/80, ring-blue-400, from-indigo-600 ..., and theme('colors.red.500')+const classRe = new RegExp(`(?<![\\w])(?:[\\w-]+-)?(${fams})-(50|[1-9]00|950)(?![\\w-])|colors\\.(${fams})\\.(50|[1-9]00|950)`, 'g');++// Exemptions: file (relative to frontend/) and the exact values allowed there. Each one says why.+const EXEMPT = [+ // A categorical picker: each space needs a different hue, not a status meaning or a kwant grey.+ // #0ea5e9 is SPACE_COLORS' "sky" swatch and its NAMED_COLORS alias for older rows; changing it would recolour saved spaces.+ // #10b981 and #8b5cf6 are its emerald and violet swatches, user-picked the same way (Mira's ruling, exemption 1).+ { file: 'src/spaces.ts', values: ['#0ea5e9', '#10b981', '#8b5cf6'], why: 'SPACE_COLORS categorical picker' },+ // The holo sticker's conic rainbow (.tk-holo, earned results only). #c4b5fd is one stop of the rainbow, not an accent (exemption 2).+ { file: 'src/styles/tickets.css', values: ['#c4b5fd'], why: 'holo conic gradient' },+ // Exemption 3, Chart SERIES_COLORS, needs no entry: the sweep's section A moved the series to kwant classes, so no #34d399 is left.+];+const exempt = (file, value) => EXEMPT.some((e) => e.file === file && e.values.includes(value.toLowerCase()));++function* walk(dir) {+ for (const name of readdirSync(dir)) {+ const p = join(dir, name);+ if (statSync(p).isDirectory()) {+ if (name !== 'generated' && name !== 'node_modules') yield* walk(p);+ } else if (/\.(ts|tsx|css)$/.test(name)) yield p;+ }+}++// (c) One class list is one line here: the app writes each className, or each branch of a ternary, on one line.+const whiteRe = /(?<![\w-])text-white(?![\w-])/;+const lightSkyRe = /(?<![\w-])((?:[\w-]+:)*)bg-sky-(50|100|200|300|400|500)(?![\w/-])/g;+const brightRe = /(?<![\w-])((?:[\w-]+:)*hover:)brightness-(\d+)(?![\w-])/g;+const WHITE_EXEMPT = [+ // None. List a real exemption here as { at: 'src/x.tsx:12', why: '...' }.+];+export function whiteOnLight(line) {+ if (!whiteRe.test(line)) return [];+ const out = [];+ for (const m of line.matchAll(lightSkyRe)) {+ const hover = /hover:/.test(m[1]);+ out.push(`${m[0]} under text-white is ${m[2] === '500' ? '3.76' : 'under 3.8'}:1: use ${hover ? `${m[1]}bg-sky-700` : `${m[1]}bg-sky-600`} (bg-sky-600 rests at 5.1:1, hover:bg-sky-700 is 7.0:1)`);+ }+ for (const m of line.matchAll(brightRe)) {+ if (+m[2] > 100) out.push(`${m[0]} next to text-white lightens the fill under white text (3.66:1 on the accent gradient): use kw-hover-deepen (or hover:bg-sky-700 on a flat bg-sky-600)`);+ }+ return out;+}++// (d) Flat CSS rules (innermost blocks, so rules inside @media and @layer count too).+const WHITE_CSS = /(?:^|[;{\s])color\s*:\s*(?:#fff(?:fff)?|white)\b|@apply[^;]*(?<![\w-])text-white(?![\w-])/i;+const BRIGHT_CSS = /filter\s*:[^;]*brightness\(\s*([\d.]+)(%?)\s*\)/i;+export function cssBrightHovers(text) {+ const rules = [];+ for (const m of text.matchAll(/([^{}]+)\{([^{}]*)\}/g)) {+ const sel = m[1].replace(/\/\*[\s\S]*?\*\//g, '').trim();+ const line = text.slice(0, m.index + m[1].length).split('\n').length;+ rules.push({ sels: sel.split(',').map((x) => x.trim()), body: m[2], line });+ }+ const whiteSel = new Set(rules.filter((r) => WHITE_CSS.test(r.body)).flatMap((r) => r.sels));+ const out = [];+ for (const r of rules) {+ const b = r.body.match(BRIGHT_CSS);+ if (!b || (b[2] ? +b[1] / 100 : +b[1]) <= 1) continue;+ const hover = r.sels.filter((x) => x.includes(':hover'));+ const base = (x) => x.replace(/:hover/g, '').replace(/:not\([^)]*\)/g, '').trim();+ if (hover.length && (WHITE_CSS.test(r.body) || hover.some((x) => whiteSel.has(x) || whiteSel.has(base(x)))))+ out.push({ line: r.line, msg: `${hover[0]} brightens white text on hover (${b[0]}): deepen the gradient instead, background-image: linear-gradient(135deg, theme('colors.sky.600') 0%, theme('colors.sky.700') 100%) (kw-hover-deepen)` });+ }+ return out;+}+// (e)+const RETIRED_STOP = /#7a62f0(?![0-9a-f])/gi;+const retired = (at, line) => [...line.matchAll(RETIRED_STOP)].map((m) => `${at} ${m[0]} is the retired accent light stop (4.35:1 under white): use bg-accent-gradient / var(--accent-gradient), or #745bef`);++export function scan() {+ const out = [];+ for (const p of walk(src)) {+ const file = relative(root, p).split('\\').join('/');+ const text = readFileSync(p, 'utf8');+ if (file.endsWith('.css')) for (const h of cssBrightHovers(text)) out.push(`${file}:${h.line} ${h.msg}`);+ text.split('\n').forEach((line, i) => {+ const at = `${file}:${i + 1}`;+ out.push(...retired(at, line));+ for (const m of line.matchAll(hexRe)) {+ const h = m[0].slice(0, 7).toLowerCase();+ if (HEX.has(h) && !exempt(file, h)) {+ const [stock, n] = HEX.get(h).split('-');+ const fam = KWANT[stock];+ out.push(`${at} stock Tailwind ${HEX.get(h)} ${m[0]}: use kwant's ${fam}-${n} (class ${fam}-${n}, theme('colors.${fam}.${n}')) or a --kw-* token`);+ }+ }+ for (const m of line.matchAll(rgbRe)) {+ const h = RGB.get(`${+m[1]},${+m[2]},${+m[3]}`);+ if (h && !exempt(file, h)) out.push(`${at} stock Tailwind ${HEX.get(h)} as ${m[0]}): use kwant's ${HEX.get(h)} or a --kw-* token`);+ }+ for (const m of line.matchAll(classRe)) {+ const fam = m[1] ?? m[3];+ if (!exempt(file, m[0])) out.push(`${at} ${m[0]} is outside kwant's palette: use ${OFF[fam]}`);+ }+ if (!file.endsWith('.css') && !WHITE_EXEMPT.some((e) => e.at === at)) for (const msg of whiteOnLight(line)) out.push(`${at} ${msg}`);+ });+ }+ readFileSync(join(root, 'tailwind.config.js'), 'utf8').split('\n').forEach((line, i) => out.push(...retired(`tailwind.config.js:${i + 1}`, line)));+ return out;+}++test('frontend/src stays in the kwant palette (no stock zinc/sky hex, no off-theme colour families, no white on light lavender)', () => {+ const hits = scan();+ assert.deepEqual(hits, [], `${hits.length} place(s) bypass kwant's look:\n ${hits.join('\n ')}\n`);+});++test('the guard itself catches what it should and lets kwant tokens through', () => {+ const t = (s) => [...s.matchAll(classRe)].map((m) => m[0]);+ assert.deepEqual(t('bg-red-500/20 hover:text-slate-300 ring-blue-400 theme(\'colors.orange.400\')'), ['bg-red-500', 'text-slate-300', 'ring-blue-400', 'colors.orange.400']);+ assert.deepEqual(t('bg-rose-500 text-zinc-400 border-sky-400 bg-teal-300 text-bad text-ok'), []);+ assert.deepEqual(t('text-emerald-300 hover:bg-violet-500/80 accent-emerald-500 theme(colors.violet.400)'), ['text-emerald-300', 'bg-violet-500', 'accent-emerald-500', 'colors.violet.400']);+ assert.equal(HEX.get('#059669'), 'emerald-600');+ assert.equal(HEX.get('#a78bfa'), 'violet-400');+ assert.equal(HEX.get('#38bdf8'), 'sky-400');+ assert.equal(RGB.get('39,39,42'), '#27272a');+ assert.ok(!'#1d1840 #6c58e0 #9d8fff'.match(hexRe).some((h) => HEX.has(h)), 'kwant retinted values are fine');+ assert.ok(exempt('src/spaces.ts', '#0EA5E9') && !exempt('src/components/Sidebar.tsx', '#0ea5e9'));+ assert.ok(exempt('src/spaces.ts', '#10b981') && exempt('src/styles/tickets.css', '#c4b5fd') && !exempt('src/styles/tickets.css', '#a78bfa'));+ // (c) white text on a light lavender+ assert.equal(whiteOnLight("'bg-sky-500 text-white border-sky-400'").length, 1);+ assert.equal(whiteOnLight('bg-sky-500 hover:bg-sky-400 text-white').length, 2);+ assert.equal(whiteOnLight('bg-accent-gradient text-white hover:brightness-110').length, 1);+ assert.equal(whiteOnLight('bg-sky-600 text-white hover:bg-sky-700').length, 0);+ assert.equal(whiteOnLight('bg-sky-500/10 text-white disabled:hover:brightness-100').length, 0, 'tints and a no-op brightness are fine');+ assert.equal(whiteOnLight('bg-sky-500 text-zinc-950 hover:brightness-110').length, 0, 'only white text');+ assert.equal(whiteOnLight('kw-hover-deepen bg-accent-gradient text-white').length, 0);+ // (d) CSS hovers that brighten white text+ const css = `.a { color: #fff; background: x; }\n.a:hover { filter: brightness(1.08); }\n.b { color: #fff; }\n.b:hover:not(:disabled) { filter: brightness(108%); }\n.c:hover { filter: brightness(1.1); }\n.d { color: #fff; }\n.d:hover { filter: brightness(1); }\n.e { @apply text-white; }\n.e:hover { filter: saturate(1.2) brightness(1.2); }`;+ assert.deepEqual(cssBrightHovers(css).map((h) => h.line), [2, 4, 9], 'white base + brightness > 1 only');+ // (e) the retired stop, any case; the rgb tint is fine+ assert.equal(retired('x', 'from-[#7A62F0] #7a62f0 #745bef rgb(122 98 240 / 0.2)').length, 2);+});diff --git a/frontend/tests/missionAutofix.test.mjs b/frontend/tests/missionAutofix.test.mjsindex 080adbda..14adc0ef 100644--- a/frontend/tests/missionAutofix.test.mjs+++ b/frontend/tests/missionAutofix.test.mjs@@ -59,7 +59,7 @@ test('a failed task AutoFix is handling says so on its card and sits in Needs yoassert.equal(m.cardStatus(failed({ autofix: null }), names, NOW), 'A check failed (try 1 of 3)');const c = ui.card({ task: failed({ autofix: attempt({ status: 'scheduled' }) }), names, now: NOW, onOpen: noop });assert.match(c, /data-autofix-badge[^>]*><span[^>]*>AutoFix</);- assert.match(c, /text-violet-200[^>]*>AutoFix retries shortly/);+ assert.match(c, /text-sky-200[^>]*>AutoFix retries shortly/);assert.doesNotMatch(ui.card({ task: failed({ autofix: null }), names, now: NOW, onOpen: noop }), /data-autofix-badge/);});diff --git a/frontend/tests/mobileCards.test.mjs b/frontend/tests/mobileCards.test.mjsindex 43edb91d..b6aa4058 100644--- a/frontend/tests/mobileCards.test.mjs+++ b/frontend/tests/mobileCards.test.mjs@@ -97,7 +97,7 @@ test('approval card on a phone: header, one sentence, two key facts, details cloassert.match(b[0].attrs, /min-h-\[44px\]/);assert.match(b[1].attrs, /w-full/);assert.match(b[1].attrs, /min-h-\[48px\]/);- assert.match(b[1].attrs, /bg-\[#059669\]/);+ assert.match(b[1].attrs, /bg-teal-300 hover:bg-teal-200 .*text-zinc-950/);for (const x of b.slice(2)) assert.match(x.attrs, /min-h-\[44px\]/, x.label);// Allow once is the only child of its row; Deny and Always allow share the next one.assert.match(html, /data-approval-actions[^>]*>\s*<button[^>]*data-approval-allow[\s\S]*?<\/button>\s*<div class="grid gap-2 sm:flex grid-cols-2">/);diff --git a/frontend/tests/point.test.mjs b/frontend/tests/point.test.mjsindex cd9b28a4..8b6dcbb9 100644--- a/frontend/tests/point.test.mjs+++ b/frontend/tests/point.test.mjs@@ -181,7 +181,7 @@ test('layer: keyboard walks from the centre, Enter picks, Esc stops; announced ireq.calls[0].resolve({ type: 'ack', el: el() });await settle();assert.equal(host.querySelector('[data-point-tag]').textContent, 'button.pay 328 × 36');- assert.match(host.querySelector('[data-point-tag]').className, /\bbg-violet-600\b/, 'tag is violet-600 for AA (M1)');+ assert.match(host.querySelector('[data-point-tag]').className, /\bbg-sky-600\b/, 'tag is sky-600 for AA (M1)');assert.match(view.className, /focus-visible:ring-\[3px\] focus-visible:ring-sky-300/, 'view focus ring (S4)');assert.equal(host.querySelector('[data-point-live]').textContent, 'button.pay, 328 by 36, Pay €42.00');diff --git a/frontend/tests/sharedImages.test.mjs b/frontend/tests/sharedImages.test.mjsindex bfb6933f..1e785012 100644--- a/frontend/tests/sharedImages.test.mjs+++ b/frontend/tests/sharedImages.test.mjs@@ -397,7 +397,7 @@ test('ChatView: tap targets and focus ring on shared tiles (Mira 2, 3, 4, 5, 7,assert.match(dl.querySelector('span').className, /sr-only/);const thumb = tile.querySelector('[data-image-thumb]');assert.match(thumb.className, /focus-visible:outline-offset-\[-2px\]/, 'ring drawn inside the clipped figure');- assert.match(thumb.className, /focus-visible:outline-violet-400/);+ assert.match(thumb.className, /focus-visible:outline-sky-400/);assert.match(tile.parentElement.className, /w-full sm:w-auto/, 'full bubble width on phone');flushSync(() => toggle.click());const chips = [...v.host.querySelectorAll('[data-earlier-copy] [data-download]')];diff --git a/frontend/tests/smartResults.test.mjs b/frontend/tests/smartResults.test.mjsindex 73cb0520..5d96dfc0 100644--- a/frontend/tests/smartResults.test.mjs+++ b/frontend/tests/smartResults.test.mjs@@ -360,7 +360,7 @@ test('pros and cons columns: tinted headers, and short lists in the stacked cardconst { reply, results } = m.FIXTURES.comparison;const v = await mount(h(m.MarkdownRenderer, { content: reply, results, messageId: 'mc' }));assert.ok(v.host.querySelector('[data-smart-result="comparison"]'), 'the fixture renders');- assert.match(header(v.host, 'Pros').querySelector('button').className, /text-emerald-300/);+ assert.match(header(v.host, 'Pros').querySelector('button').className, /text-ok/);assert.match(header(v.host, 'Cons').querySelector('button').className, /text-rose-300/);const card = v.host.querySelectorAll('[data-smart-result="comparison"] > div.sm\\:hidden > ul > li')[1];assert.deepEqual([...card.querySelectorAll('dd ul li')].map((li) => li.textContent), ['Preview builds', 'EU region', 'chat support']);diff --git a/frontend/tests/toolFailures.test.mjs b/frontend/tests/toolFailures.test.mjsindex 7ca901d9..8ff3add2 100644--- a/frontend/tests/toolFailures.test.mjs+++ b/frontend/tests/toolFailures.test.mjs@@ -67,7 +67,7 @@ test('F3: a needs-you line is brighter, its button amber, and a screen reader hetest('F4: a resolved line ends in a green "It works again." with a plugged icon, never amber', () => {const fixed = ui.line({ meta: m.parseToolFailureMeta(meta({ resolved_at: '2026-11-12T18:00:00Z' })), onFix: () => {} });assert.match(fixed, /^<div[^>]*text-zinc-400/);- assert.match(fixed, /<span class="text-emerald-400"> It works again\.<\/span>/);+ assert.match(fixed, /<span class="text-ok"> It works again\.<\/span>/);assert.match(fixed, /lucide-plug[^-]/);assert.doesNotMatch(fixed, /lucide-unplug/);assert.match(fixed, /<svg[^>]*text-zinc-500/);