Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(ui): soften the interface without changing its layout
EtienneLescot316adc4e8b0b
diff --git a/AGENTS.md b/AGENTS.mdindex 4ec2b4487..dd3005075 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -121,7 +121,7 @@ This section is the *mechanics*. **What to actually run is [`technical-documenta- The HUD is what opens the editor (clapper icon, tooltip *Open Studio*), so without that flag a whole slice of the app is unreachable from automation: killing the app to redeploy a native addon leaves you unable to reopen a project.- Frameless, transparent, always-on-top, `skipTaskbar`, centered at the **bottom of the primary display** (`createHudOverlayWindow`, 820×560 at construction, then resized to fit its content — measured 904×698 with the bar at the bottom and mostly empty reserve above it). It is **click-through** (`setIgnoreMouseEvents(ignore)`): moving the real cursor over an interactive control makes that region clickable and shows its tooltip, so `mouse_move` → screenshot → `left_click` works; a blind click on empty HUD area passes through to the desktop.- **Only a real OS mouse move reaches the HUD — on macOS as much as on Windows.** While the window is input-transparent Chromium delivers it no pointer events at all, so the main process samples the OS cursor instead: the `hud-overlay-cursor` poll in `electron/windows.ts` reads `screen.getCursorScreenPoint()` while the HUD is click-through and pushes the window-relative point to the renderer, which hit-tests it with `elementFromPoint(…).closest("[data-hud-interactive='true']")`. One path, both platforms — there is no platform branch. **Linux is the exception** (`!enabled && !isLinuxHud` in `LaunchWindow.tsx`, where the call is a no-op), so it is the one platform where a blind click on the HUD simply lands. What the poll keys off is the OS cursor's position *relative to the window*, so a resize or re-anchor that slides the bar under a motionless pointer produces a fresh sample too. What it can never key off is synthesised input: Playwright's `.click()`, `javascript_tool`-dispatched pointer events and everything like them move no pointer at all, so they never put one on a control. They arrive *below* the OS hit-test, fire the DOM handler, and look like they worked — while the click-through path was never exercised at all. `tests/e2e/windows-native-checklist.spec.ts` does click HUD test IDs and stays green for exactly that reason; it proves renderer wiring, not reachability, and a macOS spec written the same way would prove no more. Use computer-use (`mouse_move` → `left_click`), and never conclude from a passing injected click that a user could have clicked it. (Until #385 the lift was Electron's `{ forward: true }` — a global `WH_MOUSE_LL` hook on Windows — which Windows can revoke without telling the app, leaving the HUD painted and permanently dead. The poll replaced it. The rule for you is unchanged, because both mechanisms key off the real cursor.)-- Control row (left→right): layout preset, **source** button (`Screen`/`Window` → label becomes the picked source), system-audio toggle, mic toggle, **webcam toggle** (shows the detected camera name), cursor-highlight toggle, **record**, notes, open-editor, language, minimize, close. The record button is disabled until a source is chosen (tooltip: "Please select a source to record").+- Control row (left→right): layout preset, **source** button (`Screen`/`Window` → label becomes the picked source), system-audio toggle, mic toggle, **webcam toggle** (shows the detected camera name), cursor-highlight toggle, **record**, notes, open-editor, language, minimize, close. The record button is disabled until a source is chosen (tooltip: "Choose a screen or window to record").**The tray icon** (bottom-right notification area)diff --git a/src/App.tsx b/src/App.tsxindex 2d4dd051c..01f0a6f73 100644--- a/src/App.tsx+++ b/src/App.tsx@@ -167,7 +167,7 @@ export default function App() {return (<TooltipProvider>{showNotes ? <NotesWindow /> : content}- <Toaster theme="dark" />+ <Toaster /></TooltipProvider>);}diff --git a/src/components/ai-edition/CaptionsPane.tsx b/src/components/ai-edition/CaptionsPane.tsxindex 97276bcd1..815419621 100644--- a/src/components/ai-edition/CaptionsPane.tsx+++ b/src/components/ai-edition/CaptionsPane.tsx@@ -288,7 +288,7 @@ export function CaptionsPane({ onClose }: { onClose?: () => void } = {}) {}}><Loader2 size={14} className="animate-spin" />- {busyLabel ?? t("captions.transcribing")}+ {busyLabel ?? t("transcript.transcribing")}</p>) : null}</div>diff --git a/src/components/ai-edition/ChatWelcome.tsx b/src/components/ai-edition/ChatWelcome.tsxindex c88911183..bc02bb50a 100644--- a/src/components/ai-edition/ChatWelcome.tsx+++ b/src/components/ai-edition/ChatWelcome.tsx@@ -35,11 +35,11 @@ export function ChatWelcome({ onOpenProviderSettings }: ChatWelcomeProps) {<button type="button" className={styles.chatWelcomeCta} onClick={onOpenProviderSettings}>{t("chat.welcome.cta")}- <ArrowRight size={14} />+ <ArrowRight size={16} /></button><p className={styles.chatWelcomeDisclaimer}>- <Info size={12} className={styles.chatWelcomeDisclaimerIcon} aria-hidden="true" />+ <Info size={14} className={styles.chatWelcomeDisclaimerIcon} aria-hidden="true" /><span>{t("chat.welcome.disclaimer")}</span></p></div>diff --git a/src/components/ai-edition/ColorField.tsx b/src/components/ai-edition/ColorField.tsxindex a64de2ece..2b2d2aae6 100644--- a/src/components/ai-edition/ColorField.tsx+++ b/src/components/ai-edition/ColorField.tsx@@ -2,6 +2,7 @@ import * as Popover from "@radix-ui/react-popover";import Colorful from "@uiw/react-color-colorful";import { useEffect, useState } from "react";import { useScopedT } from "@/contexts/I18nContext";+import styles from "./NewEditorShell.module.css";/*** Un champ de couleur : une pastille qui ouvre le sélecteur.@@ -94,12 +95,12 @@ export function ColorField({aria-label={label}disabled={disabled}style={{- width: 40,- height: 28,- padding: 3,- borderRadius: 8,- border: "1px solid var(--border-hi)",- background: "var(--surface)",+ width: 44,+ height: 34,+ padding: 4,+ borderRadius: 10,+ border: "1px solid transparent",+ background: "color-mix(in oklab, var(--fg) 7%, var(--surface-1))",cursor: disabled ? "default" : "pointer",opacity: disabled ? 0.5 : 1,}}@@ -109,7 +110,7 @@ export function ColorField({display: "block",width: "100%",height: "100%",- borderRadius: 5,+ borderRadius: 7,background: value,boxShadow: "inset 0 0 0 1px rgb(0 0 0 / 0.25)",}}@@ -156,16 +157,9 @@ export function ColorField({if (HEX_COMPLETE.test(normalised)) onChange(normalised);}}onBlur={() => onCommit?.()}- style={{- height: 30,- padding: "0 8px",- borderRadius: 8,- border: "1px solid var(--border)",- background: "var(--surface)",- color: "var(--fg)",- font: "500 12px var(--font-mono, ui-monospace), monospace",- textTransform: "lowercase",- }}+ className={styles.control}+ // Mono stays: a hex code.+ style={{ fontFamily: "var(--font-mono)", textTransform: "lowercase" }}/><divaria-label={ts("annotation.colorPalette")}@@ -180,8 +174,8 @@ export function ColorField({aria-pressed={value.toLowerCase() === preset.toLowerCase()}onClick={() => pick(preset)}style={{- height: 18,- borderRadius: 5,+ height: 20,+ borderRadius: 6,background: preset,border:value.toLowerCase() === preset.toLowerCase()diff --git a/src/components/ai-edition/EditorEmptyState.test.tsx b/src/components/ai-edition/EditorEmptyState.test.tsxindex be7f130b7..b7d4902a0 100644--- a/src/components/ai-edition/EditorEmptyState.test.tsx+++ b/src/components/ai-edition/EditorEmptyState.test.tsx@@ -127,10 +127,8 @@ describe("EditorEmptyState (new editor)", () => {it("shows both import + open-project buttons when no project is loaded", () => {renderWithI18n(<EditorEmptyState hasProject={false} />);- expect(screen.getByText(/no project open/i)).toBeInTheDocument();- expect(- screen.getByRole("button", { name: /new project \+ import video/i }),- ).toBeInTheDocument();+ expect(screen.getByText(/start with a recording/i)).toBeInTheDocument();+ expect(screen.getByRole("button", { name: /import a video/i })).toBeInTheDocument();expect(screen.getByRole("button", { name: /open project/i })).toBeInTheDocument();});@@ -197,7 +195,7 @@ describe("EditorEmptyState (new editor)", () => {renderWithI18n(<EditorEmptyState hasProject={false} />);await act(async () => {- fireEvent.click(screen.getByRole("button", { name: /new project \+ import video/i }));+ fireEvent.click(screen.getByRole("button", { name: /import a video/i }));});await waitFor(() => {@@ -233,7 +231,7 @@ describe("EditorEmptyState (new editor)", () => {renderWithI18n(<EditorEmptyState hasProject={false} />);const file = new File([new Uint8Array([0, 1, 2])], "recording.mp4", { type: "video/mp4" });- const dropZone = screen.getByText(/no project open/i).parentElement?.parentElement+ const dropZone = screen.getByText(/start with a recording/i).parentElement?.parentElement?.parentElement as HTMLElement;expect(dropZone).toBeTruthy();@@ -245,7 +243,7 @@ describe("EditorEmptyState (new editor)", () => {});await waitFor(() => {- expect(screen.getByText(/unsupported format/i)).toBeInTheDocument();+ expect(screen.getByText(/unsupported file/i)).toBeInTheDocument();});});});diff --git a/src/components/ai-edition/ExportDialog.cancel.test.tsx b/src/components/ai-edition/ExportDialog.cancel.test.tsxindex ea573be11..8d2403b9c 100644--- a/src/components/ai-edition/ExportDialog.cancel.test.tsx+++ b/src/components/ai-edition/ExportDialog.cancel.test.tsx@@ -193,7 +193,7 @@ describe("GIF export cancellation", () => {await waitFor(() => expect(screen.getByText("cancel ipc failed")).toBeVisible());expect(toast.error).toHaveBeenCalledWith("cancel ipc failed");expect(toast.success).not.toHaveBeenCalled();- expect(screen.queryByText(/Rendering frames/i)).not.toBeInTheDocument();+ expect(screen.queryByText(/Exporting your video/i)).not.toBeInTheDocument();});it("reports success when native publication wins the race", async () => {diff --git a/src/components/ai-edition/ExportDialog.tsx b/src/components/ai-edition/ExportDialog.tsxindex 7ccaf625b..9ee343dc0 100644--- a/src/components/ai-edition/ExportDialog.tsx+++ b/src/components/ai-edition/ExportDialog.tsx@@ -521,17 +521,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {{format === "mp4" ? (<section>- <div- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- marginBottom: 8,- }}- >- {t("exportDialog.quality")}- </div>+ <div className={styles.groupLabel}>{t("exportDialog.quality")}</div><div style={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: 8 }}>{QUALITY_OPTIONS.map((q) => (<button@@ -544,9 +534,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {flexDirection: "column",gap: 2,padding: "10px 12px",- border: `1px solid ${quality === q.value ? "var(--accent)" : "var(--border)"}`,- borderRadius: 10,- background: quality === q.value ? "var(--accent-wash)" : "var(--surface)",+ ...choiceStyle(quality === q.value),color: "var(--fg-2)",cursor: "pointer",font: "500 13px/1 var(--font-body)",@@ -569,7 +557,8 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {return (<spanstyle={{- font: "500 11px var(--font-body)",+ font: "500 12px var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: isUpscale ? "var(--warn)" : "var(--muted)",}}>@@ -590,17 +579,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {}}><div>- <div- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- marginBottom: 8,- }}- >- {t("exportDialog.frameRate")}- </div>+ <div className={styles.groupLabel}>{t("exportDialog.frameRate")}</div><div style={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: 6 }}>{([24, 30, 60] as const).map((r) => (<button@@ -616,17 +595,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {</div></div><div>- <div- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- marginBottom: 8,- }}- >- {t("exportDialog.codec")}- </div>+ <div className={styles.groupLabel}>{t("exportDialog.codec")}</div><divstyle={{display: "grid",@@ -666,17 +635,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {) : (<section style={{ display: "flex", flexDirection: "column", gap: 12 }}><div>- <div- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- marginBottom: 8,- }}- >- {t("exportDialog.frameRate")}- </div>+ <div className={styles.groupLabel}>{t("exportDialog.frameRate")}</div><div style={{ display: "grid", gridTemplateColumns: "repeat(4, 1fr)", gap: 6 }}>{GIF_FRAME_RATES.map((r) => (<button@@ -692,17 +651,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {</div></div><div>- <div- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- marginBottom: 8,- }}- >- {t("exportDialog.size")}- </div>+ <div className={styles.groupLabel}>{t("exportDialog.size")}</div><div style={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: 6 }}>{(Object.keys(GIF_SIZE_PRESETS) as GifSizePreset[]).map((s) => (<button@@ -729,9 +678,9 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {</div><divstyle={{- font: "500 11px/1.4 var(--font-mono)",+ font: "500 12px/1.4 var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: "var(--muted)",- letterSpacing: "0.04em",}}>{gifFrameRate} FPS · {gifSizeLabel} ·{" "}@@ -764,11 +713,15 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {// wait reads as a hang.<pdata-testid="export-cpu-warning"+ // Amber as a tint, not as the text colour: --warn text is ~2:1 on the light theme.style={{margin: "0 0 4px",+ padding: "10px 12px",+ borderRadius: 10,+ background: "var(--warn-soft)",fontSize: "0.8125rem",lineHeight: 1.4,- color: "var(--text-muted, rgb(0 0 0 / 0.65))",+ color: "var(--fg-2)",}}>{t("cpuCompositor.exportWarning")}@@ -846,13 +799,11 @@ function FormatToggle({justifyContent: "center",gap: 8,padding: "12px 16px",- border: `1px solid ${active ? "var(--accent)" : "var(--border)"}`,- borderRadius: 10,- background: active ? "var(--accent-wash)" : "var(--surface)",- // Selection is conveyed by border + wash background (like the quality+ ...choiceStyle(active),+ // Selection is conveyed by border + tinted background (like the quality// cards below), not by swapping text color -- `--accent-on` is meant- // for text on a SOLID accent fill, and paired with the near-transparent- // `--accent-wash` it read as near-invisible dark-on-dark text.+ // for text on a SOLID accent fill, and paired with a near-transparent+ // tint it read as near-invisible dark-on-dark text.color: "var(--fg)",cursor: "pointer",font: "600 14px/1 var(--font-body)",@@ -891,11 +842,10 @@ function ProgressBlock({<divstyle={{padding: "16px",- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface-1)",+ borderRadius: 12,+ background: "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--muted)",- font: "500 12px var(--font-body)",+ font: "500 13px var(--font-body)",textAlign: "center",}}>@@ -909,7 +859,7 @@ function ProgressBlock({style={{padding: "16px",border: "1px solid var(--brand)",- borderRadius: 10,+ borderRadius: 12,background: "var(--success-soft)",color: "var(--fg-2)",font: "500 12px var(--font-body)",@@ -987,7 +937,7 @@ function ProgressBlock({style={{padding: "16px",border: "1px solid var(--danger)",- borderRadius: 10,+ borderRadius: 12,background: "var(--danger-soft)",color: "var(--danger)",font: "500 12px var(--font-body)",@@ -1004,9 +954,8 @@ function ProgressBlock({<divstyle={{padding: "12px 14px",- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface-1)",+ borderRadius: 12,+ background: "color-mix(in oklab, var(--fg) 5%, transparent)",display: "flex",flexDirection: "column",gap: 8,@@ -1019,13 +968,14 @@ function ProgressBlock({justifyContent: "space-between",}}>- <span style={{ font: "500 12px var(--font-body)", color: "var(--fg-2)" }}>+ <span style={{ font: "500 13px var(--font-body)", color: "var(--fg-2)" }}>{phase === "writing" ? t("exportDialog.writingFile") : t("exportDialog.renderingFrames")}</span><spanstyle={{- font: "500 12px/1 var(--font-mono)",- color: "var(--brand)",+ font: "600 13px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--fg)",}}>{Math.round(pct)}%@@ -1052,9 +1002,9 @@ function ProgressBlock({</div><divstyle={{- font: "500 11px/1.4 var(--font-mono)",+ font: "400 12px/1.4 var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: "var(--muted)",- letterSpacing: "0.04em",}}>{total > 0@@ -1065,14 +1015,24 @@ function ProgressBlock({);}+/** The one selected look, shared by every choice in this dialog: accent border + accent-soft+ * fill when picked, a soft fill otherwise. The segments used to go solid mint while the cards+ * above them were tinted — two ways of saying "selected" on one screen. */+function choiceStyle(active: boolean): React.CSSProperties {+ return {+ border: `1px solid ${active ? "var(--accent)" : "transparent"}`,+ borderRadius: 10,+ background: active ? "var(--accent-soft)" : "color-mix(in oklab, var(--fg) 5%, transparent)",+ };+}+function segStyle(active: boolean): React.CSSProperties {return {- padding: "8px 10px",- border: `1px solid ${active ? "var(--accent)" : "var(--border)"}`,- borderRadius: 8,- background: active ? "var(--brand)" : "var(--bg)",- color: active ? "var(--accent-on)" : "var(--fg-2)",+ padding: "10px 12px",+ ...choiceStyle(active),+ color: active ? "var(--fg)" : "var(--fg-2)",cursor: "pointer",- font: "500 12px/1 var(--font-body)",+ font: `${active ? 600 : 500} 13px/1 var(--font-body)`,+ fontVariantNumeric: "tabular-nums",};}diff --git a/src/components/ai-edition/LeftPanel.tsx b/src/components/ai-edition/LeftPanel.tsxindex 8f88aa080..0be40aa18 100644--- a/src/components/ai-edition/LeftPanel.tsx+++ b/src/components/ai-edition/LeftPanel.tsx@@ -144,7 +144,7 @@ function ModelQuickPopover({flexDirection: "column",background: "var(--surface)",border: "1px solid var(--border)",- borderRadius: "var(--r-md)",+ borderRadius: 12,boxShadow: "var(--elev-pop)",zIndex: 1000,overflow: "hidden",@@ -170,26 +170,20 @@ function ModelQuickPopover({border: "none",color: "var(--fg-2)",cursor: "pointer",- fontSize: 12.5,+ fontSize: 13,padding: 0,}}>- <ArrowLeft size={14} />+ <ArrowLeft size={16} />{screen === "models" ? t("chat.changeProvider") : t("chat.back")}</button><buttontype="button"onClick={onClose}aria-label={tc("actions.close")}- style={{- background: "transparent",- border: "none",- color: "var(--muted)",- cursor: "pointer",- padding: 0,- }}+ className={styles.iconBtn}>- <X size={14} />+ <X size={16} /></button></div><div style={{ overflowY: "auto", padding: 10, minHeight: 0, flex: 1 }}>@@ -199,7 +193,7 @@ function ModelQuickPopover({<div style={{ fontWeight: 600, fontSize: 13 }}>{browseDef?.label ?? browseProviderId}</div>- <div style={{ fontSize: 11.5, color: "var(--muted)" }}>+ <div style={{ fontSize: 12, color: "var(--muted)" }}>{t("chat.currentModel")}{" "}{browseProviderId === llmConfig.provider? llmConfig.model@@ -211,15 +205,8 @@ function ModelQuickPopover({onChange={(e) => setSearch(e.target.value)}placeholder={modelsLoading ? t("chat.loadingModels") : t("chat.searchModels")}disabled={modelsLoading || !models.length}- style={{- width: "100%",- padding: "6px 8px",- marginBottom: 8,- borderRadius: "var(--r-sm)",- border: "1px solid var(--border)",- background: "var(--bg)",- color: "var(--fg)",- }}+ className={styles.control}+ style={{ width: "100%", marginBottom: 8 }}/>{!models.length ? (<div style={{ fontSize: 12, color: "var(--muted)", padding: "8px 0" }}>@@ -247,11 +234,11 @@ function ModelQuickPopover({borderRadius: "var(--r-sm)",background:candidate === llmConfig.model && browseProviderId === llmConfig.provider- ? "var(--surface-3)"+ ? "var(--accent-soft)": "transparent",color: "var(--fg)",cursor: "pointer",- fontSize: 12.5,+ fontSize: 13,marginBottom: 2,}}>@@ -291,14 +278,14 @@ function ModelQuickPopover({border: "none",borderRadius: "var(--r-sm)",background:- providerId === browseProviderId ? "var(--surface-3)" : "transparent",+ providerId === browseProviderId ? "var(--accent-soft)" : "transparent",color: "var(--fg)",cursor: "pointer",marginBottom: 4,}}>- <strong style={{ fontSize: 12.5 }}>{def.label}</strong>- <span style={{ fontSize: 11, color: "var(--muted)" }}>+ <strong style={{ fontSize: 13 }}>{def.label}</strong>+ <span style={{ fontSize: 12, color: "var(--muted)" }}>{providerId === llmConfig.provider ? llmConfig.model : def.defaultModel}</span></button>@@ -315,19 +302,8 @@ function ModelQuickPopover({onClose();onOpenFullSettings();}}- style={{- display: "flex",- alignItems: "center",- gap: 6,- width: "100%",- padding: "8px 10px",- border: "1px solid var(--border-soft)",- borderRadius: "var(--r-sm)",- background: "transparent",- color: "var(--fg-2)",- cursor: "pointer",- marginTop: 6,- }}+ className={`${styles.btn} ${styles.btnSecondary}`}+ style={{ width: "100%", marginTop: 6 }}>{t("chat.providerSettings")}</button>@@ -378,7 +354,7 @@ function ThinkingBlock({padding: "6px 8px",marginBottom: 4,color: expanded ? "var(--fg-2)" : "var(--muted)",- font: "400 11px/1.5 var(--font-body)",+ font: "400 12px/1.5 var(--font-body)",cursor: "pointer",}}>@@ -389,7 +365,7 @@ function ThinkingBlock({gap: 4,marginBottom: expanded ? 4 : 0,color: "var(--muted)",- font: "500 10px/1 var(--font-mono)",+ font: "600 12px/1.3 var(--font-body)",}}><svg@@ -419,7 +395,7 @@ function ThinkingBlock({overflow: "auto",whiteSpace: "pre-wrap",wordBreak: "break-word",- font: "400 11px/1.5 var(--font-mono)",+ font: "400 12px/1.5 var(--font-body)",}}>{text}@@ -1193,17 +1169,11 @@ export function ChatStripPanel() {const current = sessions.find((s) => s.id === activeSessionId);if (current) beginEditTitle(activeSessionId, current.title);}}- style={{- background: "transparent",- border: 0,- color: "var(--meta)",- cursor: "pointer",- padding: 2,- }}+ className={styles.iconBtn}><svg- width={12}- height={12}+ width={14}+ height={14}viewBox="0 0 24 24"fill="none"stroke="currentColor"@@ -1226,17 +1196,11 @@ export function ChatStripPanel() {void handleDelete(activeSessionId);}}}- style={{- background: "transparent",- border: 0,- color: "var(--meta)",- cursor: "pointer",- padding: 2,- }}+ className={styles.iconBtn}><svg- width={12}- height={12}+ width={14}+ height={14}viewBox="0 0 24 24"fill="none"stroke="currentColor"@@ -1281,7 +1245,11 @@ export function ChatStripPanel() {{m.time ? (<spanclassName="right"- style={{ font: "500 10px/1 var(--font-mono)", color: "var(--muted)" }}+ style={{+ font: "500 11px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--muted)",+ }}>{m.time}</span>@@ -1306,7 +1274,15 @@ export function ChatStripPanel() {label={t("chat.thinking")}/>) : null}- <div className={styles.msgBubble}>{m.content}</div>+ <div+ className={+ m.role === "user"+ ? `${styles.msgBubble} ${styles.msgBubbleUser}`+ : styles.msgBubble+ }+ >+ {m.content}+ </div><divstyle={{display: "flex",@@ -1333,22 +1309,11 @@ export function ChatStripPanel() {},});}}- style={{- width: 22,- height: 22,- display: "inline-flex",- alignItems: "center",- justifyContent: "center",- background: "transparent",- border: "1px solid var(--border-soft)",- borderRadius: "var(--r-sm)",- color: "var(--fg-2)",- cursor: "pointer",- }}+ className={styles.iconBtn}><svg- width={12}- height={12}+ width={14}+ height={14}viewBox="0 0 24 24"fill="none"stroke="currentColor"@@ -1371,22 +1336,11 @@ export function ChatStripPanel() {() => toast.error(t("chat.copyFailed")),);}}- style={{- width: 22,- height: 22,- display: "inline-flex",- alignItems: "center",- justifyContent: "center",- background: "transparent",- border: "1px solid var(--border-soft)",- borderRadius: "var(--r-sm)",- color: "var(--fg-2)",- cursor: "pointer",- }}+ className={styles.iconBtn}><svg- width={12}- height={12}+ width={14}+ height={14}viewBox="0 0 24 24"fill="none"stroke="currentColor"@@ -1405,7 +1359,7 @@ export function ChatStripPanel() {<divkey={j}style={{- font: "500 10px/1.5 var(--font-mono)",+ font: "500 12px/1.5 var(--font-body)",color: "var(--success)",}}>@@ -1505,7 +1459,10 @@ export function ChatStripPanel() {<line x1="3" y1="12" x2="21" y2="12" /><line x1="3" y1="18" x2="21" y2="18" /></svg>- <span>{modelLabel}</span>+ {/* Mono is for the model ID; the "set one up" prompt is words. */}+ <span style={llmConfig ? undefined : { fontFamily: "var(--font-body)" }}>+ {modelLabel}+ </span></button>{reasoningLabel ? (<button@@ -1556,11 +1513,11 @@ export function ChatStripPanel() {padding: "6px 10px",border: "none",background:- option === currentReasoningEffort ? "var(--surface-3)" : "transparent",+ option === currentReasoningEffort ? "var(--accent-soft)" : "transparent",color: "var(--fg)",borderRadius: "var(--r-sm)",cursor: "pointer",- fontSize: 12.5,+ fontSize: 13,}}>{getReasoningEffortLabel(llmConfig?.provider ?? "", option)}@@ -1626,7 +1583,7 @@ export function ChatStripPanel() {width: 260,background: "var(--surface)",border: "1px solid var(--border)",- borderRadius: "var(--r-md)",+ borderRadius: 12,boxShadow: "var(--elev-pop)",padding: 12,zIndex: 1000,@@ -1648,30 +1605,14 @@ export function ChatStripPanel() {<buttontype="button"onClick={() => setRewindFor(null)}- style={{- padding: "4px 10px",- background: "transparent",- border: "1px solid var(--border-soft)",- borderRadius: "var(--r-sm)",- color: "var(--fg-2)",- font: "500 12px var(--font-body)",- cursor: "pointer",- }}+ className={`${styles.btn} ${styles.btnSecondary}`}>{tc("actions.cancel")}</button><buttontype="button"onClick={() => void confirmRewind(rewindFor.messageId)}- style={{- padding: "4px 10px",- background: "var(--accent)",- border: "1px solid var(--accent)",- borderRadius: "var(--r-sm)",- color: "var(--accent-on)",- font: "500 12px var(--font-body)",- cursor: "pointer",- }}+ className={`${styles.btn} ${styles.btnPrimary}`}>{t("chat.rewindConfirm")}</button>diff --git a/src/components/ai-edition/Modals.tsx b/src/components/ai-edition/Modals.tsxindex f24500224..7bdac0532 100644--- a/src/components/ai-edition/Modals.tsx+++ b/src/components/ai-edition/Modals.tsx@@ -154,17 +154,8 @@ export function OpenProjectModal({placeholder={t("openProjectDialog.searchPlaceholder")}value={query}onChange={(e) => setQuery(e.target.value)}- style={{- flex: 1,- height: 36,- padding: "0 12px",- border: "1px solid var(--border)",- borderRadius: "var(--r-md)",- background: "var(--surface)",- color: "var(--fg)",- font: "400 13px/1 var(--font-body)",- outline: "none",- }}+ className={styles.control}+ style={{ flex: 1 }}/></div><div@@ -216,7 +207,7 @@ export function OpenProjectModal({</div><divstyle={{- font: "400 11px/1.4 var(--font-body)",+ font: "400 12px/1.4 var(--font-body)",color: "var(--muted)",marginTop: 2,}}@@ -263,7 +254,7 @@ export function OpenProjectModal({padding: "10px 12px",border: "none",borderRadius: "var(--r-md)",- background: isActive ? "var(--accent-wash)" : "transparent",+ background: isActive ? "var(--accent-soft)" : "transparent",boxShadow: isActive ? "inset 0 0 0 1px var(--accent)" : "none",color: "var(--fg)",cursor: "pointer",@@ -307,8 +298,9 @@ export function OpenProjectModal({</div><spanstyle={{- font: "400 11px/1 var(--font-mono)",- color: "var(--meta)",+ font: "400 12px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--muted)",whiteSpace: "nowrap",}}>@@ -403,15 +395,7 @@ export function NewProjectModal({ open, onClose, onCreate }: NewProjectModalProp><div style={{ display: "flex", flexDirection: "column", gap: 16 }}><div style={{ display: "flex", flexDirection: "column", gap: 6 }}>- <label- htmlFor="np-name"- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- }}- >+ <label htmlFor="np-name" className={styles.groupLabel} style={{ margin: 0 }}>{t("newProjectDialog.nameLabel")}</label><input@@ -419,27 +403,12 @@ export function NewProjectModal({ open, onClose, onCreate }: NewProjectModalProptype="text"value={title}onChange={(e) => setTitle(e.target.value)}- style={{- height: 36,- padding: "0 12px",- border: "1px solid var(--border)",- borderRadius: "var(--r-md)",- background: "var(--surface)",- color: "var(--fg)",- font: "400 13px/1 var(--font-body)",- }}+ className={styles.control}/></div><div style={{ display: "flex", flexDirection: "column", gap: 6 }}>- <label- style={{- font: "500 11px/1 var(--font-body)",- textTransform: "uppercase",- letterSpacing: "0.06em",- color: "var(--muted)",- }}- >+ <label className={styles.groupLabel} style={{ margin: 0 }}>{t("newProjectDialog.startingPointLabel")}</label><div@@ -522,10 +491,11 @@ function TemplateCell({alignItems: "flex-start",gap: 8,padding: 12,- border: `1px solid ${active ? "var(--accent)" : "var(--border)"}`,- borderRadius: "var(--r-md)",- background: active ? "var(--accent-wash)" : "var(--surface)",- boxShadow: active ? "0 0 0 1px var(--accent)" : "none",+ border: `1px solid ${active ? "var(--accent)" : "transparent"}`,+ borderRadius: 12,+ background: active+ ? "var(--accent-soft)"+ : "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--fg)",cursor: "pointer",textAlign: "left",@@ -546,7 +516,7 @@ function TemplateCell({{icon}</span><span style={{ font: "500 13px/1.3 var(--font-body)" }}>{title}</span>- <span style={{ font: "400 11px/1.4 var(--font-body)", color: "var(--muted)" }}>{desc}</span>+ <span style={{ font: "400 12px/1.4 var(--font-body)", color: "var(--muted)" }}>{desc}</span></button>);}@@ -618,16 +588,7 @@ function CropField({const [draft, setDraft] = useState<string | null>(null);return (<div style={{ display: "flex", flexDirection: "column", gap: 4, minWidth: 0 }}>- <label- style={{- font: "600 10px/1 var(--font-mono)",- letterSpacing: "0.04em",- textTransform: "uppercase",- color: "var(--muted)",- }}- >- {label}- </label>+ <label style={{ font: "600 12px/1.3 var(--font-body)", color: "var(--fg-2)" }}>{label}</label><inputtype="number"value={draft ?? displayPct(value)}@@ -641,16 +602,8 @@ function CropField({const parsed = Number(e.target.value);if (e.target.value !== "" && Number.isFinite(parsed)) onChange(parsed);}}- style={{- width: "100%",- padding: "8px 10px",- font: "500 14px/1 var(--font-mono)",- color: "var(--fg-2)",- background: "var(--surface)",- border: "1px solid var(--border)",- borderRadius: 6,- outline: "none",- }}+ className={styles.control}+ style={{ width: "100%", fontVariantNumeric: "tabular-nums" }}/></div>);@@ -1131,7 +1084,8 @@ export function EditClipModal({style={{display: "flex",justifyContent: "space-between",- font: "500 10px/1.4 var(--font-mono)",+ font: "500 11px/1.4 var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: "var(--muted)",marginBottom: 4,}}@@ -1272,29 +1226,14 @@ export function EditClipModal({onChange={applyCropH}/><div style={{ display: "flex", flexDirection: "column", gap: 4, minWidth: 110 }}>- <label- style={{- font: "600 10px/1 var(--font-mono)",- letterSpacing: "0.04em",- textTransform: "uppercase",- color: "var(--muted)",- }}- >+ <label style={{ font: "600 12px/1.3 var(--font-body)", color: "var(--fg-2)" }}>{ts("crop.ratio")}</label><selectvalue={cropRatio}onChange={(e) => handleCropRatioChange(e.target.value)}- style={{- width: "100%",- padding: "8px 10px",- font: "500 13px/1 var(--font-body)",- color: "var(--fg-2)",- background: "var(--surface)",- border: "1px solid var(--border)",- borderRadius: 6,- outline: "none",- }}+ className={styles.control}+ style={{ width: "100%" }}>{CROP_RATIOS.map((r) => (<option key={r.value} value={r.value}>@@ -1305,7 +1244,8 @@ export function EditClipModal({</div><spanstyle={{- font: "500 11px/1 var(--font-mono)",+ font: "500 12px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: "var(--muted)",alignSelf: "center",whiteSpace: "nowrap",@@ -1361,8 +1301,16 @@ export function EditClipModal({function RangeStat({ label, value, testId }: { label: string; value: string; testId?: string }) {return (<div data-testid={testId} style={{ display: "flex", flexDirection: "column", gap: 2 }}>- <strong style={{ font: "600 15px/1.2 var(--font-mono)", color: "var(--fg)" }}>{value}</strong>- <small style={{ font: "500 10px/1.4 var(--font-body)", color: "var(--muted)" }}>+ <strong+ style={{+ font: "600 15px/1.2 var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--fg)",+ }}+ >+ {value}+ </strong>+ <small style={{ font: "500 12px/1.4 var(--font-body)", color: "var(--muted)" }}>{label}</small></div>@@ -1387,14 +1335,17 @@ export function UnsavedChangesModal({const td = useScopedT("dialogs");const tc = useScopedT("common");const titleKeys: Record<UnsavedChangesModalProps["action"], string> = {- close: "modal.closeTitle",- new: "modal.newTitle",- open: "modal.openTitle",- record: "modal.recordTitle",+ close: "unsavedChanges.modal.closeTitle",+ new: "unsavedChanges.modal.newTitle",+ open: "unsavedChanges.modal.openTitle",+ record: "unsavedChanges.modal.recordTitle",};const copy = {title: td(titleKeys[action]),- body: action === "close" ? td("modal.closeBody") : td("modal.sharedBody"),+ body:+ action === "close"+ ? td("unsavedChanges.modal.closeBody")+ : td("unsavedChanges.modal.sharedBody"),};return (<ModalShell open={open} onClose={onClose} title={copy.title} subtitle={copy.body}>@@ -1418,7 +1369,7 @@ export function UnsavedChangesModal({color: "var(--fg-2)",}}>- {td("modal.notSavedYet")}+ {td("unsavedChanges.modal.notSavedYet")}</div></div><div@@ -1444,7 +1395,7 @@ export function UnsavedChangesModal({onClick={() => onChoose("discard")}disabled={busy}>- {td("modal.discard")}+ {td("unsavedChanges.modal.discard")}</button><buttontype="button"@@ -1452,7 +1403,7 @@ export function UnsavedChangesModal({onClick={() => onChoose("save")}disabled={busy}>- {busy ? td("modal.saving") : td("modal.saveAndContinue")}+ {busy ? td("unsavedChanges.modal.saving") : td("unsavedChanges.modal.saveAndContinue")}</button></div></ModalShell>@@ -1495,9 +1446,9 @@ export function InsertSourceModal({onClick={onAddBefore}style={{padding: "12px 16px",- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface)",+ border: "1px solid transparent",+ borderRadius: 12,+ background: "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--fg-2)",font: "500 13px/1.2 var(--font-body)",cursor: canAddBefore ? "pointer" : "not-allowed",@@ -1506,7 +1457,7 @@ export function InsertSourceModal({}}><strong>{t("insertSourceDialog.addBefore")}</strong>- <div style={{ fontSize: 11, color: "var(--muted)", marginTop: 2 }}>+ <div style={{ fontSize: 12, color: "var(--muted)", marginTop: 2 }}>{t("insertSourceDialog.addBeforeDesc")}</div></button>@@ -1516,9 +1467,9 @@ export function InsertSourceModal({onClick={onAddAfter}style={{padding: "12px 16px",- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface)",+ border: "1px solid transparent",+ borderRadius: 12,+ background: "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--fg-2)",font: "500 13px/1.2 var(--font-body)",cursor: canAddAfter ? "pointer" : "not-allowed",@@ -1527,7 +1478,7 @@ export function InsertSourceModal({}}><strong>{t("insertSourceDialog.addAfter")}</strong>- <div style={{ fontSize: 11, color: "var(--muted)", marginTop: 2 }}>+ <div style={{ fontSize: 12, color: "var(--muted)", marginTop: 2 }}>{t("insertSourceDialog.addAfterDesc")}</div></button>@@ -1537,9 +1488,9 @@ export function InsertSourceModal({onClick={onSplit}style={{padding: "12px 16px",- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface)",+ border: "1px solid transparent",+ borderRadius: 12,+ background: "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--fg-2)",font: "500 13px/1.2 var(--font-body)",cursor: canSplit ? "pointer" : "not-allowed",@@ -1548,7 +1499,7 @@ export function InsertSourceModal({}}><strong>{t("insertSourceDialog.split")}</strong>- <div style={{ fontSize: 11, color: "var(--muted)", marginTop: 2 }}>+ <div style={{ fontSize: 12, color: "var(--muted)", marginTop: 2 }}>{t("insertSourceDialog.splitDesc")}</div></button>@@ -1606,9 +1557,11 @@ export function ChatHistoryModal({alignItems: "center",justifyContent: "space-between",padding: "10px 12px",- border: `1px solid ${isActive ? "var(--accent)" : "var(--border-soft)"}`,- borderRadius: 8,- background: isActive ? "var(--accent-wash)" : "var(--surface)",+ border: `1px solid ${isActive ? "var(--accent)" : "transparent"}`,+ borderRadius: 12,+ background: isActive+ ? "var(--accent-soft)"+ : "color-mix(in oklab, var(--fg) 5%, transparent)",color: "var(--fg-2)",cursor: "pointer",font: "500 13px var(--font-body)",@@ -1621,7 +1574,13 @@ export function ChatHistoryModal({}}><span style={{ fontWeight: isActive ? 600 : 500 }}>{s.title}</span>- <span style={{ font: "500 11px/1 var(--font-mono)", color: "var(--muted)" }}>+ <span+ style={{+ font: "500 12px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--muted)",+ }}+ >{t("chat.historyDialog.msgsCount", {count: s.messageCount,date: new Date(s.createdAt).toLocaleDateString(),diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.cssindex 49fd4bbfd..f1732d53d 100644--- a/src/components/ai-edition/NewEditorShell.module.css+++ b/src/components/ai-edition/NewEditorShell.module.css@@ -470,12 +470,13 @@align-items: center;justify-content: center;gap: var(--sp-2);+ min-height: 40px;padding: var(--sp-3) var(--sp-4);- border-radius: var(--r-sm);+ border-radius: var(--r-md);background: var(--primary, #34B27B);color: var(--accent-on);border: none;- font-weight: 500;+ font-weight: 600;font-size: 0.875rem;cursor: pointer;transition: background-color 120ms ease;@@ -488,18 +489,22 @@align-items: center;justify-content: center;gap: var(--sp-2);+ min-height: 40px;padding: var(--sp-3) var(--sp-4);- border-radius: var(--r-sm);- background: var(--card);+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 7%, transparent);color: var(--fg-2);- border: 1px solid var(--border);- font-weight: 500;+ border: 1px solid transparent;+ font-weight: 600;font-size: 0.875rem;cursor: pointer;transition: background-color 120ms ease;}+/* Not --accent: design-tokens.css pins it to solid mint, and the label on it fell to 2.3:1.+ A deeper step of the same fill rather than --surface-2, which in the dark theme is the+ resting fill's own colour. */.previewEmptySecondaryButton:hover {- background: var(--accent, rgba(255, 255, 255, 0.06));+ background: color-mix(in oklab, var(--fg) 13%, transparent);}.previewEmptyButtonIcon {width: 16px;@@ -593,7 +598,7 @@.previewEmptyDialog {max-width: 24rem;padding: var(--sp-5);- background: var(--bg);+ background: var(--surface);border: 1px solid var(--border);}.previewEmptyDialogHeader {@@ -651,11 +656,12 @@justify-content: center;gap: var(--sp-1);width: 100%;+ min-height: 36px;padding: var(--sp-2) var(--sp-3);- border-radius: var(--r-sm);- background: var(--card);+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 8%, transparent);color: var(--fg-2);- border: 1px solid var(--border);+ border: 1px solid transparent;font-size: 0.875rem;font-weight: 500;cursor: pointer;@@ -733,11 +739,11 @@min-width: 0;}.transport .tbtn {- width: 28px;- height: 28px;+ width: 32px;+ height: 32px;display: grid;place-items: center;- border-radius: var(--r-sm);+ border-radius: var(--r-md);color: var(--fg-2);background: transparent;border: 0;@@ -750,8 +756,8 @@color: var(--fg);}.transport .tbtn.play {- width: 28px;- height: 28px;+ width: 34px;+ height: 34px;background: var(--fg);color: var(--bg);border-radius: 50%;@@ -760,11 +766,10 @@background: var(--fg-2);}.transport .time {- font-family: var(--font-mono);- font-size: var(--fs-app-sm);+ font: 500 13px/1 var(--font-body);+ font-variant-numeric: tabular-nums;color: var(--fg);- letter-spacing: 0.02em;- min-width: 96px;+ min-width: 104px;text-align: center;flex-shrink: 0;}@@ -818,17 +823,17 @@gap: 2px;padding: 3px;margin: 12px var(--sp-4);- background: var(--surface-2);- border: 1px solid var(--border);- border-radius: 10px;+ background: color-mix(in oklab, var(--fg) 6%, transparent);+ border-radius: 12px;}.paneTabs button {flex: 1;- padding: 7px 10px;+ min-height: 30px;+ padding: 0 10px;border: 0;background: transparent;- border-radius: 7px;- font: 500 var(--fs-app-sm)/1 var(--font-body);+ border-radius: 9px;+ font: 500 13px/1 var(--font-body);color: var(--muted);cursor: pointer;transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);@@ -836,8 +841,9 @@.paneTabs button:hover:not(:disabled) {color: var(--fg);}+/* Raised above its track: --surface was darker than the track in the dark theme. */.paneTabs button.isActive {- background: var(--surface);+ background: var(--surface-hi);color: var(--fg-emphasis);font-weight: 600;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);@@ -846,6 +852,7 @@.paneSection.isActive { display: block; }/* ─── pane rows (label + control) ─────────────────────────────── */+/* A soft fill, not a hairline box on the sunken --bg: the card reads as a surface. */.paneRow {display: flex;align-items: center;@@ -853,29 +860,52 @@gap: 12px;padding: 12px 14px;margin: 8px var(--sp-4);- border: 1px solid var(--border);- border-radius: 10px;- background: var(--bg);+ border: 0;+ border-radius: 12px;+ background: color-mix(in oklab, var(--fg) 5%, transparent);}.paneRow .label { font: 500 var(--fs-app) var(--font-body); color: var(--fg-2); }-.paneRow .info { color: var(--meta); font-size: var(--fs-app-sm); margin-left: 4px; }+.paneRow .info {+ display: block;+ margin-top: 2px;+ font: 400 12px/1.5 var(--font-body);+ color: var(--muted);+}+/* The one group label: sentence case, normal tracking. */.sectionLabel {- font: 500 var(--fs-app-sm) var(--font-body);+ font: 600 13px/1.3 var(--font-body);color: var(--fg-2);margin: 4px var(--sp-4) 8px;}+/* The same label where there is no pane inset to honour (dialogs). */+.groupLabel {+ display: block;+ margin: 0 0 8px;+ font: 600 13px/1.3 var(--font-body);+ color: var(--fg-2);+}+/* A sentence that explains the control above it. */+.hint {+ margin: 0;+ font: 400 12px/1.5 var(--font-body);+ color: var(--muted);+}/* ─── action menu (a button's list of things it could do) ─────── *//* Sits where a Toggle would; reads as the current value, not as on/off. */+/* Raised (--surface-hi) rather than filled like a field: it sits on a row that already+ carries the soft fill, and the same fill twice would vanish. */.rowAction {display: inline-flex;align-items: center;- gap: 5px;- padding: 5px 8px;- border: 1px solid var(--border);- border-radius: 8px;- background: var(--bg);+ gap: 6px;+ min-height: 30px;+ padding: 0 10px;+ border: 1px solid transparent;+ border-radius: var(--r-md);+ background: var(--surface-hi);+ box-shadow: var(--elev-card-soft);color: var(--fg-2);- font: 500 var(--fs-app-sm)/1 var(--font-body);+ font: 500 13px/1 var(--font-body);font-variant-numeric: tabular-nums;cursor: pointer;transition: border-color 150ms ease, color 150ms ease;@@ -908,8 +938,8 @@cursor: pointer;text-align: left;}-.actionMenuRow:hover:not(:disabled) { background: var(--surface-2); }-.actionMenuRow.isActive { background: color-mix(in oklab, var(--brand), transparent 82%); }+.actionMenuRow:hover:not(:disabled) { background: color-mix(in oklab, var(--fg) 6%, transparent); }+.actionMenuRow.isActive { background: var(--accent-soft); }/* A row the project cannot take (a portrait device frame on a landscape timeline) stays in thelist so the option is still discoverable, but has to LOOK unavailable — and the reason ridesin its `actionMenuCount` slot on the right. */@@ -917,18 +947,16 @@/* Separates the fixed presets from the shapes this timeline actually holds. */.actionMenuGroup {padding: 8px 8px 4px;- font: 600 10px/1 var(--font-body);- letter-spacing: 0.04em;- text-transform: uppercase;- color: var(--muted);+ font: 600 12px/1.3 var(--font-body);+ color: var(--fg-2);}/* Resolution leads: it is the thing a user recognises about their own footage. */-.actionMenuMain { font: 600 12.5px var(--font-display); font-variant-numeric: tabular-nums; }+.actionMenuMain { font: 600 13px var(--font-display); font-variant-numeric: tabular-nums; }/* The ratio token second, for whoever does read them — `64:27` means nothing alone. */-.actionMenuMeta { font: 400 11px var(--font-body); color: var(--muted); }+.actionMenuMeta { font: 400 12px var(--font-body); color: var(--muted); }.actionMenuCount {margin-left: auto;- font: 500 11px var(--font-body);+ font: 500 12px var(--font-body);font-variant-numeric: tabular-nums;color: var(--meta);}@@ -945,7 +973,7 @@width: 12px;color: var(--brand);}-.presetActionLabel { font: 500 12px var(--font-body); color: var(--fg-2); }+.presetActionLabel { font: 500 13px var(--font-body); color: var(--fg-2); }.presetActions {margin: 2px 0 4px 20px;padding-left: 4px;@@ -956,26 +984,14 @@align-items: center;gap: 6px;padding: 7px 8px;- font: 400 11px var(--font-body);+ font: 400 12px var(--font-body);color: var(--muted);}.presetDivider { height: 1px; margin: 4px 2px; background: var(--border); }.presetForm { display: flex; flex-direction: column; gap: 6px; padding: 6px 8px; }-.presetForm input {- width: 100%;- padding: 6px 8px;- font: 400 var(--fs-app-sm) var(--font-body);- color: var(--fg);- background: var(--surface);- border: 1px solid var(--border);- border-radius: 6px;- outline: none;-}-.presetForm input:focus { border-color: var(--brand); }-.presetForm input[aria-invalid="true"] { border-color: var(--danger); }.presetFormButtons { display: flex; justify-content: flex-end; gap: 6px; }-.presetConfirm { font: 500 12px var(--font-body); color: var(--fg); }-.presetError { font: 400 11px var(--font-body); color: var(--danger); }+.presetConfirm { font: 500 13px var(--font-body); color: var(--fg); }+.presetError { font: 400 12px var(--font-body); color: var(--danger); }/* A section title that carries an action on its right. */.sectionHead {@@ -1010,40 +1026,68 @@align-items: center;justify-content: center;gap: 8px;+ min-height: 34px;margin: 0 var(--sp-4) 12px;- padding: 12px;- border: 1px dashed var(--border);- border-radius: 10px;- background: var(--bg);- color: var(--muted);- font: 500 var(--fs-app-sm) var(--font-body);+ padding: 0 14px;+ border: 1px dashed var(--border-hi);+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 5%, transparent);+ color: var(--fg-2);+ font: 500 13px var(--font-body);cursor: pointer;}-.uploadBtn:hover { border-color: var(--success); color: var(--success); }+.uploadBtn:hover { border-color: var(--accent); color: var(--fg); }.field {display: grid;- grid-template-columns: 80px 1fr;+ grid-template-columns: 112px 1fr;align-items: center;- gap: 8px;+ gap: 6px 10px;padding: 4px var(--sp-4);}.field label {- font: 500 var(--fs-app-sm) var(--font-body);- color: var(--muted);+ font: 500 13px/1.3 var(--font-body);+ color: var(--fg-2);}+/* Under the control, across both columns: a sentence does not fit a label column. */+.field .hint { grid-column: 1 / -1; }++/* ─── the one field look ─────────────────────────────────────────── */+/* Filled, with no outline until focus. `.control` is for fields that live outside a `.field`+ row (inspector, dialogs, menus).+ Solid, not the rows' translucent fill: a native <select> paints its option list with this+ background, and a translucent one comes out as white-on-white in the dark theme. Mixed from+ --surface-1 rather than taken as --surface-2, which in the dark theme is 1.03:1 against the+ inspector's --surface-1 — a field you cannot see. */+.control,.field select,-.field input {- width: 100%;- padding: 6px 8px;- font: 400 var(--fs-app-sm) var(--font-body);- color: var(--fg-2);- background: var(--surface);- border: 1px solid var(--border);- border-radius: 6px;+.field input:not([type="checkbox"]),+.presetForm input {+ height: 34px;+ padding: 0 10px;+ font: 400 13px var(--font-body);+ color: var(--fg);+ background: color-mix(in oklab, var(--fg) 7%, var(--surface-1));+ border: 1px solid transparent;+ border-radius: var(--r-md);outline: none;+ transition: border-color var(--motion-fast) var(--ease);+}+.field select,+.field input:not([type="checkbox"]),+.presetForm input { width: 100%; }+textarea.control {+ height: auto;+ padding: 8px 10px;+ line-height: 1.4;+ resize: vertical;}+.control:focus,.field select:focus,-.field input:focus { border-color: var(--brand); }+.field input:focus,+.presetForm input:focus { border-color: var(--accent); }+/* After :focus, so a rejected name stays red while it is being corrected. */+.presetForm input[aria-invalid="true"] { border-color: var(--danger); }+.control:disabled,.field select:disabled,.field input:disabled { opacity: 0.5; cursor: not-allowed; }@@ -1132,8 +1176,8 @@/* ─── toggle (switch) ──────────────────────────────────────────── */.toggle {- width: 36px;- height: 20px;+ width: 40px;+ height: 24px;border: 0;padding: 0;background: var(--border-hi);@@ -1143,16 +1187,17 @@transition: background 150ms ease;flex-shrink: 0;}+/* A white knob in both themes: the old --accent-on one was near-black on the dark track. */.toggle::after {content: "";position: absolute;top: 2px;left: 2px;- width: 16px;- height: 16px;- background: var(--accent-on);+ width: 20px;+ height: 20px;+ background: #fff;border-radius: 50%;- box-shadow: 0 1px 3px rgba(22, 23, 29, 0.2);+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);transition: transform 150ms ease;}.toggle.isOn { background: var(--brand); }@@ -1167,20 +1212,26 @@padding: 0 var(--sp-4) var(--sp-4);}.sliderCell {- border: 1px solid var(--border);- border-radius: 10px;- background: var(--bg);- padding: 10px 12px;+ border: 0;+ border-radius: 12px;+ background: color-mix(in oklab, var(--fg) 5%, transparent);+ padding: 12px 14px;display: grid;grid-template-rows: auto auto;- gap: 8px;+ gap: 10px;}.sliderCell .head { display: flex; align-items: center; gap: 6px; }-.sliderCell .label { font: 500 11px var(--font-body); color: var(--fg-2); }-.sliderCell .val { font: 500 11px var(--font-mono); color: var(--brand); margin-left: auto; }+.sliderCell .label { font: 500 13px/1.3 var(--font-body); color: var(--fg-2); }+/* --muted, not mint: mint text is 2.3:1 on the light theme's row. */+.sliderCell .val {+ font: 500 12px/1.3 var(--font-body);+ font-variant-numeric: tabular-nums;+ color: var(--muted);+ margin-left: auto;+}.sliderCell input[type=range] {width: 100%;- height: 4px;+ height: 6px;background: linear-gradient(to right,var(--brand) 0%,@@ -1188,34 +1239,41 @@var(--border-hi) var(--slider-pct, 0%),var(--border-hi) 100%);- border-radius: 2px;+ border-radius: 999px;outline: none;-webkit-appearance: none;cursor: pointer;}.sliderCell input[type=range]::-moz-range-progress {background-color: var(--brand);- height: 4px;- border-radius: 2px;+ height: 6px;+ border-radius: 999px;}.sliderCell input[type=range]::-webkit-slider-thumb {-webkit-appearance: none;- width: 14px;- height: 14px;+ width: 18px;+ height: 18px;border-radius: 50%;- background: var(--brand);- box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand), transparent 80%);+ background: #fff;+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.35);cursor: pointer;}.sliderCell input[type=range]::-moz-range-thumb {- width: 14px;- height: 14px;+ width: 18px;+ height: 18px;border-radius: 50%;- background: var(--brand);+ background: #fff;border: 0;- box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand), transparent 80%);+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.35);cursor: pointer;}+/* `outline: none` above takes the native ring, so keyboard focus lands on the knob. */+.sliderCell input[type=range]:focus-visible::-webkit-slider-thumb {+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.35), 0 0 0 4px var(--accent-ring);+}+.sliderCell input[type=range]:focus-visible::-moz-range-thumb {+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.35), 0 0 0 4px var(--accent-ring);+}.sliderCell.full { grid-column: 1 / -1; }.sliderCell input[type=range]:disabled { opacity: 0.5; cursor: not-allowed; }@@ -1228,9 +1286,9 @@}.cursorCell {aspect-ratio: 1/1;- border: 1px solid var(--border);- border-radius: 8px;- background: var(--bg);+ border: 1px solid transparent;+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 5%, transparent);display: grid;place-items: center;cursor: pointer;@@ -1245,10 +1303,11 @@}.cursorCell:hover { border-color: var(--border-hi); color: var(--fg-2); }.cursorCell:disabled { opacity: 0.5; cursor: not-allowed; }-.cursorCell:disabled:hover { border-color: var(--border); color: var(--muted); }+.cursorCell:disabled:hover { border-color: transparent; color: var(--muted); }.cursorCell.isActive {- border-color: var(--brand);- box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand), transparent 75%);+ border-color: var(--accent);+ background: var(--accent-soft);+ color: var(--fg);}/* Same cell, reused for the icon+label rows (camera shape, camera background).`minmax(0, 1fr)` stopped a long label from pushing the grid, but the text still@@ -1282,10 +1341,8 @@border-radius: var(--r-pill);background: var(--success-soft);color: var(--success);- font-family: var(--font-mono);- font-size: 10.5px;- font-weight: 500;- letter-spacing: 0.02em;+ font: 500 12px/1.3 var(--font-body);+ font-variant-numeric: tabular-nums;}.ctxPill .d {width: 5px;@@ -1299,12 +1356,12 @@gap: 2px;}.stripActions button {- width: 24px;- height: 24px;+ width: 30px;+ height: 30px;display: grid;place-items: center;border-radius: var(--r-sm);- color: var(--meta);+ color: var(--muted);background: transparent;border: 0;cursor: pointer;@@ -1336,11 +1393,8 @@margin-bottom: var(--sp-1);}.msgAuthor {- font-family: var(--font-mono);- font-size: 10px;- letter-spacing: 0.08em;- color: var(--meta);- text-transform: uppercase;+ font: 600 12px/1.3 var(--font-body);+ color: var(--fg-2);}.msgHead .right {margin-left: auto;@@ -1365,13 +1419,15 @@}.msgBubble {padding: var(--sp-3) var(--sp-4);- border-radius: var(--r-md);- background: var(--bg);- border: 1px solid var(--border);+ border-radius: 12px;+ background: color-mix(in oklab, var(--fg) 5%, transparent);+ border: 1px solid transparent;font-size: var(--fs-app);color: var(--fg-2);line-height: 1.5;}+/* The user's own turns carry the accent, so the conversation reads at a glance. */+.msgBubble.msgBubbleUser { background: var(--accent-soft); }.msgBubble .msgAuthor { color: var(--accent); }.chatInput {@@ -1381,13 +1437,13 @@}.chatInput textarea {width: 100%;- min-height: 36px;+ min-height: 40px;max-height: 120px;resize: none;- padding: 8px var(--sp-3);- border-radius: var(--r-md);- border: 1px solid var(--border);- background: var(--bg);+ padding: 10px var(--sp-3);+ border-radius: 12px;+ border: 1px solid transparent;+ background: color-mix(in oklab, var(--fg) 7%, var(--surface-1));font-family: var(--font-body);font-size: var(--fs-app);line-height: 1.4;@@ -1413,10 +1469,10 @@padding: 5px 4px 5px 10px;border-radius: var(--r-pill);background: var(--surface-2);+ /* Mono stays: this is a model ID, not a word. */font-family: var(--font-mono);- font-size: 11px;+ font-size: 12px;color: var(--fg-2);- letter-spacing: 0.01em;cursor: pointer;transition: background var(--motion-fast) var(--ease);border: 0;@@ -1435,9 +1491,8 @@border-radius: var(--r-pill);background: var(--success-soft);color: var(--success);- font-size: 10.5px;+ font-size: 12px;font-weight: 500;- letter-spacing: 0.01em;display: inline-flex;align-items: center;gap: 4px;@@ -1450,6 +1505,7 @@border-radius: 50%;background: var(--success);}+/* The composer's one action, so it carries the accent — a bare glyph read as decoration. */.sendBtn {margin-left: auto;width: 32px;@@ -1457,14 +1513,18 @@display: grid;place-items: center;border-radius: 50%;- background: transparent;- color: var(--fg);+ background: var(--accent);+ color: var(--accent-on);border: 0;cursor: pointer;- transition: color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);+ transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);+}+.sendBtn:hover:not(:disabled) { background: var(--brand-lo); transform: scale(1.05); }+.sendBtn:disabled {+ background: color-mix(in oklab, var(--fg) 8%, transparent);+ color: var(--muted);+ cursor: not-allowed;}-.sendBtn:hover { color: var(--accent); transform: scale(1.05); }-.sendBtn:disabled { opacity: 0.4; cursor: not-allowed; }/* ─── transcript pane content ─────────────────────────────────── */.transcriptClipHead {@@ -1871,14 +1931,15 @@backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);}+/* --surface, not --bg: on --bg the card was the colour of the dimmed editor behind it. */.modalCard {position: relative;width: min(960px, 92vw);max-height: 88vh;margin: 6vh auto 0;- background: var(--bg);+ background: var(--surface);border: 1px solid var(--border);- border-radius: var(--r-lg);+ border-radius: 16px;box-shadow: 0 24px 60px rgba(22, 23, 29, 0.5);display: flex;flex-direction: column;@@ -1904,8 +1965,8 @@color: var(--muted);}.modalHead .closeBtn {- width: 28px;- height: 28px;+ width: 32px;+ height: 32px;display: grid;place-items: center;border-radius: var(--r-sm);@@ -1924,22 +1985,29 @@}.btn {- height: 32px;+ height: 34px;padding: 0 14px;border-radius: var(--r-md);font: 500 var(--fs-app)/1 var(--font-body);cursor: pointer;display: inline-flex;align-items: center;+ /* Centred for when a column stretches it full width (the inspector's actions), and never+ squeezed there: a fixed height with no vertical padding lets a scrolling flex column+ shrink it to its text. */+ justify-content: center;+ flex-shrink: 0;gap: 6px;transition: background var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);}+/* Filled, not outlined: on the card's own --surface the old one was a hairline and nothing. */.btnSecondary {- background: var(--surface);+ background: color-mix(in oklab, var(--fg) 8%, transparent);color: var(--fg);- border: 1px solid var(--border);+ border: 1px solid transparent;}-.btnSecondary:hover { background: var(--surface-warm); border-color: var(--border-hi); }+.btnSecondary:hover:not(:disabled) { background: color-mix(in oklab, var(--fg) 13%, transparent); }+.btnSecondary:disabled { opacity: 0.5; cursor: not-allowed; }.btnPrimary {background: var(--accent);color: var(--accent-on);@@ -2011,7 +2079,7 @@position: absolute;left: 0;right: 0;- height: 4px;+ height: 6px;background: var(--border-hi);border-radius: 9999px;overflow: hidden;@@ -2033,8 +2101,8 @@}.scrubThumb {position: absolute;- width: 10px;- height: 10px;+ width: 12px;+ height: 12px;background: #ffffff;border-radius: 50%;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);@@ -2060,9 +2128,9 @@flex-direction: column;gap: 6px;padding: 12px 14px;- border: 1px solid var(--border);- border-radius: var(--r-md);- background: var(--surface);+ border: 1px solid transparent;+ border-radius: 12px;+ background: color-mix(in oklab, var(--fg) 5%, transparent);color: var(--fg-2);cursor: pointer;font: 500 13px/1.2 var(--font-body);@@ -2086,21 +2154,19 @@font-size: 14px;color: var(--fg);}+/* Mono stays: a model ID. */.providerCard .model {- font: 500 11px var(--font-mono);+ font: 500 12px var(--font-mono);color: var(--muted);- letter-spacing: 0.02em;text-transform: lowercase;}.statusPill {display: inline-flex;align-items: center;gap: 4px;- padding: 2px 8px;+ padding: 3px 8px;border-radius: 9999px;- font: 600 10px/1 var(--font-mono);- letter-spacing: 0.06em;- text-transform: uppercase;+ font: 600 11px/1 var(--font-body);border: 1px solid transparent;}.statusPill.ready {@@ -2164,17 +2230,17 @@.secondaryBtn {margin: 4px var(--sp-4) 12px;- min-height: 32px;+ min-height: 34px;padding: 0 12px;- border: 1px solid var(--border);- border-radius: var(--r-sm);- background: var(--surface-2);+ border: 1px solid transparent;+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 8%, transparent);color: var(--fg-2);- font: 500 12px/1 var(--font-body);+ font: 500 13px/1 var(--font-body);cursor: pointer;}-.secondaryBtn:hover {- background: var(--surface-3);+.secondaryBtn:hover:not(:disabled) {+ background: color-mix(in oklab, var(--fg) 13%, transparent);color: var(--fg);}.secondaryBtn:disabled {@@ -2244,8 +2310,8 @@}.iconBtn {- width: 28px;- height: 28px;+ width: 30px;+ height: 30px;display: inline-grid;place-items: center;border-radius: var(--r-sm);@@ -2264,17 +2330,17 @@display: inline-flex;align-items: center;gap: 6px;- height: 28px;+ height: 30px;padding: 0 10px;- border-radius: var(--r-sm);- background: transparent;- border: 1px solid var(--border);+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 7%, transparent);+ border: 1px solid transparent;color: var(--fg-2);- font: 500 12px/1 var(--font-body);+ font: 500 13px/1 var(--font-body);white-space: nowrap;cursor: pointer;}-.paneHeadBtn:hover { background: var(--surface-3); color: var(--fg); }+.paneHeadBtn:hover { background: color-mix(in oklab, var(--fg) 12%, transparent); color: var(--fg); }/* Two mutually exclusive readings of the same tab, so: one track, one lit half.Not tabs — tabs would say the two transcripts sit side by side, and only one of@@ -2283,10 +2349,9 @@display: flex;gap: 2px;margin: 0 var(--sp-4) 6px;- padding: 2px;- border: 1px solid var(--border);- border-radius: var(--r-sm);- background: var(--surface-2);+ padding: 3px;+ border-radius: 12px;+ background: color-mix(in oklab, var(--fg) 6%, transparent);}.laneSwitchBtn {flex: 1;@@ -2294,27 +2359,28 @@align-items: center;justify-content: center;gap: 6px;- min-height: 26px;+ min-height: 30px;padding: 0 8px;border: 0;- border-radius: calc(var(--r-sm) - 2px);+ border-radius: 9px;background: transparent;color: var(--muted);- font: 500 12px/1 var(--font-body);+ font: 500 13px/1 var(--font-body);white-space: nowrap;cursor: pointer;}.laneSwitchBtn:hover { color: var(--fg-2); }+/* Raised above its track, like .paneTabs: --surface was darker than the track in the dark theme. */.laneSwitchBtn.isActive {- background: var(--surface);+ background: var(--surface-hi);color: var(--fg);- box-shadow: var(--elev-1, 0 1px 2px rgb(0 0 0 / 0.12));+ box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);}/* The choice reaches past this tab — it decides the text burnt into the export. */.laneSwitchNote {margin: 0 var(--sp-4) 12px;- font: 400 11.5px/1.45 var(--font-body);- color: var(--meta);+ font: 400 12px/1.5 var(--font-body);+ color: var(--muted);}.backBtn {@@ -2322,15 +2388,15 @@align-items: center;gap: 6px;padding: 0 10px;- height: 28px;- border-radius: var(--r-sm);- background: transparent;+ height: 30px;+ border-radius: var(--r-md);+ background: color-mix(in oklab, var(--fg) 8%, transparent);color: var(--fg);- border: 1px solid var(--border);+ border: 1px solid transparent;cursor: pointer;- font: 500 12px var(--font-body);+ font: 500 13px var(--font-body);}-.backBtn:hover { background: var(--surface-3); }+.backBtn:hover { background: color-mix(in oklab, var(--fg) 13%, transparent); }.backBtn:disabled { opacity: 0.5; cursor: not-allowed; }/* ─── chat welcome (no provider connected) ──────────────────────── */@@ -2380,12 +2446,11 @@/* explicit: the global reset sets list-style: none on every ul */list-style: disc;margin: 0;- padding: 10px 12px;- padding-inline-start: 26px;- background: var(--surface);- border: 1px solid var(--border-soft);- border-radius: var(--r-md);- font: 400 12px/1.45 var(--font-body);+ padding: 12px 14px;+ padding-inline-start: 28px;+ background: color-mix(in oklab, var(--fg) 5%, transparent);+ border-radius: 12px;+ font: 400 13px/1.45 var(--font-body);color: var(--fg-2);}.chatWelcomeFeatures li + li { margin-top: 6px; }@@ -2397,12 +2462,12 @@justify-content: center;gap: 6px;width: 100%;- height: 34px;+ height: 36px;border-radius: var(--r-md);background: var(--accent);color: var(--accent-on);border: 1px solid var(--accent);- font: 600 12.5px var(--font-body);+ font: 600 13px var(--font-body);cursor: pointer;transition: filter 120ms ease;}@@ -2417,7 +2482,7 @@display: flex;align-items: flex-start;gap: 6px;- font: 400 10.5px/1.45 var(--font-body);+ font: 400 12px/1.45 var(--font-body);color: var(--muted);}diff --git a/src/components/ai-edition/Preview.test.tsx b/src/components/ai-edition/Preview.test.tsxindex d4810ce70..4f74c8564 100644--- a/src/components/ai-edition/Preview.test.tsx+++ b/src/components/ai-edition/Preview.test.tsx@@ -378,7 +378,7 @@ describe("Preview shows the empty state only when there is nothing to show", ()renderPreview({ videoSources: [], clips: [], hasProject: false, hasAsset: false });expect(emptyState()).not.toBeInTheDocument();- expect(screen.getByText(/no project open/i)).toBeInTheDocument();+ expect(screen.getByText(/start with a recording/i)).toBeInTheDocument();});// The guard for #395 itself: no failure, however reported, may reach thediff --git a/src/components/ai-edition/ProviderSettings.tsx b/src/components/ai-edition/ProviderSettings.tsxindex 8d66681c7..e27cf82b1 100644--- a/src/components/ai-edition/ProviderSettings.tsx+++ b/src/components/ai-edition/ProviderSettings.tsx@@ -16,7 +16,7 @@// `ProviderSettingsDialog` at the bottom is the only mount, and the only caller of the// `open` / `onClose` component above it. Internal state is local-only.-import { AlertCircle, Check, Loader2, Unplug, X } from "lucide-react";+import { AlertCircle, ArrowLeft, Check, Loader2, Unplug } from "lucide-react";import { useCallback, useEffect, useState } from "react";import { toast } from "sonner";import { useEditorDialogActions, useEditorDialogSection } from "@/contexts/EditorDialogsContext";@@ -247,7 +247,7 @@ function ProviderList({<span className={styles.label}>{def.label}</span>{isConnected ? (<span className={`${styles.statusPill} ${styles.ready}`}>- <Check size={10} />+ <Check size={12} />{te("providerSettings.pillConnected")}</span>) : (@@ -360,13 +360,13 @@ function ProviderForm({title={te("providerSettings.back")}aria-label={te("providerSettings.back")}>- <X size={14} />+ <ArrowLeft size={16} />{te("providerSettings.back")}</button><h3>{def.label}</h3>{isConnected ? (<span className={`${styles.statusPill} ${styles.ready}`}>- <Check size={10} />+ <Check size={12} />{te("providerSettings.pillConnected")}{" "}{credentialKind && credentialKind !== "api-key" ? `· ${credentialKind}` : ""}</span>@@ -429,18 +429,10 @@ function ProviderForm({)}{modelsLoading ? (<span- style={{- display: "inline-flex",- alignItems: "center",- gap: 4,- marginTop: 4,- font: "500 10px var(--font-mono)",- color: "var(--muted)",- letterSpacing: "0.04em",- textTransform: "uppercase",- }}+ className={styles.hint}+ style={{ display: "inline-flex", alignItems: "center", gap: 6 }}>- <Loader2 size={10} className="animate-spin" />+ <Loader2 size={12} className="animate-spin" />{te("providerSettings.loadingModels")}</span>) : null}@@ -504,24 +496,26 @@ function ProviderForm({label={te("providerSettings.projectEditsLabel")}hint={te("providerSettings.projectEditsHint")}>+ {/* The panes' switch, not a system checkbox. Inside the label, so the text toggles it too. */}<labelstyle={{display: "flex",alignItems: "center",- gap: 8,- font: "500 12px var(--font-body)",+ gap: 10,+ font: "500 13px var(--font-body)",color: "var(--fg-2)",cursor: "pointer",}}>- <input- type="checkbox"- checked={config?.allowAgentEdits !== false}+ <button+ type="button"+ className={`${styles.toggle} ${config?.allowAgentEdits !== false ? styles.isOn : ""}`}+ aria-pressed={config?.allowAgentEdits !== false}disabled={busy}- onChange={(e) =>+ onClick={() =>setConfig({...(config ?? { provider: def.id, model: def.defaultModel }),- allowAgentEdits: e.target.checked,+ allowAgentEdits: config?.allowAgentEdits === false,})}/>@@ -595,24 +589,10 @@ function Field({}) {return (<div className={styles.field}>- <label>- {label}- {hint ? (- <span- style={{- display: "block",- font: "500 10px/1.2 var(--font-mono)",- color: "var(--muted)",- letterSpacing: "0.04em",- textTransform: "uppercase",- marginTop: 2,- }}- >- {hint}- </span>- ) : null}- </label>+ <label>{label}</label>{children}+ {/* A sentence, so it goes under the control across the row — not in the 96px label column. */}+ {hint ? <p className={styles.hint}>{hint}</p> : null}</div>);}diff --git a/src/components/ai-edition/RightPanes.i18n.test.tsx b/src/components/ai-edition/RightPanes.i18n.test.tsxindex f0522fb5c..6e59f67da 100644--- a/src/components/ai-edition/RightPanes.i18n.test.tsx+++ b/src/components/ai-edition/RightPanes.i18n.test.tsx@@ -85,7 +85,7 @@ describe("right-rail panes are localized", () => {it("falls back to English when the locale is English", () => {renderIn("en", <VideoEffectsPane />);expect(screen.getByRole("heading", { name: "Composition" })).toBeInTheDocument();- expect(screen.getByText("Blur BG")).toBeInTheDocument();+ expect(screen.getByText("Blur background")).toBeInTheDocument();});it("renders the transcript pane title as 'Transcription' in French", () => {diff --git a/src/components/ai-edition/RightPanes.layout.test.tsx b/src/components/ai-edition/RightPanes.layout.test.tsxindex a901f428f..fd7663a65 100644--- a/src/components/ai-edition/RightPanes.layout.test.tsx+++ b/src/components/ai-edition/RightPanes.layout.test.tsx@@ -1,7 +1,7 @@// @vitest-environment jsdom// The layout preset is a global setting but the camera is per clip, so a project can// hold no camera at all (#248). These pin what the pane shows in that case: the-// controls go dead, the preset reads "No Webcam", and — the part that is easy to break —+// controls go dead, the preset reads "No webcam", and — the part that is easy to break —// the saved preference is left untouched on disk and the help popover says so.import "@testing-library/jest-dom";@@ -91,10 +91,10 @@ describe("LayoutPane camera availability", () => {expect(useProjectStore.getState().document?.legacyEditor).toMatchObject({webcamLayoutPreset: "picture-in-picture",});- expect(screen.queryByText("Camera Shape")).not.toBeInTheDocument();- expect(screen.queryByText("Shrink on Zoom")).not.toBeInTheDocument();- expect(screen.queryByText("Webcam Size")).not.toBeInTheDocument();- const mirrorRow = screen.getByText("Mirror Webcam").closest("div");+ expect(screen.queryByText("Camera shape")).not.toBeInTheDocument();+ expect(screen.queryByText("Shrink on zoom")).not.toBeInTheDocument();+ expect(screen.queryByText("Webcam size")).not.toBeInTheDocument();+ const mirrorRow = screen.getByText("Mirror webcam").closest("div");expect(mirrorRow).not.toBeNull();expect(within(mirrorRow as HTMLElement).getByRole("button")).toBeDisabled();});@@ -114,13 +114,13 @@ describe("LayoutPane camera availability", () => {const preset = screen.getByRole("combobox", { name: "Preset" });expect(preset).toBeEnabled();expect(preset).toHaveValue("picture-in-picture");- expect(screen.getByText("Camera Shape")).toBeInTheDocument();- expect(screen.getByText("Shrink on Zoom")).toBeInTheDocument();- expect(screen.getByText("Webcam Size")).toBeInTheDocument();+ expect(screen.getByText("Camera shape")).toBeInTheDocument();+ expect(screen.getByText("Shrink on zoom")).toBeInTheDocument();+ expect(screen.getByText("Webcam size")).toBeInTheDocument();expect(screen.getByRole("button", { name: "Rounded" })).toBeEnabled();// Named, because the pane holds four sliders now — webcam size plus the three// webcam-framing ones. This one is the size slider the line above just found.- expect(screen.getByRole("slider", { name: "Webcam Size" })).toBeEnabled();+ expect(screen.getByRole("slider", { name: "Webcam size" })).toBeEnabled();// The camera-less hint must not leak into the normal case.await user.click(screen.getByRole("button", { name: "Help" }));diff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsxindex 5303d55dc..bd3c3d3fd 100644--- a/src/components/ai-edition/RightPanes.tsx+++ b/src/components/ai-edition/RightPanes.tsx@@ -165,7 +165,7 @@ function Pane({ title, icon, helpText, actions, onClose, children }: PaneProps)aria-expanded={helpOpen}onClick={() => setHelpOpen((v) => !v)}>- <HelpCircle size={14} />+ <HelpCircle size={16} /></button>{onClose ? (<button@@ -175,7 +175,7 @@ function Pane({ title, icon, helpText, actions, onClose, children }: PaneProps)aria-label={tc("actions.close")}onClick={onClose}>- <X size={14} />+ <X size={16} /></button>) : null}</span>@@ -575,15 +575,17 @@ function BackgroundColorTab({onBlur={commitHex}style={{width: 48,- height: 36,+ height: 34,border: "1px solid var(--border)",- borderRadius: 8,+ borderRadius: 10,background: "var(--surface)",padding: 0,}}/>+ {/* Mono stays: a hex code. */}<inputtype="text"+ className={styles.control}value={hexDraft}disabled={!hasDocument}onChange={(e) => setHexDraft(e.target.value)}@@ -591,16 +593,7 @@ function BackgroundColorTab({onKeyDown={(e) => {if (e.key === "Enter") commitHex();}}- style={{- flex: 1,- height: 36,- border: "1px solid var(--border)",- borderRadius: 8,- background: "var(--surface)",- padding: "0 12px",- color: "var(--fg-2)",- font: "500 13px var(--font-mono)",- }}+ style={{ flex: 1, minWidth: 0, fontFamily: "var(--font-mono)" }}/></div></>@@ -1025,7 +1018,7 @@ export function TranscriptPane({return (<Panetitle={ts("transcript.title")}- icon={<FileText size={14} />}+ icon={<FileText size={16} />}helpText={helpText}actions={<CaptionSettingsButton />}>@@ -1042,7 +1035,8 @@ export function TranscriptPane({textAlign: "center",}}>- <FileText size={28} style={{ color: "var(--dim)" }} />+ {/* --muted, not --dim: dark --dim is the panel's own colour, so the icon vanished. */}+ <FileText size={28} style={{ color: "var(--muted)" }} /><p style={{ font: "500 13px var(--font-body)", color: "var(--fg-2)" }}>{placements.length === 0? ts("transcript.noClips")@@ -1075,7 +1069,7 @@ export function TranscriptPane({return (<Panetitle={ts("transcript.title")}- icon={<FileText size={14} />}+ icon={<FileText size={16} />}helpText={helpText}actions={<CaptionSettingsButton />}>@@ -1478,7 +1472,8 @@ const TranscriptClipBlock = memo(function TranscriptClipBlock({background: "var(--accent-soft)",color: "var(--accent)",borderRadius: "var(--r-sm)",- font: "700 12px/1 var(--font-mono)",+ font: "700 12px/1 var(--font-body)",+ fontVariantNumeric: "tabular-nums",flexShrink: 0,}}>@@ -1500,7 +1495,8 @@ const TranscriptClipBlock = memo(function TranscriptClipBlock({<spanstyle={{display: "block",- font: "400 11px/1.3 var(--font-mono)",+ font: "400 12px/1.3 var(--font-body)",+ fontVariantNumeric: "tabular-nums",color: "var(--muted)",marginTop: 2,}}@@ -1517,7 +1513,7 @@ const TranscriptClipBlock = memo(function TranscriptClipBlock({alignItems: "center",gap: 5,flexShrink: 0,- font: "500 11px/1 var(--font-body)",+ font: "500 12px/1 var(--font-body)",color: "var(--accent)",}}>@@ -2453,7 +2449,7 @@ export function VideoEffectsPane() {return (<Panetitle={ts("effects.title")}- icon={<Sliders size={14} />}+ icon={<Sliders size={16} />}// Two complete sentences, one per merged half, rather than a third string to// translate 13 times — both already exist in every locale and neither is a// fragment of the other, so joining them survives translation and RTL alike.@@ -2970,7 +2966,7 @@ export function LayoutPane() {setLive({ webcamCropPan: pan, webcamCropRegion: cropRegionFor(webcamCrop.width, pan) });};return (- <Pane title={ts("layout.title")} icon={<Camera size={14} />} helpText={helpText}>+ <Pane title={ts("layout.title")} icon={<Camera size={16} />} helpText={helpText}><div className={styles.sectionLabel}>{ts("layout.preset")}</div><div className={styles.field}><label htmlFor="layout-preset">{ts("layout.preset")}</label>@@ -3067,7 +3063,7 @@ export function LayoutPane() {>{shape.icon}</svg>- <span title={ts(shape.labelKey)} style={{ font: "500 11px/1 var(--font-body)" }}>+ <span title={ts(shape.labelKey)} style={{ font: "500 12px/1 var(--font-body)" }}>{ts(shape.labelKey)}</span></button>@@ -3144,7 +3140,7 @@ export function LayoutPane() {>{mode.icon}</svg>- <span title={ts(mode.labelKey)} style={{ font: "500 11px/1 var(--font-body)" }}>+ <span title={ts(mode.labelKey)} style={{ font: "500 12px/1 var(--font-body)" }}>{ts(mode.labelKey)}</span></button>@@ -3224,7 +3220,7 @@ export function AudioPane() {const ts = useScopedT("settings");const { settings, set, setLive, commit, hasDocument } = useEditorSettings();return (- <Pane title={ts("audio.title")} icon={<AudioLines size={14} />} helpText={ts("audio.help")}>+ <Pane title={ts("audio.title")} icon={<AudioLines size={16} />} helpText={ts("audio.help")}><div className={styles.sliderGrid}><SliderCelllabel={ts("audio.outputGain")}@@ -3316,7 +3312,7 @@ export function AudioTrackPane({ tl, onClose }: { tl: TimelineApi; onClose?: ()return (<Panetitle={ts("audioTrack.defaultLabel")}- icon={<Music size={14} />}+ icon={<Music size={16} />}helpText={ts("audioTrack.help")}onClose={onClose ?? (() => tl.clearSelection())}>@@ -3490,7 +3486,7 @@ export function CursorPane() {return (<Panetitle={ts("cursor.title")}- icon={<MousePointerClick size={14} />}+ icon={<MousePointerClick size={16} />}helpText={ts("cursor.help")}><div className={styles.paneRow}>diff --git a/src/components/ai-edition/TransportBar.tsx b/src/components/ai-edition/TransportBar.tsxindex b536aed69..f03943e98 100644--- a/src/components/ai-edition/TransportBar.tsx+++ b/src/components/ai-edition/TransportBar.tsx@@ -150,7 +150,7 @@ export const TransportBar = memo(function TransportBar({data-playing={playing}onClick={onTogglePlay}>- {playing ? <Pause size={13} fill="currentColor" /> : <Play size={13} fill="currentColor" />}+ {playing ? <Pause size={16} fill="currentColor" /> : <Play size={16} fill="currentColor" />}</button><buttontype="button"@@ -159,7 +159,7 @@ export const TransportBar = memo(function TransportBar({aria-label={te("transport.previousClip")}onClick={onPrevClip}>- <SkipBack size={13} />+ <SkipBack size={16} /></button><buttontype="button"@@ -168,7 +168,7 @@ export const TransportBar = memo(function TransportBar({aria-label={te("transport.nextClip")}onClick={onNextClip}>- <SkipForward size={13} />+ <SkipForward size={16} /></button><span className={styles.time}><span>{formatSec(currentTimeSec)}</span>diff --git a/src/components/ai-edition/v4/EditorShellV4.module.css b/src/components/ai-edition/v4/EditorShellV4.module.cssindex 4b456274d..f99190efe 100644--- a/src/components/ai-edition/v4/EditorShellV4.module.css+++ b/src/components/ai-edition/v4/EditorShellV4.module.css@@ -23,6 +23,13 @@}/* rows set inline per mode (topbar / body / timeline) */+/* One visible keyboard focus for the whole shell: most controls here reset the+ outline and put nothing back. */+.app :focus-visible {+ outline: 2px solid var(--accent);+ outline-offset: 2px;+}+/* ─── TOP BAR ──────────────────────────────────────────────────────── *//* Every slot on the left half is width-STABLE by construction: the chat togglereserves its box even in the modes that don't have one, the project name and@@ -277,8 +284,7 @@grid-template-areas: "state";align-items: center;justify-items: start;- font-family: var(--font-mono);- font-size: 11px;+ font-size: 12px;color: var(--muted);flex-shrink: 0;}@@ -360,8 +366,7 @@.langShort {width: var(--topbar-lang-label-w);text-align: center;- font-family: var(--font-mono);- font-size: 11px;+ font-size: 12px;font-weight: 600;white-space: nowrap;}@@ -381,18 +386,18 @@padding: 3px;background: var(--surface-1);border: 1px solid var(--border);- border-radius: 11px;+ border-radius: 12px;flex-shrink: 0;min-width: fit-content;}.modeSwitch button {- padding: 5px 14px;+ padding: 5px 16px;white-space: nowrap;border: 0;- border-radius: 7px;+ border-radius: 9px;background: transparent;color: var(--muted);- font-size: 11.5px;+ font-size: 13px;font-weight: 500;cursor: pointer;transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);@@ -440,7 +445,7 @@gap: 7px;height: var(--topbar-icon);padding: 0 14px;- border-radius: 9px;+ border-radius: 10px;background: var(--accent);color: var(--accent-on);border: 1px solid var(--accent);@@ -448,7 +453,7 @@font-weight: 600;cursor: pointer;flex-shrink: 0;- box-shadow: 0 2px 10px -3px var(--accent-soft);+ box-shadow: 0 4px 14px -4px var(--brand-glow);transition: background var(--motion-fast) var(--ease);}.exportBtn:hover {@@ -496,7 +501,7 @@}.modeSwitch button {padding: 4px 8px;- font-size: 11px;+ font-size: 12px;max-width: 90px;}.exportBtn {@@ -536,7 +541,7 @@}.langShort {width: auto;- font-size: 11px;+ font-size: 12px;}}@@ -547,7 +552,7 @@}.modeSwitch button {padding: 3px 6px;- font-size: 10.5px;+ font-size: 11px;max-width: 70px;}.exportLabel {@@ -562,7 +567,7 @@padding: 0 4px;}.langShort {- font-size: 10px;+ font-size: 11px;}}@@ -770,10 +775,13 @@overflow: hidden;cursor: grab;text-align: left;- transition: border-color var(--motion-fast) var(--ease);+ transition: border-color var(--motion-fast) var(--ease), transform var(--motion-base) var(--ease),+ box-shadow var(--motion-base) var(--ease);}.mediaCard:hover {border-color: var(--border-hi);+ transform: translateY(-2px);+ box-shadow: var(--elev-pop);}.mediaCard.selected {border-color: var(--accent);@@ -809,13 +817,13 @@gap: 8px;}.mediaCardStats .dur {- font-family: var(--font-mono);- font-size: 10.5px;+ font-size: 11.5px;+ font-variant-numeric: tabular-nums;color: var(--muted);}.mediaCardStats .size {- font-family: var(--font-mono);- font-size: 10.5px;+ font-size: 11.5px;+ font-variant-numeric: tabular-nums;color: var(--muted);}.mediaHint {@@ -825,7 +833,7 @@gap: 7px;padding: 7px 0 3px;color: var(--meta);- font-size: 11.5px;+ font-size: 12px;}.importBtn {display: flex;@@ -918,13 +926,13 @@flex-direction: column;align-items: center;gap: 8px;- color: rgba(255, 255, 255, 0.45);+ color: rgba(255, 255, 255, 0.7);font-size: 13px;font-weight: 500;}.recPreviewHint {- color: rgba(255, 255, 255, 0.3);- font-size: 11.5px;+ color: rgba(255, 255, 255, 0.55);+ font-size: 12.5px;font-weight: 400;}.recBadge {@@ -941,8 +949,8 @@-webkit-backdrop-filter: blur(12px);border: 1px solid rgba(255, 255, 255, 0.14);color: #fff;- font-family: var(--font-mono);- font-size: 11px;+ font-size: 12px;+ font-weight: 500;}.recDot {width: 7px;@@ -1036,7 +1044,7 @@padding: 0 12px;border-radius: 9px;border: 1px solid var(--border);- background: var(--surface);+ background: var(--surface-hi);color: var(--fg);font-size: 12.5px;font-weight: 500;@@ -1064,7 +1072,7 @@padding: 0 8px;border-radius: 9px;border: 1px solid var(--border);- background: var(--surface);+ background: var(--surface-hi);color: var(--fg);font-size: 12.5px;cursor: pointer;@@ -1081,11 +1089,11 @@/* The toggle keeps its size; the device dropdown yields space instead, so theOn/Off control is always fully visible (issue #624). */flex-shrink: 0;- height: 28px;- padding: 0 10px;- border-radius: 8px;+ height: 32px;+ padding: 0 12px;+ border-radius: 9px;border: 1px solid var(--border);- background: var(--surface);+ background: var(--surface-hi);color: var(--muted);font-size: 12px;font-weight: 600;@@ -1112,7 +1120,7 @@flex-shrink: 0;text-align: center;color: var(--muted);- font-size: 11.5px;+ font-size: 12px;margin: -6px 0 0;}.recCancelBtn {@@ -1165,7 +1173,7 @@border: 1px solid var(--border-soft);background: var(--surface-2);color: var(--muted);- font-size: 10.5px;+ font-size: 11px;font-weight: 600;line-height: 1.4;}@@ -1393,17 +1401,17 @@.tlTools {display: flex;align-items: center;- gap: 1px;+ gap: 4px;}.tlToolBtn {- width: 28px;- height: 28px;+ width: 32px;+ height: 32px;display: grid;place-items: center;border: 0;background: transparent;color: var(--muted);- border-radius: 6px;+ border-radius: 9px;cursor: pointer;transition: background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);}@@ -1428,17 +1436,13 @@align-items: center;gap: 7px;height: 26px;- padding: 0 10px;- background: var(--surface-1);- border: 1px solid var(--border);- border-radius: 7px;- font-size: 11px;+ padding: 0 2px;+ font-size: 12px;font-weight: 500;- color: var(--muted);+ color: var(--meta);}.tlKbd {- font-family: var(--font-mono);- font-size: 10.5px;+ font-size: 12px;font-weight: 600;color: var(--fg-2);}@@ -1591,11 +1595,11 @@}.tlTickLabel {position: absolute;- top: 12px;+ top: 11px;left: 50%;transform: translateX(-50%);- font-family: var(--font-mono);- font-size: 10px;+ font-size: 11px;+ font-variant-numeric: tabular-nums;color: var(--meta);white-space: nowrap;pointer-events: none;@@ -1604,7 +1608,7 @@position: relative;height: 24px;margin-bottom: 5px;- border-radius: 6px;+ border-radius: 8px;background: var(--surface-1);}.laneEmpty {@@ -1616,7 +1620,7 @@display: flex;align-items: center;justify-content: center;- font-size: 11px;+ font-size: 12px;font-weight: 500;/* Deliberately quieter than lane content: it's a standing hint on every emptylane, so at --muted five of them shout over the clips. */@@ -1637,11 +1641,11 @@align-items: center;gap: 5px;padding: 0 8px 0 7px;- border-radius: 6px;+ border-radius: 8px;border: 1.5px solid var(--accent);background: var(--accent-soft);color: var(--fg);- font-size: 11px;+ font-size: 12px;font-weight: 600;white-space: nowrap;overflow: hidden;@@ -1714,7 +1718,7 @@position: absolute;min-width: 1px;overflow: hidden;- border-radius: 6px;+ border-radius: 8px;/* Faint enough to read as "not the pill". Louder than this and it draws the eye tothe part you are NOT editing — and on a long file it spans the whole ruler. */border: 1px dashed color-mix(in oklch, var(--accent) 18%, transparent);@@ -1736,7 +1740,7 @@border: 1px solid var(--border-hi);background: var(--bg);color: var(--fg);- font-size: 11px;+ font-size: 12px;font-variant-numeric: tabular-nums;white-space: nowrap;pointer-events: none;@@ -1954,17 +1958,17 @@-webkit-backdrop-filter: blur(8px);}.tlClipIcon {- width: 16px;- height: 16px;+ width: 20px;+ height: 20px;display: grid;place-items: center;- border-radius: 5px;+ border-radius: 6px;background: var(--surface);color: var(--fg);flex-shrink: 0;}.tlClipName {- font-size: 11px;+ font-size: 12px;font-weight: 500;color: #fff;white-space: nowrap;@@ -1972,8 +1976,9 @@text-overflow: ellipsis;}.tlClipDuration {- font: 500 10px/1.2 var(--font-mono);- color: rgba(255, 255, 255, 0.7);+ font: 500 11px/1.2 var(--font-body);+ font-variant-numeric: tabular-nums;+ color: rgba(255, 255, 255, 0.75);white-space: nowrap;flex-shrink: 0;}@@ -1986,7 +1991,7 @@height: 26px;display: grid;place-items: center;- border-radius: 7px;+ border-radius: 8px;/* The chip itself is a fixed dark frosted-glass overlay regardless oftheme (it sits on top of an arbitrary video thumbnail), so its iconneeds the "light text on a dark overlay" token, not --muted — which@@ -2098,7 +2103,7 @@border: 0;background: transparent;color: var(--fg-2);- font-size: 11.5px;+ font-size: 12px;font-weight: 500;border-radius: 7px;cursor: pointer;@@ -2156,7 +2161,7 @@color: var(--fg);}.voiceoverBarTitle span {- font-size: 11px;+ font-size: 12px;color: var(--muted);}diff --git a/src/components/ai-edition/v4/EditorTopBar.tsx b/src/components/ai-edition/v4/EditorTopBar.tsxindex 759509c54..0580cc6be 100644--- a/src/components/ai-edition/v4/EditorTopBar.tsx+++ b/src/components/ai-edition/v4/EditorTopBar.tsx@@ -502,7 +502,7 @@ function LangButton() {the CJK "简中", and letting the button size to them moved everythingto its right on each language change. */}<span className={styles.langShort}>{getLocaleShort(locale)}</span>- <ChevronDown size={9} className={styles.langChevron} />+ <ChevronDown size={12} className={styles.langChevron} /></button>{open ? (<div className={styles.langMenu}>diff --git a/src/components/ai-edition/v4/FloatingInspector.test.tsx b/src/components/ai-edition/v4/FloatingInspector.test.tsxindex 093e3449d..3602c283c 100644--- a/src/components/ai-edition/v4/FloatingInspector.test.tsx+++ b/src/components/ai-edition/v4/FloatingInspector.test.tsx@@ -23,7 +23,27 @@ vi.mock("../RightPanes", () => ({CursorPane: () => <div data-testid="cursor-pane">CursorPane</div>,LayoutPane: () => <div data-testid="layout-pane">LayoutPane</div>,SliderCell: () => <div data-testid="slider-cell">SliderCell</div>,- Toggle: () => <div data-testid="toggle">Toggle</div>,+ // The real switch contract (a button carrying aria-pressed), so the click-impact tests below+ // can find, read and press it.+ Toggle: ({+ checked,+ disabled,+ ariaLabel,+ onChange,+ }: {+ checked: boolean;+ disabled?: boolean;+ ariaLabel?: string;+ onChange: (next: boolean) => void;+ }) => (+ <button+ type="button"+ aria-pressed={checked}+ aria-label={ariaLabel}+ disabled={disabled}+ onClick={() => onChange(!checked)}+ />+ ),TranscriptPane: () => <div data-testid="transcript-pane">TranscriptPane</div>,VideoEffectsPane: () => <div data-testid="effects-pane">VideoEffectsPane</div>,}));@@ -102,7 +122,7 @@ describe("FloatingInspector", () => {expect(clearSelection).toHaveBeenCalledTimes(1);});- describe("click impact checkbox", () => {+ describe("click impact toggle", () => {const zoomTl = (region: Record<string, unknown>) => {const updateZoomClickImpact = vi.fn();const tl = {@@ -119,8 +139,8 @@ describe("FloatingInspector", () => {it("is off by default and disabled with its reason when there is no 3D preset", () => {const { tl } = zoomTl({});render(<FloatingInspector {...defaultProps} tl={tl} />);- const box = screen.getByRole("checkbox", { name: "settings.zoom.clickImpact.title" });- expect(box).not.toBeChecked();+ const box = screen.getByRole("button", { name: "settings.zoom.clickImpact.title" });+ expect(box).toHaveAttribute("aria-pressed", "false");expect(box).toBeDisabled();expect(screen.getByText("settings.zoom.clickImpact.needsRotation")).toBeInTheDocument();});@@ -129,7 +149,7 @@ describe("FloatingInspector", () => {const { tl } = zoomTl({ rotationPreset: "iso", hideCursor: true });render(<FloatingInspector {...defaultProps} tl={tl} />);expect(- screen.getByRole("checkbox", { name: "settings.zoom.clickImpact.title" }),+ screen.getByRole("button", { name: "settings.zoom.clickImpact.title" }),).toBeDisabled();expect(screen.getByText("settings.zoom.clickImpact.needsCursor")).toBeInTheDocument();});@@ -137,7 +157,7 @@ describe("FloatingInspector", () => {it("says the orbiting camera recoils on a click, since its screen stays still", () => {const { tl, updateZoomClickImpact } = zoomTl({ rotationPreset: "follow-cursor" });render(<FloatingInspector {...defaultProps} tl={tl} />);- const box = screen.getByRole("checkbox", { name: "settings.zoom.clickImpact.title" });+ const box = screen.getByRole("button", { name: "settings.zoom.clickImpact.title" });expect(box).toBeEnabled();expect(screen.getByText("settings.zoom.clickImpact.descriptionCamera")).toBeInTheDocument();fireEvent.click(box);@@ -150,7 +170,7 @@ describe("FloatingInspector", () => {const { tl } = zoomTl({ rotationPreset: "iso" });render(<FloatingInspector {...defaultProps} tl={tl} />);expect(- screen.getByRole("checkbox", { name: "settings.zoom.clickImpact.title" }),+ screen.getByRole("button", { name: "settings.zoom.clickImpact.title" }),).toBeDisabled();expect(screen.getByText("settings.zoom.clickImpact.needsCursor")).toBeInTheDocument();} finally {@@ -161,7 +181,7 @@ describe("FloatingInspector", () => {it("toggles the region's clickImpact under a 3D preset", () => {const { tl, updateZoomClickImpact } = zoomTl({ rotationPreset: "iso" });render(<FloatingInspector {...defaultProps} tl={tl} />);- const box = screen.getByRole("checkbox", { name: "settings.zoom.clickImpact.title" });+ const box = screen.getByRole("button", { name: "settings.zoom.clickImpact.title" });expect(box).toBeEnabled();expect(screen.getByText("settings.zoom.clickImpact.description")).toBeInTheDocument();fireEvent.click(box);diff --git a/src/components/ai-edition/v4/FloatingInspector.tsx b/src/components/ai-edition/v4/FloatingInspector.tsxindex f6a0d2131..cc209df16 100644--- a/src/components/ai-edition/v4/FloatingInspector.tsx+++ b/src/components/ai-edition/v4/FloatingInspector.tsx@@ -9,6 +9,7 @@ import {Scissors,SlidersHorizontal,Trash2,+ Undo2,X,ZoomIn,} from "lucide-react";@@ -43,6 +44,7 @@ import type { useTimeline } from "@/lib/ai-edition/store/useTimeline";import { formatSeconds } from "@/lib/ai-edition/timeline/format";import { coalescedTrimGroups } from "@/lib/ai-edition/timeline/trim-mapping";import { ColorField } from "../ColorField";+import shell from "../NewEditorShell.module.css";import {AudioPane,AudioTrackPane,@@ -200,11 +202,8 @@ export function FloatingInspector({<pstyle={{margin: "4px 8px 6px",- fontSize: 11,- fontWeight: 600,- textTransform: "uppercase",- letterSpacing: "0.04em",- color: "var(--muted)",+ font: "600 12px/1.3 var(--font-body)",+ color: "var(--fg-2)",}}>{te("editClipDialog.pickClipTitle")}@@ -232,10 +231,16 @@ export function FloatingInspector({textAlign: "left",}}>- <span style={{ font: "600 12.5px var(--font-display)" }}>+ <span style={{ font: "600 13px var(--font-display)" }}>{te("editClipDialog.clipLabel", { index: index + 1 })}</span>- <span style={{ font: "500 11px var(--font-mono)", color: "var(--muted)" }}>+ <span+ style={{+ font: "500 12px var(--font-body)",+ fontVariantNumeric: "tabular-nums",+ color: "var(--muted)",+ }}+ >{formatSeconds(clip.timelineStartSec)}–{formatSeconds(clip.timelineEndSec)}</span></button>@@ -281,11 +286,11 @@ function paneHeader(icon: React.ReactNode, title: string, onClose: () => void, caria-label={closeLabel}onClick={onClose}style={{- width: 28,- height: 28,+ width: 30,+ height: 30,}}>- <X size={15} />+ <X size={16} /></button></header>);@@ -301,7 +306,7 @@ function paneRow(label: string, control: React.ReactNode) {gap: 10,}}>- <span style={{ fontSize: 12.5, color: "var(--fg-2)", fontWeight: 500 }}>{label}</span>+ <span style={{ fontSize: 13, color: "var(--fg-2)", fontWeight: 500 }}>{label}</span>{control}</div>);@@ -315,8 +320,8 @@ const CAMERA_KEYS: Record<Rotation3DPreset, string> = {"follow-cursor": "followCursor",};-/** « Click impact » : une case à cocher, et dessous ce qu'elle fait — ou pourquoi elle ne peut- * rien faire ici. */+/** « Click impact » : la bascule des panneaux, et dessous ce qu'elle fait — ou pourquoi elle ne+ * peut rien faire ici. */function ClickImpactToggle({checked,blocker,@@ -333,27 +338,11 @@ function ClickImpactToggle({const disabled = blocker !== null;return (<div style={{ display: "flex", flexDirection: "column", gap: 4 }}>- <label- style={{- display: "flex",- alignItems: "center",- justifyContent: "space-between",- gap: 10,- opacity: disabled ? 0.5 : 1,- cursor: disabled ? "not-allowed" : "pointer",- }}- >- <span style={{ fontSize: 12.5, color: "var(--fg-2)", fontWeight: 500 }}>{label}</span>- <input- type="checkbox"- checked={checked}- disabled={disabled}- onChange={(e) => onChange(e.target.checked)}- />- </label>- <p style={{ margin: 0, font: "400 11px/1.45 var(--font-sans)", color: "var(--fg-2)" }}>- {blocker ?? description}- </p>+ {paneRow(+ label,+ <Toggle checked={checked} disabled={disabled} ariaLabel={label} onChange={onChange} />,+ )}+ <p className={shell.hint}>{blocker ?? description}</p></div>);}@@ -361,16 +350,18 @@ function ClickImpactToggle({type AnnotationKind = AxcutAnnotationRegion["type"];type ArrowDirectionKind = NonNullable<AxcutAnnotationRegion["figureData"]>["arrowDirection"];-/** Les huit directions de `ArrowSvgs.tsx`, dans l'ordre où elles y sont définies. */-const ARROW_DIRECTIONS: ArrowDirectionKind[] = [- "up",- "down",- "left",- "right",- "up-right",- "up-left",- "down-right",- "down-left",+/** Les huit directions de `ArrowSvgs.tsx`, dans l'ordre où elles y sont définies, chacune avec+ * la flèche qui la montre : aucune langue n'a de libellé pour elles, et la valeur brute+ * (« up-right ») s'affichait telle quelle. */+const ARROW_DIRECTIONS: Array<[ArrowDirectionKind, string]> = [+ ["up", "↑"],+ ["down", "↓"],+ ["left", "←"],+ ["right", "→"],+ ["up-right", "↗"],+ ["up-left", "↖"],+ ["down-right", "↘"],+ ["down-left", "↙"],];/** Défauts du schéma, pour compléter un `blurData` absent sans écraser ce qui existe. */@@ -465,7 +456,7 @@ export function SpeedControl({<selectvalue={region.speed}onChange={(e) => void tl.updateSpeedValue(region.id, Number(e.target.value))}- style={selectStyle}+ className={shell.control}>{options.map((speed) => (<option key={speed} value={speed}>@@ -488,7 +479,8 @@ export function SpeedControl({onKeyDown={(e) => {if (e.key === "Enter") e.currentTarget.blur();}}- style={{ ...selectStyle, width: 84, textAlign: "right" }}+ className={shell.control}+ style={{ width: 84, textAlign: "right" }}/>,)}{/* No hint past 16×. There is nothing for the user to do about it and nothing that@@ -554,26 +546,13 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }scrollbarWidth: "thin",scrollbarColor: "var(--border) transparent",};- const deleteBtnStyle: React.CSSProperties = {- display: "inline-flex",- alignItems: "center",- justifyContent: "center",- gap: 7,- padding: "9px 14px",- borderRadius: 10,- border: "1px solid var(--danger)",- background: "var(--danger-soft)",- color: "var(--danger)",- font: "600 13px var(--font-display)",- cursor: "pointer",- };if (selection.kind === "zoom") {const region = tl.zoomRegions.find((z) => z.id === selection.id);if (!region) return null;return (<div style={{ display: "flex", flexDirection: "column", minHeight: 0 }}>- {paneHeader(<ZoomIn size={15} />, tt("labels.zoom"), onClose, tc("actions.close"))}+ {paneHeader(<ZoomIn size={16} />, tt("labels.zoom"), onClose, tc("actions.close"))}<div style={bodyStyle}>{paneRow(ts("zoom.level"),@@ -582,7 +561,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }onChange={(e) =>void tl.updateZoomDepth(region.id, Number(e.target.value) as 1 | 2 | 3 | 4 | 5 | 6)}- style={selectStyle}+ className={shell.control}>{ZOOM_DEPTHS.map((d) => (<option key={d} value={d}>@@ -609,7 +588,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }isRotation3DPreset(e.target.value) ? e.target.value : undefined,)}- style={selectStyle}+ className={shell.control}><option value="off">{ts("zoom.camera.off")}</option><optgroup label={ts("zoom.camera.fixed")}>@@ -628,7 +607,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }</optgroup></select>,)}- <p style={{ margin: 0, font: "400 11px/1.45 var(--font-sans)", color: "var(--fg-2)" }}>+ <p className={shell.hint}>{// A moving camera reads the cursor track, which the export only loads while the// cursor is shown: say so rather than offer a camera that silently holds still.@@ -673,9 +652,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }onChange={(e) =>void tl.updateZoomFocusMode(region.id, e.target.value as "manual" | "auto")}- style={- autoFocusAll ? { ...selectStyle, opacity: 0.5, cursor: "not-allowed" } : selectStyle- }+ className={shell.control}><option value="manual">{ts("zoom.focusMode.manual")}</option><option value="auto">{ts("zoom.focusMode.auto")}</option>@@ -687,7 +664,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }aria-label={ts("zoom.cursor.title")}value={region.hideCursor ? "hide" : "show"}onChange={(e) => void tl.updateZoomHideCursor(region.id, e.target.value === "hide")}- style={selectStyle}+ className={shell.control}><option value="show">{ts("zoom.cursor.show")}</option><option value="hide">{ts("zoom.cursor.hide")}</option>@@ -698,7 +675,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }// point to reset and no gimbal on the canvas (ZoomFocusOverlay bows out) — the// reset button would be a no-op. When the global toggle is what forced auto, say// so, and say where to turn it off.- <p style={{ margin: 0, font: "400 11px/1.45 var(--font-sans)", color: "var(--fg-2)" }}>+ <p className={shell.hint}>{ts(autoFocusAll ? "zoom.focusMode.lockedDisclaimer" : "zoom.focusMode.autoDescription",)}@@ -710,13 +687,13 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }tl.updateZoomFocusLive(region.id, { cx: 0.5, cy: 0.5 });void tl.commitZoomFocus();}}- style={secondaryBtnStyle}+ className={PANE_BUTTON}>{te("inspector.resetFocusPoint")}</button>)}- <button type="button" onClick={deleteAndClose} style={deleteBtnStyle}>- <Trash2 size={14} />+ <button type="button" onClick={deleteAndClose} className={PANE_BUTTON}>+ <Trash2 size={16} style={{ color: "var(--danger)" }} />{ts("zoom.deleteZoom")}</button></div>@@ -729,11 +706,11 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }if (!region) return null;return (<div style={{ display: "flex", flexDirection: "column", minHeight: 0 }}>- {paneHeader(<ZoomIn size={15} />, tt("labels.speed"), onClose, tc("actions.close"))}+ {paneHeader(<ZoomIn size={16} />, tt("labels.speed"), onClose, tc("actions.close"))}<div style={bodyStyle}><SpeedControl region={region} tl={tl} />- <button type="button" onClick={deleteAndClose} style={deleteBtnStyle}>- <Trash2 size={14} />+ <button type="button" onClick={deleteAndClose} className={PANE_BUTTON}>+ <Trash2 size={16} style={{ color: "var(--danger)" }} />{ts("speed.deleteRegion")}</button></div>@@ -748,7 +725,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }return (<div style={{ display: "flex", flexDirection: "column", minHeight: 0 }}>{paneHeader(- <FileText size={15} />,+ <FileText size={16} />,tt("labels.annotationItem"),onClose,tc("actions.close"),@@ -769,7 +746,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void });void tl.commitAnnotationChange();}}- style={selectStyle}+ className={shell.control}><option value="text">{ts("annotation.typeText")}</option><option value="image">{ts("annotation.typeImage")}</option>@@ -779,7 +756,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void })}{region.type === "text" ? (<div style={{ display: "flex", flexDirection: "column", gap: 6 }}>- <span style={{ fontSize: 12.5, color: "var(--fg-2)", fontWeight: 500 }}>+ <span style={{ fontSize: 13, color: "var(--fg-2)", fontWeight: 500 }}>{ts("annotation.textContent")}</span><textarea@@ -788,15 +765,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }onChange={(e) => tl.updateAnnotationLive(region.id, { content: e.target.value })}onBlur={commitAnnotation}rows={2}- style={{- resize: "vertical",- padding: "8px 10px",- borderRadius: 9,- border: "1px solid var(--border)",- background: "var(--surface)",- color: "var(--fg)",- font: "500 13px var(--font-display)",- }}+ className={shell.control}/></div>) : null}@@ -805,10 +774,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }{/* Read as a data URL, which is what the renderer expects: `content` holds"Separate storage for image data URL" (types.ts) and both the previewoverlay and the compositor read it from there. */}- <label- style={{ ...secondaryBtnStyle, textAlign: "center", cursor: "pointer" }}- htmlFor={`ann-img-${region.id}`}- >+ <label className={PANE_BUTTON} htmlFor={`ann-img-${region.id}`}>{ts("annotation.uploadImage")}</label><input@@ -832,9 +798,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }reader.readAsDataURL(file);}}/>- <span style={{ font: "400 11px/1.4 var(--font-sans)", color: "var(--fg-2)" }}>- {ts("annotation.supportedFormats")}- </span>+ <span className={shell.hint}>{ts("annotation.supportedFormats")}</span></div>) : null}{region.type === "figure" ? (@@ -852,11 +816,12 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }});void tl.commitAnnotationChange();}}- style={selectStyle}+ aria-label={ts("annotation.arrowDirection")}+ className={shell.control}>- {ARROW_DIRECTIONS.map((d) => (+ {ARROW_DIRECTIONS.map(([d, glyph]) => (<option key={d} value={d}>- {d}+ {glyph}</option>))}</select>,@@ -913,7 +878,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }});void tl.commitAnnotationChange();}}- style={selectStyle}+ className={shell.control}><option value="blur">{ts("annotation.blurTypeBlur")}</option><option value="mosaic">{ts("annotation.blurTypeMosaic")}</option>@@ -932,7 +897,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }});void tl.commitAnnotationChange();}}- style={selectStyle}+ className={shell.control}><option value="rectangle">{ts("annotation.blurShapeRectangle")}</option><option value="oval">{ts("annotation.blurShapeOval")}</option>@@ -951,15 +916,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }// Say it rather than let the user discover it: the compositor masks the// bounding box for a freehand shape, deliberately over-covering instead// of leaving anything the user marked private visible in the export.- <p- style={{- margin: 0,- font: "400 11px/1.45 var(--font-sans)",- color: "var(--fg-2)",- }}- >- {te("inspector.freehandRendersAsBox")}- </p>+ <p className={shell.hint}>{te("inspector.freehandRendersAsBox")}</p>) : null}</>) : null}@@ -981,7 +938,8 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }})}onBlur={commitAnnotation}- style={{ ...selectStyle, width: 84, textAlign: "right" }}+ className={shell.control}+ style={{ width: 84, textAlign: "right" }}/>,): null}@@ -1034,7 +992,7 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }});void tl.commitAnnotationChange();}}- style={selectStyle}+ className={shell.control}>{TEXT_ANIMATION_VALUES.map((value) => (<option key={value} value={value}>@@ -1059,8 +1017,8 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }/>,): null}- <button type="button" onClick={deleteAndClose} style={deleteBtnStyle}>- <Trash2 size={14} />+ <button type="button" onClick={deleteAndClose} className={PANE_BUTTON}>+ <Trash2 size={16} style={{ color: "var(--danger)" }} />{ts("annotation.deleteAnnotation")}</button></div>@@ -1074,17 +1032,15 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }return (<div style={{ display: "flex", flexDirection: "column", minHeight: 0 }}>{paneHeader(- <Maximize2 size={15} />,+ <Maximize2 size={16} />,tt("labels.cameraFullscreen"),onClose,tc("actions.close"),)}<div style={bodyStyle}>- <p style={{ margin: 0, fontSize: 12, lineHeight: 1.5, color: "var(--muted)" }}>- {te("inspector.cameraFullscreenDescription")}- </p>- <button type="button" onClick={deleteAndClose} style={deleteBtnStyle}>- <Trash2 size={14} />+ <p className={shell.hint}>{te("inspector.cameraFullscreenDescription")}</p>+ <button type="button" onClick={deleteAndClose} className={PANE_BUTTON}>+ <Trash2 size={16} style={{ color: "var(--danger)" }} />{te("inspector.deleteRegion")}</button></div>@@ -1108,13 +1064,14 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void }};return (<div style={{ display: "flex", flexDirection: "column", minHeight: 0 }}>- {paneHeader(<Scissors size={15} />, tt("labels.trim"), onClose, tc("actions.close"))}+ {paneHeader(<Scissors size={16} />, tt("labels.trim"), onClose, tc("actions.close"))}<div style={bodyStyle}>- <p style={{ margin: 0, fontSize: 12, lineHeight: 1.5, color: "var(--muted)" }}>+ <p className={shell.hint}>{te("inspector.trimHiddenDuration", { duration: durationSec.toFixed(1) })}</p>- <button type="button" onClick={deleteTrimGroup} style={deleteBtnStyle}>- <Trash2 size={14} />+ {/* Deleting the trim restores the footage, so it reads as an undo, not a delete. */}+ <button type="button" onClick={deleteTrimGroup} className={PANE_BUTTON}>+ <Undo2 size={16} />{te("inspector.restoreDeleteTrim")}</button></div>@@ -1122,25 +1079,9 @@ function SelectionPane({ tl, onClose }: { tl: TimelineApi; onClose: () => void });}-const selectStyle: React.CSSProperties = {- height: 32,- padding: "0 8px",- borderRadius: 8,- border: "1px solid var(--border)",- background: "var(--surface)",- color: "var(--fg)",- font: "500 12.5px var(--font-display)",-};--const secondaryBtnStyle: React.CSSProperties = {- padding: "9px 14px",- borderRadius: 10,- border: "1px solid var(--border-hi)",- background: "var(--surface-2)",- color: "var(--fg-2)",- font: "600 13px var(--font-display)",- cursor: "pointer",-};+/** Every action of the selection pane, delete included: the red icon says it destroys; a red+ * slab outshouted every setting above it. */+const PANE_BUTTON = `${shell.btn} ${shell.btnSecondary}`;function FacetBody({facet,@@ -1163,11 +1104,11 @@ function FacetBody({position: "absolute",top: 12,right: 12,- width: 26,- height: 26,+ width: 30,+ height: 30,display: "grid",placeItems: "center",- borderRadius: 8,+ borderRadius: 10,color: "var(--muted)",background: "var(--surface-1)",border: 0,@@ -1175,7 +1116,7 @@ function FacetBody({zIndex: 5,}}>- <ChevronRight size={15} />+ <ChevronRight size={16} /></button>);diff --git a/src/components/ai-edition/v4/MediaStage.tsx b/src/components/ai-edition/v4/MediaStage.tsxindex 94dce2859..ba21bc149 100644--- a/src/components/ai-edition/v4/MediaStage.tsx+++ b/src/components/ai-edition/v4/MediaStage.tsx@@ -324,7 +324,7 @@ export function MediaStage({: selectedTranscription.status === "ready"? "var(--success)": "var(--accent)",- fontSize: 11.5,+ fontSize: 12,fontWeight: 600,}}>@@ -347,7 +347,7 @@ export function MediaStage({borderRadius: 9999,background: "var(--success-soft)",color: "var(--success)",- fontSize: 11.5,+ fontSize: 12,fontWeight: 600,}}>@@ -365,7 +365,7 @@ export function MediaStage({<pstyle={{margin: "-8px 0 16px",- fontSize: 11.5,+ fontSize: 12,lineHeight: 1.5,color: "var(--muted)",}}@@ -379,7 +379,7 @@ export function MediaStage({<div style={{ marginBottom: 12 }}><divstyle={{- fontSize: 11.5,+ fontSize: 12.5,fontWeight: 600,color: "var(--fg-2)",marginBottom: 6,diff --git a/src/components/ai-edition/v4/V4Timeline.tsx b/src/components/ai-edition/v4/V4Timeline.tsxindex 28aad552c..663f6c171 100644--- a/src/components/ai-edition/v4/V4Timeline.tsx+++ b/src/components/ai-edition/v4/V4Timeline.tsx@@ -537,7 +537,7 @@ const AudioLanePill = memo(function AudioLanePill({): null}<span className={styles.laneAudioLabel}>- <Music size={11} />+ <Music size={12} />{label}</span><span@@ -1385,15 +1385,15 @@ export function V4Timeline({: styles.laneZoom;const pillIcon = (kind: LanePill["kind"]) =>kind === "annotation" ? (- <MessageSquare size={11} />+ <MessageSquare size={12} />) : kind === "speed" ? (- <Clock size={11} />+ <Clock size={12} />) : kind === "trim" ? (- <Scissors size={11} />+ <Scissors size={12} />) : kind === "cameraFullscreen" ? (- <Maximize2 size={11} />+ <Maximize2 size={12} />) : (- <ZoomIn size={11} />+ <ZoomIn size={12} />);// Drag a clip left/right to reorder it relative to its neighbours. Pointer-@@ -1493,9 +1493,9 @@ export function V4Timeline({);const tools: Array<{ id: ToolId; label: string; icon: React.ReactNode }> = [- { id: "cut", label: t("buttons.addTrim"), icon: <SplitSquareHorizontal size={15} /> },- { id: "comment", label: t("toolbar.comment"), icon: <MessageSquare size={15} /> },- { id: "speed", label: t("buttons.addSpeed"), icon: <Clock size={15} /> },+ { id: "cut", label: t("buttons.addTrim"), icon: <SplitSquareHorizontal size={16} /> },+ { id: "comment", label: t("buttons.addAnnotation"), icon: <MessageSquare size={16} /> },+ { id: "speed", label: t("buttons.addSpeed"), icon: <Clock size={16} /> },];// Auto-enhance option 1 — the deterministic cursor-telemetry auto-zoom@@ -1777,9 +1777,9 @@ export function V4Timeline({disabled={autoBusy}>{autoBusy ? (- <Loader2 className="animate-spin" size={15} />+ <Loader2 className="animate-spin" size={16} />) : (- <Wand2 size={15} />+ <Wand2 size={16} />)}</button></PopoverTrigger>@@ -1799,10 +1799,10 @@ export function V4Timeline({className={styles.recMenuRow}onClick={() => void runAutoZooms()}>- <ZoomIn size={15} style={{ flexShrink: 0 }} />+ <ZoomIn size={16} style={{ flexShrink: 0 }} /><span style={{ display: "flex", flexDirection: "column", gap: 1 }}><span style={{ fontWeight: 600 }}>{t("toolbar.automaticZooms")}</span>- <span style={{ fontSize: 11, color: "var(--muted)" }}>+ <span style={{ fontSize: 12, color: "var(--muted)" }}>{t("toolbar.automaticZoomsHint")}</span></span>@@ -1820,13 +1820,13 @@ export function V4Timeline({}>{transcriptGate.state === "pending" ? (- <Loader2 size={15} className="animate-spin" style={{ flexShrink: 0 }} />+ <Loader2 size={16} className="animate-spin" style={{ flexShrink: 0 }} />) : (- <Sparkles size={15} style={{ flexShrink: 0 }} />+ <Sparkles size={16} style={{ flexShrink: 0 }} />)}<span style={{ display: "flex", flexDirection: "column", gap: 1 }}><span style={{ fontWeight: 600 }}>{t("toolbar.smartZoomsAndCuts")}</span>- <span style={{ fontSize: 11, color: "var(--muted)" }}>{smartCutsHint}</span>+ <span style={{ fontSize: 12, color: "var(--muted)" }}>{smartCutsHint}</span></span></button></div>@@ -1867,7 +1867,7 @@ export function V4Timeline({className={styles.tlToolBtn}aria-label={t("toolbar.addAudioTooltip")}>- <AudioLines size={15} />+ <AudioLines size={16} /></button></PopoverTrigger></Tooltip>@@ -1889,10 +1889,10 @@ export function V4Timeline({onAddVoiceover();}}>- <Mic size={15} style={{ flexShrink: 0 }} />+ <Mic size={16} style={{ flexShrink: 0 }} /><span style={{ display: "flex", flexDirection: "column", gap: 1 }}><span style={{ fontWeight: 600 }}>{t("audio.addVoiceover")}</span>- <span style={{ fontSize: 11, color: "var(--muted)" }}>+ <span style={{ fontSize: 12, color: "var(--muted)" }}>{t("audio.addVoiceoverHint")}</span></span>@@ -1908,10 +1908,10 @@ export function V4Timeline({void tl.addAudio();}}>- <Music size={15} style={{ flexShrink: 0 }} />+ <Music size={16} style={{ flexShrink: 0 }} /><span style={{ display: "flex", flexDirection: "column", gap: 1 }}><span style={{ fontWeight: 600 }}>{ts("audioTrack.add")}</span>- <span style={{ fontSize: 11, color: "var(--muted)" }}>+ <span style={{ fontSize: 12, color: "var(--muted)" }}>{t("audio.importFileHint")}</span></span>@@ -1932,7 +1932,7 @@ export function V4Timeline({aria-label={t("buttons.addZoom")}onClick={() => void tl.addZoom(newRegionDurationSec())}>- <ZoomIn size={15} />+ <ZoomIn size={16} /></button></Tooltip><Tooltip@@ -1949,7 +1949,7 @@ export function V4Timeline({)}onClick={() => void setSettings({ autoFocusAll: !settings.autoFocusAll })}>- <Crosshair size={15} />+ <Crosshair size={16} /></button></Tooltip><Tooltip content={t("buttons.addCameraFullscreen")}>@@ -1961,7 +1961,7 @@ export function V4Timeline({style={!hasAnyCamera ? { opacity: 0.55, cursor: "not-allowed" } : undefined}onClick={() => void tl.addCameraFullscreen(newRegionDurationSec())}>- <Maximize2 size={15} />+ <Maximize2 size={16} /></button></Tooltip></div>@@ -1983,7 +1983,7 @@ export function V4Timeline({<span style={{ fontSize: 12.5, fontWeight: 600, color: "var(--fg-2)" }}>{t("toolbar.arrangeClips")}</span>- <span style={{ fontSize: 11.5, color: "var(--meta)" }}>+ <span style={{ fontSize: 12, color: "var(--meta)" }}>{t("toolbar.arrangeClipsHint")}</span></div>@@ -2260,7 +2260,7 @@ export function V4Timeline({onEditClip(c);}}>- <Pencil size={9} />+ <Pencil size={12} /></span><span className={styles.tlClipName}>{tl.assets.find((a) => a.id === c.assetId)?.label ?? c.assetId}@@ -2282,7 +2282,7 @@ export function V4Timeline({void tl.removeClip(c.id);}}>- <Trash2 size={13} />+ <Trash2 size={14} /></button>) : null}</div>diff --git a/src/components/launch/HudControls.tsx b/src/components/launch/HudControls.tsxindex a78925ffb..a84612a8a 100644--- a/src/components/launch/HudControls.tsx+++ b/src/components/launch/HudControls.tsx@@ -24,20 +24,26 @@ import styles from "./LaunchWindow.module.css";// the parent) so the boundaries actually hold.const hudDisabledClasses =- "disabled:opacity-30 disabled:cursor-not-allowed disabled:pointer-events-none";+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none";++// The browser's default focus outline all but disappears on the dark bar.+const hudFocusClasses =+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#10b981]/70";// Exact values from the design's renderVals() (comfortable density, rounded// shape, #10b981 accent) — btnSize 34 / btnRadius 10 / containerRadius 17// (btnRadius + padY) / dividerLen 22. Every control is its own standalone// transparent icon button (no shared "group" pill background) — grouping// reads purely from proximity + the divider spans between logical sections.-const hudIconBtnClasses = `flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-[#1a1e25] hover:text-[#f5f7fa] active:scale-95 ${hudDisabledClasses} ${styles.electronNoDrag}`;+// Hover is a white wash rather than a darker grey: #1a1e25 on the #14171c bar+// was all but invisible.+const hudIconBtnClasses = `flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-white/[0.08] hover:text-[#f5f7fa] active:scale-95 ${hudDisabledClasses} ${hudFocusClasses} ${styles.electronNoDrag}`;-const hudAuxIconBtnClasses = `flex h-7 w-7 shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-colors duration-150 hover:bg-[#1a1e25] hover:text-[#f5f7fa] ${hudDisabledClasses}`;+const hudAuxIconBtnClasses = `flex h-8 w-8 shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#9aa3ae] transition-colors duration-150 hover:bg-white/[0.08] hover:text-[#f5f7fa] ${hudDisabledClasses} ${hudFocusClasses}`;-const windowBtnClasses = `flex h-[30px] w-[30px] shrink-0 items-center justify-center rounded-[9px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-[#1a1e25] hover:text-[#e9edf3] ${hudDisabledClasses}`;+const windowBtnClasses = `flex h-8 w-8 shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-white/[0.08] hover:text-[#e9edf3] ${hudDisabledClasses} ${hudFocusClasses}`;-const closeBtnClasses = `flex h-[30px] w-[30px] shrink-0 items-center justify-center rounded-[9px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-[rgba(248,113,113,0.16)] hover:text-[#f87171] ${hudDisabledClasses}`;+const closeBtnClasses = `flex h-8 w-8 shrink-0 items-center justify-center rounded-[10px] border-0 bg-transparent cursor-pointer text-[#828c99] transition-all duration-150 hover:bg-[rgba(248,113,113,0.16)] hover:text-[#f87171] ${hudDisabledClasses} ${hudFocusClasses}`;export const HudDivider = memo(function HudDivider({ vertical }: { vertical: boolean }) {return (@@ -85,7 +91,7 @@ export const HudDragHandle = memo(function HudDragHandle({onPointerUp={onPointerEnd}onPointerCancel={onPointerEnd}>- {getIcon("drag", "text-[#333a45]")}+ {getIcon("drag", "text-[#5c6672]")}</div>);});@@ -129,7 +135,7 @@ export const HudSourceButton = memo(function HudSourceButton({return (<buttondata-testid="launch-source-selector-button"- className={`flex h-[34px] shrink-0 items-center gap-[7px] rounded-[10px] border-0 bg-transparent text-[#f5f7fa] transition-all duration-150 hover:bg-[#1a1e25] active:scale-[0.97] ${hudDisabledClasses} ${+ className={`flex h-[34px] shrink-0 items-center gap-[7px] rounded-[10px] border-0 bg-transparent text-[#f5f7fa] transition-all duration-150 hover:bg-white/[0.08] active:scale-[0.97] ${hudDisabledClasses} ${hudFocusClasses} ${vertical ? "w-[34px] justify-center px-0" : "pr-3 pl-2.5"} ${styles.electronNoDrag}`}onClick={onClick}@@ -246,7 +252,7 @@ export const HudSettingsButton = memo(function HudSettingsButton({aria-haspopup="dialog"// Dimmer at rest than the toggles it configures, so it reads as their// accessory rather than a fourth peer control.- className={`${hudIconBtnClasses} text-[#5c6672] ${disabled ? "opacity-30 cursor-not-allowed pointer-events-none" : ""}`}+ className={`${hudIconBtnClasses} text-[#5c6672]`}onClick={onClick}disabled={disabled}>@@ -271,10 +277,10 @@ export const HudCursorButton = memo(function HudCursorButton({<buttondata-testid="launch-cursor-mode-button"aria-label={label}- className={`flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-[10px] border-0 cursor-pointer transition-all duration-150 active:scale-95 ${hudDisabledClasses} ${styles.electronNoDrag} ${+ className={`flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-[10px] border-0 cursor-pointer transition-all duration-150 active:scale-95 ${hudDisabledClasses} ${hudFocusClasses} ${styles.electronNoDrag} ${editableOverlay? "bg-[#10b981] text-[#08090d] hover:bg-[#0e9e6e]"- : "bg-transparent text-[#828c99] hover:bg-[#1a1e25] hover:text-[#f5f7fa]"+ : "bg-transparent text-[#828c99] hover:bg-white/[0.08] hover:text-[#f5f7fa]"}`}onClick={onClick}disabled={disabled}@@ -307,10 +313,11 @@ export const HudRecordButton = memo(function HudRecordButton({<buttondata-testid="launch-record-button"disabled={saving}- className={`flex h-[34px] shrink-0 items-center justify-center rounded-[17px] border-0 transition-all duration-150 ${recording || saving ? "min-w-[78px] px-3" : "w-[34px]"} ${styles.electronNoDrag} ${+ // A soft red wash at rest, so the main action reads as one from across the bar.+ className={`flex h-[34px] shrink-0 items-center justify-center rounded-[17px] border-0 transition-all duration-150 ${recording || saving ? "min-w-[78px] px-3" : "w-[34px]"} ${hudFocusClasses} ${styles.electronNoDrag} ${saving? "bg-transparent opacity-60 cursor-not-allowed"- : "bg-transparent hover:bg-[rgba(248,113,113,0.16)]"+ : "bg-[rgba(248,113,113,0.12)] hover:bg-[rgba(248,113,113,0.22)]"}`}onClick={onClick}title={label}@@ -359,7 +366,7 @@ export const HudStudioButton = memo(function HudStudioButton({data-testid="launch-open-studio-button"aria-label={label}disabled={disabled}- className={`${hudIconBtnClasses} ${disabled ? "opacity-30 cursor-not-allowed pointer-events-none" : ""}`}+ className={hudIconBtnClasses}onClick={onClick}><OpenInEditorIcon />@@ -383,7 +390,7 @@ export const HudNotesButton = memo(function HudNotesButton({type="button"aria-label={label}disabled={disabled}- className={`${hudIconBtnClasses} ${disabled ? "opacity-30 cursor-not-allowed pointer-events-none" : ""}`}+ className={hudIconBtnClasses}onClick={onClick}><NotepadText size={ICON_SIZE} />@@ -428,7 +435,7 @@ export const HudRecordingControls = memo(function HudRecordingControls({onClick={onTogglePause}disabled={saving}>- {getIcon(paused ? "resume" : "pause", paused ? "text-amber-400" : "text-white/60")}+ {getIcon(paused ? "resume" : "pause", paused ? "text-amber-400" : undefined)}</button></Tooltip>)}@@ -440,7 +447,7 @@ export const HudRecordingControls = memo(function HudRecordingControls({onClick={onRestart}disabled={saving}>- {getIcon("restart", "text-white/60")}+ {getIcon("restart")}</button></Tooltip><Tooltip content={cancelLabel}>@@ -451,7 +458,7 @@ export const HudRecordingControls = memo(function HudRecordingControls({onClick={onCancel}disabled={saving}>- {getIcon("cancel", "text-white/60")}+ {getIcon("cancel")}</button></Tooltip></div>@@ -485,14 +492,12 @@ export const HudLanguageButton = memo(function HudLanguageButton({disabled={disabled}onClick={onClick}title={label}- className={`flex h-[34px] items-center rounded-[10px] border-0 bg-transparent text-[#828c99] transition-all duration-150 hover:bg-[#1a1e25] hover:text-[#e9edf3] ${+ className={`flex h-[34px] items-center rounded-[10px] border-0 bg-transparent text-[#828c99] transition-all duration-150 hover:bg-white/[0.08] hover:text-[#e9edf3] ${vertical ? "w-[34px] justify-center px-0" : "gap-1.5 px-2.5"- } ${styles.electronNoDrag} ${disabled ? "opacity-30 cursor-not-allowed pointer-events-none" : ""}`}+ } ${hudDisabledClasses} ${hudFocusClasses} ${styles.electronNoDrag}`}><Languages size={16} className="shrink-0" />- <span- className={`${vertical ? "sr-only" : ""} font-mono text-[11px] font-semibold tracking-wide text-[#f5f7fa]`}- >+ <span className={`${vertical ? "sr-only" : ""} text-[12px] font-semibold text-[#f5f7fa]`}>{code}</span></button>@@ -577,7 +582,7 @@ export const HudLanguageMenu = memo(function HudLanguageMenu({className={`${styles.languageMenuItem} ${loc === activeLocale ? styles.languageMenuItemActive : ""}`}><span className="truncate">{getName(loc)}</span>- {loc === activeLocale ? <Check size={11} className="text-white/85" /> : null}+ {loc === activeLocale ? <Check size={14} className="text-white/85" /> : null}</button>))}</div>@@ -602,17 +607,17 @@ export const HudNotice = memo(function HudNotice({return (<divdata-hud-interactive="true"- className={`w-full rounded-xl border border-white/15 bg-[rgba(20,20,28,0.95)] p-3 shadow-2xl backdrop-blur-xl text-white animate-in fade-in-0 zoom-in-95 duration-200 ${styles.electronNoDrag}`}+ className={`${styles.hudNotice} w-full p-3 text-white animate-in fade-in-0 zoom-in-95 duration-200 ${styles.electronNoDrag}`}>- <div className="text-[13px] font-semibold text-white">{title}</div>- <div className="mt-1 text-[11px] leading-relaxed text-white/75">{description}</div>+ <div className="text-[14px] font-semibold text-white">{title}</div>+ <div className="mt-1 text-[12.5px] leading-relaxed text-white/75">{description}</div><div className="mt-3 flex items-center justify-end gap-2"><Buttontype="button"variant="ghost"size="sm"onClick={onDismiss}- className="h-7 text-xs text-white/80 hover:bg-white/10 hover:text-white"+ className={`h-8 rounded-[9px] text-[13px] text-white/80 hover:bg-white/10 hover:text-white ${hudFocusClasses}`}>{dismissLabel}</Button>@@ -620,7 +625,7 @@ export const HudNotice = memo(function HudNotice({type="button"size="sm"onClick={onConfirm}- className="h-7 text-xs bg-white text-[#10121b] hover:bg-white/90"+ className={`h-8 rounded-[9px] bg-[#10b981] text-[13px] font-semibold text-[#08090d] hover:bg-[#10b981]/85 ${hudFocusClasses}`}>{confirmLabel}</Button>diff --git a/src/components/launch/HudDeviceSettings.tsx b/src/components/launch/HudDeviceSettings.tsxindex 63d14bb7f..7e854eaa4 100644--- a/src/components/launch/HudDeviceSettings.tsx+++ b/src/components/launch/HudDeviceSettings.tsx@@ -149,7 +149,7 @@ export const HudDeviceSettings = memo(function HudDeviceSettings({onClick={onClose}className={styles.hudModalClose}>- <X size={14} />+ <X size={16} /></button></div>@@ -169,7 +169,7 @@ export const HudDeviceSettings = memo(function HudDeviceSettings({className={`${styles.languageMenuItem} ${isActive ? styles.languageMenuItemActive : ""}`}><span className="truncate">{device.label}</span>- {isActive ? <Check size={11} className="text-white/85" /> : null}+ {isActive ? <Check size={14} className="text-white/85" /> : null}</button>);})@@ -200,7 +200,7 @@ export const HudDeviceSettings = memo(function HudDeviceSettings({className={`${styles.languageMenuItem} ${isActive ? styles.languageMenuItemActive : ""}`}><span className="truncate">{device.label}</span>- {isActive ? <Check size={11} className="text-white/85" /> : null}+ {isActive ? <Check size={14} className="text-white/85" /> : null}</button>);})diff --git a/src/components/launch/HudIcons.tsx b/src/components/launch/HudIcons.tsxindex 0ec73bdff..a7d8b744d 100644--- a/src/components/launch/HudIcons.tsx+++ b/src/components/launch/HudIcons.tsx@@ -38,7 +38,7 @@ const HUD_SVG_PROPS = {viewBox: "0 0 24 24",fill: "none",stroke: "currentColor",- strokeWidth: 1.6,+ strokeWidth: 2.25,strokeLinecap: "round",strokeLinejoin: "round",} as const;diff --git a/src/components/launch/LaunchWindow.module.css b/src/components/launch/LaunchWindow.module.cssindex 8821194b1..0f522b32e 100644--- a/src/components/launch/LaunchWindow.module.css+++ b/src/components/launch/LaunchWindow.module.css@@ -69,17 +69,24 @@overflow-x: hidden;}+/* One surface for everything that floats above the bar (menus, the settings+ panel, notices), so they all read as one design. */+.hudPopover,+.hudModal,+.hudNotice {+ border-radius: 15px;+ border: 1px solid rgba(255, 255, 255, 0.1);+ background: #1a1e25;+ box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);+}+/* Shared shell for every floating HUD menu (language list, device pickers), so- they all read as one design and all reserve the same space in the window. */+ they all reserve the same space in the window. */.hudPopover {pointer-events: auto;width: 220px;box-sizing: border-box;padding: 6px;- border-radius: 15px;- border: 1px solid rgba(255, 255, 255, 0.1);- background: #1a1e25;- box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);}.hudPopoverScroll {@@ -115,9 +122,7 @@/* The mic and camera toggles plus the gear that configures them read as oneunit: tighter spacing than the bar's 5px, inside a hairline outline.- Deliberately an outline rather than the tinted pill the design rules out —- a fill that reads at all on #14171c lands brighter than the buttons' own- hover colour, which would invert the hover affordance. */+ Deliberately an outline rather than the tinted pill the design rules out. */.hudControlGroup {display: flex;align-items: center;@@ -147,33 +152,29 @@overscroll-behavior: contain;box-sizing: border-box;padding: 6px;- border-radius: 15px;- border: 1px solid rgba(255, 255, 255, 0.1);- background: #1a1e25;- box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);}.hudModalHeader {display: flex;align-items: center;justify-content: space-between;- padding: 4px 4px 6px 10px;+ padding: 2px 2px 4px 10px;}.hudModalTitle {- font-size: 12px;+ font-size: 14px;font-weight: 600;color: #f5f7fa;}.hudModalClose {display: flex;- height: 24px;- width: 24px;+ height: 32px;+ width: 32px;align-items: center;justify-content: center;border: 0;- border-radius: 8px;+ border-radius: 10px;background: transparent;color: rgba(255, 255, 255, 0.55);cursor: pointer;@@ -187,9 +188,8 @@.hudModalEmpty {padding: 8px 10px;- font-size: 11px;- font-style: italic;- color: rgba(255, 255, 255, 0.4);+ font-size: 12px;+ color: rgba(255, 255, 255, 0.6);}.hudModalMeterRow {@@ -200,15 +200,15 @@}.hudModalMeterLabel {- font-size: 10px;- color: rgba(255, 255, 255, 0.45);+ font-size: 12px;+ color: rgba(255, 255, 255, 0.6);white-space: nowrap;}.hudModalHint {padding: 0 10px 6px;- font-size: 10px;- color: rgba(255, 255, 255, 0.35);+ font-size: 12px;+ color: rgba(255, 255, 255, 0.6);}/* About block at the foot of the settings panel: version on the left, the update check on@@ -223,8 +223,8 @@.hudModalVersion {font-family: var(--font-mono, ui-monospace, monospace);- font-size: 10px;- color: rgba(255, 255, 255, 0.45);+ font-size: 12px;+ color: rgba(255, 255, 255, 0.6);}.hudModalAboutAction {@@ -232,7 +232,7 @@border-radius: 0.45rem;padding: 0.3rem 0.5rem;background: transparent;- font-size: 11px;+ font-size: 12.5px;color: rgba(255, 255, 255, 0.72);cursor: pointer;transition: background-color 120ms ease, color 120ms ease;@@ -285,9 +285,8 @@}.cameraPreviewFallback {- font-size: 11px;- font-style: italic;- color: rgba(255, 255, 255, 0.4);+ font-size: 12px;+ color: rgba(255, 255, 255, 0.6);transform: scaleX(-1);}@@ -305,9 +304,10 @@display: flex;align-items: center;justify-content: space-between;- padding: 0.425rem 0.5rem;+ /* Same 10px gutter as the section labels, so the panel keeps one left edge. */+ padding: 7px 10px;border-radius: 0.45rem;- font-size: 11px;+ font-size: 13px;color: rgba(255, 255, 255, 0.72);background: transparent;border: 0;@@ -323,19 +323,25 @@}.languageMenuItemActive {- background: rgba(52, 178, 123, 0.14);+ background: rgba(16, 185, 129, 0.14);color: #ffffff;}+/* The popovers' own buttons: a mint ring for keyboard focus, like the bar's. Inset,+ so a scrolling panel's overflow cannot clip it. */+.hudModalClose:focus-visible,+.hudModalAboutAction:focus-visible,+.languageMenuItem:focus-visible {+ outline: none;+ box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.7);+}+/* Device-picker popovers (microphone / camera) reuse the language menu'spanel/item/checkmark shell; this is the one extra piece they need. */.hudMenuSectionLabel {padding: 6px 10px 4px;- font-family: var(--font-mono, ui-monospace, monospace);- font-size: 9.5px;- letter-spacing: 0.08em;- text-transform: uppercase;- color: rgba(255, 255, 255, 0.4);+ font: 600 12px/1.3 var(--font-body);+ color: rgba(255, 255, 255, 0.6);}/* Thin separators between HUD toolbar control groups. */diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsxindex 33ea3ef39..7dae1cff0 100644--- a/src/components/launch/LaunchWindow.tsx+++ b/src/components/launch/LaunchWindow.tsx@@ -83,9 +83,9 @@ export function LaunchWindow() {} = useI18n();const suggestedLanguageName = systemLocaleSuggestion ? getLocaleName(systemLocaleSuggestion) : "";const activeLanguageLabel = getLocaleName(locale).split(/\s+/)[0] || locale.toUpperCase();- // Short mono-font code shown on the button itself (matches the design's- // "EN"/"FR" treatment) — activeLanguageLabel (the full localized name)- // stays as the tooltip/aria-label text.+ // Short code shown on the button itself (matches the design's "EN"/"FR"+ // treatment) — activeLanguageLabel (the full localized name) stays as the+ // tooltip/aria-label text.const languageCode = locale.split("-")[0].toUpperCase();const {diff --git a/src/components/launch/SourceSelector.module.css b/src/components/launch/SourceSelector.module.cssindex 14522a858..52c1a8bd7 100644--- a/src/components/launch/SourceSelector.module.css+++ b/src/components/launch/SourceSelector.module.css@@ -50,21 +50,20 @@overflow: hidden;}+/* App icons keep their own shape: a circle crop clipped their corners. */.icon {- width: 15px;- height: 15px;- border-radius: 9999px;+ width: 16px;+ height: 16px;+ border-radius: 4px;object-fit: cover;flex-shrink: 0;- border: 1px solid #333a45;}.iconFallback {- width: 15px;- height: 15px;- border-radius: 9999px;+ width: 16px;+ height: 16px;+ border-radius: 4px;background: #232830;- border: 1px solid #333a45;color: #828c99;display: flex;align-items: center;diff --git a/src/components/launch/SourceSelector.tsx b/src/components/launch/SourceSelector.tsxindex caac8c1fa..a68f9da77 100644--- a/src/components/launch/SourceSelector.tsx+++ b/src/components/launch/SourceSelector.tsx@@ -96,7 +96,7 @@ export function SourceSelector() {</p><ButtononClick={() => void fetchSources()}- className="mt-4 h-8 rounded-[9px] bg-[#10b981] px-5 text-[11px] font-semibold text-[#08090d] transition-transform duration-150 hover:bg-[#10b981]/85 active:scale-95"+ className="mt-4 h-9 rounded-[9px] bg-[#10b981] px-5 text-[13px] font-semibold text-[#08090d] transition-transform duration-150 hover:bg-[#10b981]/85 active:scale-95">{tc("actions.reload")}</Button>@@ -182,7 +182,7 @@ export function SourceSelector() {data-testid="source-selector-cancel-button"variant="ghost"onClick={() => window.close()}- className="h-9 rounded-[9px] border border-[#333a45] px-4 text-[13px] font-medium text-[#f5f7fa] transition-colors duration-150 hover:bg-[#1a1e25] hover:text-[#f5f7fa]"+ className="h-9 rounded-[9px] border border-[#333a45] px-4 text-[13px] font-medium text-[#f5f7fa] transition-colors duration-150 hover:bg-white/[0.08] hover:text-[#f5f7fa]">{tc("actions.cancel")}</Button>diff --git a/src/components/permissions/PermissionsWindow.tsx b/src/components/permissions/PermissionsWindow.tsxindex 2f3a57454..b2ce61625 100644--- a/src/components/permissions/PermissionsWindow.tsx+++ b/src/components/permissions/PermissionsWindow.tsx@@ -101,7 +101,7 @@ export function PermissionsWindow() {return (<div className="flex h-screen flex-col bg-[#0b0c0f] px-7 pt-7 pb-6 text-white select-none"><h1 className="text-[17px] font-semibold">{t("permissions.title")}</h1>- <p className="mt-1.5 text-[12px] leading-5 text-[#8b93a1]">{t("permissions.subtitle")}</p>+ <p className="mt-1.5 text-[13px] leading-5 text-[#8b93a1]">{t("permissions.subtitle")}</p><ul className="mt-5 flex flex-col gap-2.5">{ROWS.map(({ kind, level: requiredLevel, Icon }) => {@@ -123,11 +123,11 @@ export function PermissionsWindow() {<span className="text-[13px] font-medium">{t(`permissions.rows.${rowKey}.name`)}</span>- <span className="rounded-full bg-[#1c1f26] px-2 py-px text-[10px] text-[#8b93a1]">+ <span className="rounded-full bg-[#1c1f26] px-2 py-px text-[11px] text-[#8b93a1]">{t(`permissions.level.${level}`)}</span></div>- <p className="mt-0.5 text-[11px] leading-4 text-[#8b93a1]">+ <p className="mt-0.5 text-[12.5px] leading-[18px] text-[#8b93a1]">{t(`permissions.rows.${rowKey}.description`)}</p></div>@@ -148,7 +148,7 @@ export function PermissionsWindow() {</ul><div className="mt-auto flex items-center justify-between gap-4 pt-5">- <p className="text-[11px] leading-4 text-[#8b93a1]">+ <p className="text-[12.5px] leading-[18px] text-[#8b93a1]">{screenReady ? t("permissions.footer.ready") : t("permissions.footer.screenRequired")}</p>{needsRelaunch ? (@@ -156,7 +156,7 @@ export function PermissionsWindow() {type="button"data-testid="permissions-relaunch"onClick={() => void window.electronAPI.permissions.relaunch()}- className="h-9 shrink-0 rounded-[9px] bg-[#10b981] px-5 text-[12px] font-semibold text-[#08090d] hover:bg-[#10b981]/85"+ className="h-9 shrink-0 rounded-[9px] bg-[#10b981] px-5 text-[13px] font-semibold text-[#08090d] hover:bg-[#10b981]/85">{t("permissions.actions.restart")}</button>@@ -166,7 +166,7 @@ export function PermissionsWindow() {data-testid="permissions-start"disabled={!screenReady}onClick={() => void window.electronAPI.permissions.close()}- className="h-9 shrink-0 rounded-[9px] bg-[#10b981] px-5 text-[12px] font-semibold text-[#08090d] hover:bg-[#10b981]/85 disabled:cursor-not-allowed disabled:opacity-40"+ className="h-9 shrink-0 rounded-[9px] bg-[#10b981] px-5 text-[13px] font-semibold text-[#08090d] hover:bg-[#10b981]/85 disabled:cursor-not-allowed disabled:opacity-50">{t("permissions.actions.start")}</button>@@ -193,7 +193,7 @@ function PermissionAction({}) {if (status === "granted") {return (- <span className="flex shrink-0 items-center gap-1 text-[12px] font-medium text-[#10b981]">+ <span className="flex shrink-0 items-center gap-1 text-[13px] font-medium text-[#10b981]"><Check className="h-4 w-4" aria-hidden />{t("permissions.status.granted")}</span>@@ -201,7 +201,7 @@ function PermissionAction({}if (status === "restricted") {return (- <span className="max-w-[120px] shrink-0 text-right text-[11px] leading-4 text-[#8b93a1]">+ <span className="max-w-[120px] shrink-0 text-right text-[12.5px] leading-[18px] text-[#8b93a1]">{t("permissions.status.restricted")}</span>);@@ -222,7 +222,7 @@ function PermissionAction({data-testid={`permission-${kind}-action`}disabled={busy}onClick={onAct}- className="h-8 shrink-0 rounded-[8px] bg-[#1f232b] px-3.5 text-[12px] font-medium text-white hover:bg-[#2a2f39] disabled:opacity-50"+ className="h-8 shrink-0 rounded-[8px] bg-[#1f232b] px-3.5 text-[13px] font-medium text-white hover:bg-[#2a2f39] disabled:opacity-50">{label}</button>@@ -261,7 +261,7 @@ function ScreenHelp({return (<div className="mt-2.5 space-y-1 border-t border-[#20232a] pt-2.5 pl-8">{lines.map((line) => (- <p key={line} className="text-[11px] leading-4 text-[#a9b0bc]">+ <p key={line} className="text-[12.5px] leading-[18px] text-[#a9b0bc]">{line}</p>))}diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsxindex c4606018a..5d2ca9c3b 100644--- a/src/components/ui/button.tsx+++ b/src/components/ui/button.tsx@@ -5,22 +5,22 @@ import * as React from "react";import { cn } from "@/lib/utils";const buttonVariants = cva(- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[10px] text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants: {variant: {- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",+ default: "bg-[var(--accent)] text-[var(--accent-on)] shadow-sm hover:bg-[var(--brand-lo)]",destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:- "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",- ghost: "hover:bg-accent hover:text-accent-foreground",- link: "text-primary underline-offset-4 hover:underline",+ "border border-[var(--border)] bg-[var(--surface)] shadow-sm hover:bg-[var(--surface-2)] hover:text-[var(--fg)]",+ secondary: "bg-[var(--surface-2)] text-[var(--fg)] shadow-sm hover:bg-[var(--surface-3)]",+ ghost: "hover:bg-[var(--surface-2)] hover:text-[var(--fg)]",+ link: "text-[var(--accent)] underline-offset-4 hover:underline",},size: {default: "h-9 px-4 py-2",- sm: "h-8 rounded-md px-3 text-xs",- lg: "h-10 rounded-md px-8",+ sm: "h-8 px-3 text-[13px]",+ lg: "h-10 px-8",icon: "h-9 w-9",},},diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsxindex c80cea306..421ac5a34 100644--- a/src/components/ui/dialog.tsx+++ b/src/components/ui/dialog.tsx@@ -19,7 +19,7 @@ const DialogOverlay = React.forwardRef<<DialogPrimitive.Overlayref={ref}className={cn(- "fixed inset-0 z-[9999] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",+ "fixed inset-0 z-[9999] bg-[var(--overlay-dark)] backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",className,)}{...props}@@ -41,13 +41,14 @@ const DialogContent = React.forwardRef<// shortcuts ask before acting. Before `{...props}` so a caller can still override it.aria-modal="true"className={cn(- "fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",+ "fixed left-[50%] top-[50%] z-[10000] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[16px] border border-[var(--border)] bg-[var(--surface)] text-[var(--fg)] p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",className,)}{...props}>{children}- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">+ {/* A 32px target, not the bare 16px glyph: every dialog shares this one control. */}+ <DialogPrimitive.Close className="absolute right-3 top-3 grid h-8 w-8 place-items-center rounded-[10px] text-[var(--muted)] transition-colors hover:bg-[var(--surface-2)] hover:text-[var(--fg)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--accent-ring)] disabled:pointer-events-none"><X className="h-4 w-4" /><span className="sr-only">Close</span></DialogPrimitive.Close>diff --git a/src/components/ui/popover.tsx b/src/components/ui/popover.tsxindex 807481b6d..051b2900f 100644--- a/src/components/ui/popover.tsx+++ b/src/components/ui/popover.tsx@@ -38,7 +38,7 @@ function PopoverContent({align={align}sideOffset={sideOffset}className={cn(- "bg-popover text-popover-foreground z-50 w-72 rounded-md border p-4 shadow-md outline-hidden",+ "z-50 w-72 rounded-[12px] border border-[var(--border)] bg-[var(--surface-hi)] p-4 text-[var(--fg)] shadow-md outline-hidden",animated &&"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin)",className,diff --git a/src/components/ui/sonner.tsx b/src/components/ui/sonner.tsxindex 3076ac1fe..54cd6023d 100644--- a/src/components/ui/sonner.tsx+++ b/src/components/ui/sonner.tsx@@ -1,24 +1,40 @@+import type { CSSProperties } from "react";import { Toaster as Sonner } from "sonner";import { cn } from "@/lib/utils";type ToasterProps = React.ComponentProps<typeof Sonner>;-const Toaster = ({ className, ...props }: ToasterProps) => {+// Sonner paints a toast from its own variables, under `[data-styled=true]` selectors that+// outrank any class passed in `toastOptions` — which is why the old `bg-[#09090b]` never+// showed and every toast came out #000, 8px, in the system font. Setting the variables on+// the toaster itself is the documented override. They are design tokens, so the toasts+// follow the app theme (index.html sets `data-theme` in every window) without a `theme` prop.+const TOKEN_STYLE = {+ "--normal-bg": "var(--surface-hi)",+ "--normal-border": "var(--border-hi)",+ "--normal-text": "var(--fg)",+ "--border-radius": "12px",+ fontFamily: "var(--font-body)",+} as CSSProperties;++const Toaster = ({ className, style, ...props }: ToasterProps) => {return (<Sonner- theme="dark"className={cn(- "dark toaster group pointer-events-none [&_[data-sonner-toast]]:pointer-events-auto",+ "toaster group pointer-events-none [&_[data-sonner-toast]]:pointer-events-auto",className,)}+ style={{ ...TOKEN_STYLE, ...style }}duration={3000}toastOptions={{+ style: { boxShadow: "var(--elev-pop)" },classNames: {- toast:- "group toast border border-white/10 bg-[#09090b] text-slate-200 shadow-lg backdrop-blur-xl",- description: "group-[.toast]:text-slate-400",- actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",- cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",+ // `!`: sonner colours the description per its own theme, above any plain class.+ description: "!text-[var(--muted)]",+ actionButton:+ "!h-7 !rounded-[8px] !bg-[var(--accent)] !px-2.5 !text-[13px] !text-[var(--accent-on)]",+ cancelButton:+ "!h-7 !rounded-[8px] !bg-[var(--surface-3)] !px-2.5 !text-[13px] !text-[var(--fg)]",},}}{...props}diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsxindex 95e346a85..899e28b7e 100644--- a/src/components/ui/tabs.tsx+++ b/src/components/ui/tabs.tsx@@ -12,7 +12,7 @@ const TabsList = React.forwardRef<<TabsPrimitive.Listref={ref}className={cn(- "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",+ "inline-flex h-9 items-center justify-center rounded-[12px] bg-[var(--surface-2)] p-1 text-[var(--muted)]",className,)}{...props}@@ -27,7 +27,7 @@ const TabsTrigger = React.forwardRef<<TabsPrimitive.Triggerref={ref}className={cn(- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",+ "inline-flex items-center justify-center whitespace-nowrap rounded-[9px] px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-[var(--surface-hi)] data-[state=active]:text-[var(--fg)] data-[state=active]:shadow",className,)}{...props}diff --git a/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsxindex 5ca6071ac..718f09f2d 100644--- a/src/components/ui/tooltip.tsx+++ b/src/components/ui/tooltip.tsx@@ -42,7 +42,7 @@ function TooltipContent({data-slot="tooltip-content"sideOffset={sideOffset}className={cn(- "px-2 py-1 text-[11px] leading-none text-white/90 bg-black/85 border border-white/10 rounded-md z-50",+ "px-2.5 py-1.5 text-xs leading-4 font-medium text-white/95 bg-black/85 border border-white/10 rounded-lg shadow-lg z-50","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",className,diff --git a/src/components/video-editor/ShortcutsConfigDialog.tsx b/src/components/video-editor/ShortcutsConfigDialog.tsxindex 83c9d3cb3..5a1238ef2 100644--- a/src/components/video-editor/ShortcutsConfigDialog.tsx+++ b/src/components/video-editor/ShortcutsConfigDialog.tsx@@ -149,7 +149,7 @@ export function ShortcutsConfigDialog() {<div className="flex-1 min-h-0 overflow-y-auto pr-1 -mr-1"><div className="space-y-0.5">- <p className="text-[10px] text-[var(--muted)] mb-2 uppercase tracking-wide font-semibold">+ <p className="mb-2 text-[13px] font-semibold leading-[1.3] text-[var(--fg-2)]">{t("configurable")}</p>{SHORTCUT_ACTIONS.map((action) => {@@ -167,7 +167,7 @@ export function ShortcutsConfigDialog() {}}title={isCapturing ? t("pressEscToCancel") : t("clickToChange")}className={[- "px-2 py-1 rounded text-xs font-mono border transition-all min-w-[90px] text-center select-none",+ "px-2 py-1.5 rounded-[8px] text-xs font-mono border transition-all min-w-[90px] text-center select-none",isCapturing? "bg-[var(--brand-soft)] border-[var(--brand)] text-[var(--brand)] animate-pulse": hasConflict@@ -210,7 +210,7 @@ export function ShortcutsConfigDialog() {</div><div className="space-y-0.5 mt-2">- <p className="text-[10px] text-[var(--muted)] mb-2 uppercase tracking-wide font-semibold">+ <p className="mb-2 text-[13px] font-semibold leading-[1.3] text-[var(--fg-2)]">{t("fixed")}</p>{FIXED_SHORTCUTS.map((shortcut) => (@@ -221,14 +221,14 @@ export function ShortcutsConfigDialog() {<span className="text-sm text-[var(--muted)]">{t(`fixedActions.${shortcut.i18nKey}`, { defaultValue: shortcut.label })}</span>- <kbd className="px-2 py-1 bg-[var(--surface-2)] border border-[var(--border)] rounded text-xs font-mono text-[var(--muted)] min-w-[90px] text-center">+ <kbd className="px-2 py-1.5 bg-[var(--surface-2)] border border-[var(--border)] rounded-[8px] text-xs font-mono text-[var(--muted)] min-w-[90px] text-center">{formatFixedShortcut(shortcut, isMac)}</kbd></div>))}</div>- <p className="text-[10px] text-[var(--muted)] mt-1">{t("helpText")}</p>+ <p className="mt-2 text-xs leading-normal text-[var(--muted)]">{t("helpText")}</p></div><DialogFooter className="shrink-0 flex gap-2 sm:justify-between mt-2">diff --git a/src/i18n/locales/ar/editor.json b/src/i18n/locales/ar/editor.jsonindex f747153a4..a2776f403 100644--- a/src/i18n/locales/ar/editor.json+++ b/src/i18n/locales/ar/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "المصدر",+ "selectSource": "اختر ما تريد تسجيله","systemPicker": "سيسألك النظام عمّا تريد مشاركته","systemAudio": "صوت النظام","microphone": "الميكروفون",@@ -115,6 +116,8 @@"loading": "جارٍ التحميل...","noCameraFound": "لم يتم العثور على كاميرا","cameraAccessError": "تعذّر الوصول إلى هذه الكاميرا",+ "noMicrophoneFound": "لم يتم العثور على ميكروفون",+ "microphoneUnavailable": "تعذّر الوصول إلى الميكروفون","startingCamera": "جارٍ تشغيل الكاميرا...","turnOnCameraHint": "شغّل الكاميرا للحصول على معاينة مباشرة","entireScreen": "الشاشة بأكملها",diff --git a/src/i18n/locales/ar/timeline.json b/src/i18n/locales/ar/timeline.jsonindex d4d77c4af..85b898011 100644--- a/src/i18n/locales/ar/timeline.json+++ b/src/i18n/locales/ar/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "من حركة المؤشر المسجلة","smartZoomsAndCuts": "قصات ذكية","smartZoomsAndCutsHint": "باستخدام الذكاء الاصطناعي",- "comment": "تعليق","timelineTools": "أدوات المخطط الزمني","arrangeClips": "ترتيب المقاطع","arrangeClipsHint": "اسحب المقاطع أدناه لإعادة ترتيبها أو إسقاط مقاطع جديدة",diff --git a/src/i18n/locales/cs/editor.json b/src/i18n/locales/cs/editor.jsonindex 70528d542..80ca3c7ed 100644--- a/src/i18n/locales/cs/editor.json+++ b/src/i18n/locales/cs/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Zdroj",+ "selectSource": "Vyberte, co nahrávat","systemPicker": "Systém se zeptá, co sdílet","systemAudio": "Systémový zvuk","microphone": "Mikrofon",@@ -115,6 +116,8 @@"loading": "Načítání…","noCameraFound": "Kamera nenalezena","cameraAccessError": "K této kameře nelze získat přístup",+ "noMicrophoneFound": "Mikrofon nenalezen",+ "microphoneUnavailable": "K mikrofonu nelze získat přístup","startingCamera": "Spouštění kamery…","turnOnCameraHint": "Zapněte kameru pro živý náhled","entireScreen": "Celá obrazovka",diff --git a/src/i18n/locales/cs/timeline.json b/src/i18n/locales/cs/timeline.jsonindex 0c3457467..b601092ab 100644--- a/src/i18n/locales/cs/timeline.json+++ b/src/i18n/locales/cs/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Z zaznamenaného pohybu kurzoru","smartZoomsAndCuts": "Chytré střihy","smartZoomsAndCutsHint": "S AI",- "comment": "Komentář","timelineTools": "Nástroje časové osy","arrangeClips": "Uspořádat klipy","arrangeClipsHint": "Přetáhněte klipy níže pro změnu pořadí nebo přidejte nové",diff --git a/src/i18n/locales/de/editor.json b/src/i18n/locales/de/editor.jsonindex 5ba9b6e2d..f10d9dc00 100644--- a/src/i18n/locales/de/editor.json+++ b/src/i18n/locales/de/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Quelle",+ "selectSource": "Wähle aus, was du aufnehmen möchtest","systemPicker": "Dein System fragt gleich, was du teilen möchtest","systemAudio": "Systemton","microphone": "Mikrofon",@@ -115,6 +116,8 @@"loading": "Wird geladen…","noCameraFound": "Keine Kamera gefunden","cameraAccessError": "Auf diese Kamera konnte nicht zugegriffen werden",+ "noMicrophoneFound": "Kein Mikrofon gefunden",+ "microphoneUnavailable": "Auf das Mikrofon konnte nicht zugegriffen werden","startingCamera": "Kamera wird gestartet…","turnOnCameraHint": "Schalte die Kamera ein, um eine Live-Vorschau zu sehen","entireScreen": "Ganzer Bildschirm",diff --git a/src/i18n/locales/de/timeline.json b/src/i18n/locales/de/timeline.jsonindex 6ec2846c8..f98539dca 100644--- a/src/i18n/locales/de/timeline.json+++ b/src/i18n/locales/de/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Aus der aufgezeichneten Cursorbewegung","smartZoomsAndCuts": "Smarte Schnitte","smartZoomsAndCutsHint": "Mit KI",- "comment": "Kommentar","timelineTools": "Timeline-Werkzeuge","arrangeClips": "Clips anordnen","arrangeClipsHint": "Zieh die Clips unten, um sie neu zu ordnen, oder leg neue hinein",diff --git a/src/i18n/locales/en/common.json b/src/i18n/locales/en/common.jsonindex 76a292a2e..937d51e63 100644--- a/src/i18n/locales/en/common.json+++ b/src/i18n/locales/en/common.json@@ -4,7 +4,7 @@"save": "Save","delete": "Delete","close": "Close",- "share": "Share",+ "share": "Select","done": "Done","open": "Open","checkForUpdates": "Check for Updates",diff --git a/src/i18n/locales/en/dialogs.json b/src/i18n/locales/en/dialogs.jsonindex 9ce8e3ded..9cd0bbbbc 100644--- a/src/i18n/locales/en/dialogs.json+++ b/src/i18n/locales/en/dialogs.json@@ -7,7 +7,7 @@"compilingGifProgress": "Compiling GIF... {{progress}}%","compilingGifWait": "Compiling GIF... This may take a while","takeMoment": "This may take a moment...",- "failed": "Export Failed",+ "failed": "Export failed","tryAgain": "Please try again","finalizingVideoTitle": "Finalizing Video","compilingGif": "Compiling GIF",@@ -76,17 +76,17 @@}},"fileDialogs": {- "saveGif": "Save Exported GIF",- "saveVideo": "Save Exported Video",- "selectVideo": "Select Video File",- "selectAudio": "Select Audio File",- "saveProject": "Save OpenScreen Project",- "openProject": "Open OpenScreen Project",- "gifImage": "GIF Image",- "mp4Video": "MP4 Video",- "videoFiles": "Video Files",- "audioFiles": "Audio Files",- "openscreenProject": "OpenScreen Project",- "allFiles": "All Files"+ "saveGif": "Save exported GIF",+ "saveVideo": "Save exported video",+ "selectVideo": "Choose a video file",+ "selectAudio": "Choose an audio file",+ "saveProject": "Save OpenScreen project",+ "openProject": "Open OpenScreen project",+ "gifImage": "GIF image",+ "mp4Video": "MP4 video",+ "videoFiles": "Video files",+ "audioFiles": "Audio files",+ "openscreenProject": "OpenScreen project",+ "allFiles": "All files"}}diff --git a/src/i18n/locales/en/editor.json b/src/i18n/locales/en/editor.jsonindex 4d61c4c4b..284e5a771 100644--- a/src/i18n/locales/en/editor.json+++ b/src/i18n/locales/en/editor.json@@ -50,23 +50,23 @@"microphoneDefaulted": "The chosen microphone could not be identified. Recording the default input.","permissionDenied": "Recording permission denied. Please allow screen recording.","accessibilityAllowAndRetry": "Allow Accessibility access for OpenScreen, then press record again to start the countdown.",- "selectSource": "Please select a source to record"+ "selectSource": "Choose a screen or window to record"},"emptyState": {- "title": "No project open",- "description": "Create a new project or open an existing one.",+ "title": "Start with a recording",+ "description": "Import a video to start editing, or open a saved project.","titleHasAsset": "Add a video to get started","descriptionHasAsset": "Import a recording to begin editing.",- "newProjectButton": "New project + import video",+ "newProjectButton": "Import a video","importVideoButton": "Import video","loadProjectButton": "Open project","supportedFormats": "Supported formats: MP4, MOV, WebM, MKV, AVI, M4V, WMV",- "dragDropHint": "or drag & drop a .openscreen project file here",+ "dragDropHint": "or drop a saved project here","dropOverlay": "Drop project file to open","dropErrors": {- "unsupportedFormatTitle": "Unsupported Format",- "unsupportedFormatMessage": "Only .openscreen project files can be dropped here. To import a video file, use the \"Import Video File…\" button on this screen.",- "couldNotOpenTitle": "Could Not Open File",+ "unsupportedFormatTitle": "Unsupported file",+ "unsupportedFormatMessage": "Only saved projects (.openscreen) can be dropped here. To add a video, use the import button on this screen.",+ "couldNotOpenTitle": "Couldn't open this project","couldNotOpenMessage": "The project file could not be opened. The video it references may have been moved or deleted."}},@@ -100,11 +100,12 @@"modes": {"media": "Media","edit": "Edit",- "rec": "Rec"+ "rec": "Record"}},"rec": {"source": "Source",+ "selectSource": "Choose what to record","systemPicker": "Your system will ask what to share","systemAudio": "System audio","microphone": "Microphone",@@ -115,16 +116,18 @@"loading": "Loading…","noCameraFound": "No camera found","cameraAccessError": "Couldn't access this camera",+ "noMicrophoneFound": "No microphone found",+ "microphoneUnavailable": "Couldn't access the microphone","startingCamera": "Starting camera…","turnOnCameraHint": "Turn on the camera for a live preview","entireScreen": "Entire Screen","cancel": "Cancel","startRecording": "Start recording",- "startRecordingHint": "Opens the recording widget and closes this editor window.",+ "startRecordingHint": "Opens the recording bar and closes this editor window.","sourceModal": {"screens": "Screens ({{count}})","windows": "Windows ({{count}})",- "loadingSources": "Loading sources…",+ "loadingSources": "Loading screens and windows…","noScreensFound": "No screens found","noWindowsFound": "No windows found","cancel": "Cancel"@@ -140,7 +143,7 @@"added": "Added {{label}}","addToTimeline": "Add to timeline","addedToTimeline": "Added {{label}} to the timeline",- "sourceTranscript": "Source Transcript",+ "sourceTranscript": "Transcript","close": "Close","transcriptReady": "Transcript ready","transcribing": "Transcribing",@@ -163,7 +166,7 @@},"exportDialog": {"title": "Export",- "subtitle": "Render the timeline to a file",+ "subtitle": "Save your edit as a video or a GIF","addVideoBeforeExporting": "Add a video before exporting.","quality": "Quality","qualityMatchRecording": "Match recording",@@ -179,9 +182,9 @@"savedTo": "Saved to","exportFailedGeneric": "Export failed.","writingFile": "Writing file…",- "renderingFrames": "Rendering frames",- "framesEta": "{{current}} / {{total}} frames · ETA {{eta}}s",- "preparingEncoder": "Preparing encoder…",+ "renderingFrames": "Exporting your video",+ "framesEta": "Frame {{current}} of {{total}} · about {{eta}}s left",+ "preparingEncoder": "Getting ready…","close": "Close","cancel": "Cancel","rendering": "Rendering…",@@ -205,7 +208,7 @@"resetFocusPoint": "Reset focus point","setColor": "Set color {{color}}","trimHiddenDuration": "{{duration}}s of source media hidden from the edited timeline.",- "restoreDeleteTrim": "Restore (delete trim)",+ "restoreDeleteTrim": "Bring this part back","collapseInspector": "Collapse inspector","captionsDescription": "Generate word-timed captions from the transcript and drop them onto the timeline.","generateCaptions": "Generate captions",@@ -213,7 +216,7 @@"openCrop": "Open crop…","cameraFullscreenDescription": "While this region plays, the camera takes the whole frame — no border, no rounding, no background — and eases back at the end. Drag the region's edges on the timeline to change when it starts and how long it lasts.","deleteRegion": "Delete region",- "freehandRendersAsBox": "In the export, a freehand shape is covered by its bounding box — over-covered, never under."+ "freehandRendersAsBox": "In the export, the blur fills the rectangle around your freehand shape, so it may hide a little more than you drew."},"chat": {"changeProvider": "Change provider",@@ -372,7 +375,7 @@},"providerSettings": {"title": "AI settings",- "subtitle": "Choose a provider. Credentials are stored in the OS keychain (safeStorage).",+ "subtitle": "Choose a provider. Your keys are stored securely on this computer.","loadFailed": "Could not load AI settings","saved": "{{provider}} saved","connected": "{{provider}} connected",@@ -391,7 +394,7 @@"baseUrlHint": "Leave blank to use the provider's default.","reasoningEffortLabel": "Reasoning effort","apiKeyLabel": "API key",- "apiKeyHintStored": "Stored in safeStorage. Leave blank to keep the existing entry.",+ "apiKeyHintStored": "Stored securely on this computer. Leave blank to keep the current key.","projectEditsLabel": "Project edits","projectEditsHint": "When off, the agent must ask before changing the timeline. Edits are always undoable.","allowAgentEdits": "Allow the agent to edit the project",diff --git a/src/i18n/locales/en/launch.json b/src/i18n/locales/en/launch.jsonindex f2d562b83..abf7e9e01 100644--- a/src/i18n/locales/en/launch.json+++ b/src/i18n/locales/en/launch.json@@ -1,13 +1,13 @@{"tooltips": {- "hideHUD": "Hide HUD",- "closeApp": "Close App",+ "hideHUD": "Hide recording bar",+ "closeApp": "Quit OpenScreen","restartRecording": "Restart recording","cancelRecording": "Cancel recording","pauseRecording": "Pause recording","resumeRecording": "Resume recording",- "useVerticalTray": "Use vertical tray",- "useHorizontalTray": "Use horizontal tray",+ "useVerticalTray": "Switch to vertical bar",+ "useHorizontalTray": "Switch to horizontal bar","openStudio": "Open Studio","openNotes": "Open Notes","openNotesPlaceholder": "Take notes here...",@@ -57,16 +57,16 @@"useSystemCursor": "Use system cursor"},"sourceSelector": {- "loading": "Loading sources...",+ "loading": "Loading screens and windows...","screens": "Screens ({{count}})","windows": "Windows ({{count}})","emptyTitle": "No screens or windows found","emptyDescription": "If you just granted screen recording permission, reload this picker. On macOS you may need to reopen OpenScreen.",- "loadFailedDescription": "OpenScreen could not load capture sources. Reload this picker and try again.",+ "loadFailedDescription": "OpenScreen couldn't load your screens and windows. Reload this picker and try again.","defaultSourceName": "Screen"},"recording": {- "selectSource": "Please select a source to record",+ "selectSource": "Choose a screen or window to record","systemPicker": "Your system will ask what to share","inProgress": "Recording","saving": "Saving..."@@ -79,8 +79,8 @@"keepDefault": "Keep current language"},"softwareEncoderFallback": {- "title": "Switched to software encoding",- "description": "The default GPU encoder failed to start, so OpenScreen fell back to software H.264 encoding. Recording should continue as normal, but CPU usage may be higher.",+ "title": "Switched to a backup encoder",+ "description": "Your graphics card's encoder didn't start, so OpenScreen switched to a backup. Your recording is fine, though your computer may work a little harder.","dismiss": "Got it","dontShowAgain": "Don't show again"},diff --git a/src/i18n/locales/en/settings.json b/src/i18n/locales/en/settings.jsonindex 6f34a93ea..703a58d42 100644--- a/src/i18n/locales/en/settings.json+++ b/src/i18n/locales/en/settings.json@@ -7,7 +7,7 @@"motionWaves": "Waves","motionGradientOnly": "Animation applies to gradient backgrounds only. Pick a gradient to animate it.","gradientLabel": "Gradient {{index}}",- "uploadCustom": "Upload Custom",+ "uploadCustom": "Upload image","unsupportedImage": "Unsupported image. Use a JPG or PNG file.","title": "Background","imageLabel": "Background {{index}}",@@ -16,12 +16,12 @@"gradient": "Gradient","colorLabel": "Color {{color}}","customWallpaper": "Custom wallpaper",- "colorPalette": "Color Palette",+ "colorPalette": "Color palette","imageReadFailed": "Could not read that image file.","image": "Image","presets": "Presets","color": "Color",- "colorWheel": "Color Wheel"+ "colorWheel": "Color wheel"},"customFont": {"namePlaceholder": "My Custom Font",@@ -55,43 +55,43 @@"size": "Size","tipShiftTabCycle": "Use Shift+Tab to cycle backwards.","clearBackground": "Clear Background",- "colorPalette": "Color Palette",+ "colorPalette": "Color palette","invalidImageType": "Invalid file type","background": "Background","typeText": "Text","active": "Active","color": "Color","blurShapeFreehand": "Freehand",- "arrowDirection": "Arrow Direction",+ "arrowDirection": "Arrow direction","blurTypeMosaic": "Mosaic",- "colorWheel": "Color Wheel",+ "colorWheel": "Color wheel","textColor": "Text Color",- "title": "Annotation Settings",- "blurType": "Blur Type",+ "title": "Annotation settings",+ "blurType": "Blur type","typeBlur": "Blur","blurIntensity": "Blur Intensity","selectStyle": "Select style",- "textContent": "Text Content",+ "textContent": "Text","typeArrow": "Arrow","none": "None","blurColor": "Blur Color","customFonts": "Custom Fonts","imageUploadSuccess": "Image uploaded successfully!","type": "Type",- "arrowColor": "Arrow Color",- "textPlaceholder": "Enter your text...",+ "arrowColor": "Arrow color",+ "textPlaceholder": "Type your text…","imageFormatsOnly": "Please upload a JPG, PNG, GIF, or WebP image file.",- "blurShape": "Blur Shape",- "uploadImage": "Upload Image",- "blurTypeBlur": "Gaussian",+ "blurShape": "Blur shape",+ "uploadImage": "Upload image",+ "blurTypeBlur": "Smooth","tipTabCycle": "Use Tab to cycle through overlapping items.","shortcutsAndTips": "Shortcuts & Tips",- "deleteAnnotation": "Delete Annotation",+ "deleteAnnotation": "Delete annotation","fontStyle": "Font Style","defaultText": "Hello","mosaicBlockSize": "Mosaic Block Size","blurColorBlack": "Black",- "strokeWidth": "Stroke Width: {{width}}px",+ "strokeWidth": "Thickness: {{width}}px","blurShapeOval": "Oval","blurColorWhite": "White","tipMovePlayhead": "Move playhead to overlapping annotation section and select an item.",@@ -103,7 +103,7 @@"shadow": "Shadow","off": "off","on": "on",- "blurBg": "Blur BG",+ "blurBg": "Blur background","help": "Frame styling for the recording: background blur, drop shadow, motion blur, corner radius, and padding around the video.","fitClipOne": "{{count}} clip","formatOriginal": "Original",@@ -113,7 +113,7 @@"padding": "Padding","format": "Format","fitClip": "Fit",- "motionBlur": "Motion Blur",+ "motionBlur": "Motion blur","depthOfField": "Depth of field","depthOfFieldHint": "3D zooms","depthOfFieldNoTilt": "No 3D zoom in this project",@@ -164,7 +164,7 @@"revertWord": "Restore \"{{original}}\"","editingHint": "Double-click a word to correct it, Backspace cuts it from the film.","restoreSilence": "Restore silence ({{duration}}s)",- "help": "Aggregated transcript of every clip on the timeline. Backspace / Delete a word or selection to cut it out of the film (red). Double-click a word to correct its text. Hover a marked word to undo it.",+ "help": "The transcript of every clip on the timeline. Backspace / Delete a word or selection to cut it out of the film (red). Double-click a word to correct its text. Hover a marked word to undo it.","editWord": "Edit \"{{word}}\"","laneFeedsCaptions": "Captions are burnt from this lane.","insertedWord": "Added by you — no audio behind it",@@ -240,17 +240,17 @@"help": "Help"},"speed": {- "deleteRegion": "Delete Speed Region",+ "deleteRegion": "Delete speed region","maxSpeedError": "Speed can't go higher than {{max}}×","selectRegion": "Select a speed region to adjust",- "playbackSpeed": "Playback Speed",- "customPlaybackSpeed": "Custom Playback Speed",+ "playbackSpeed": "Playback speed",+ "customPlaybackSpeed": "Custom speed","previewFrameSteppingHint": "Above {{native}}×, preview is frame-stepped and muted. Export is unaffected."},"gifSettings": {"frameRate": "GIF Frame Rate","loop": "Loop GIF",- "size": "GIF Size"+ "size": "GIF size"},"exportQuality": {"title": "Export resolution",@@ -272,7 +272,7 @@},"layout": {"help": "How the webcam is composed with the screen: picture-in-picture, vertical stack, dual frame, mask shape, size, and mirroring.",- "mirrorWebcam": "Mirror Webcam",+ "mirrorWebcam": "Mirror webcam","webcamFraming": "Webcam crop","shapes": {"rectangle": "Rect",@@ -288,29 +288,29 @@"transparent": "Cutout"},"reactiveWebcamDescription": "Camera smoothly shrinks while the video is zoomed in, so it stays out of the way.",- "webcamBlurIntensity": "Blur Intensity",+ "webcamBlurIntensity": "Blur intensity","preset": "Preset","webcamCropZoom": "Zoom",- "webcamSize": "Webcam Size",- "dualFrame": "Dual Frame",+ "webcamSize": "Webcam size",+ "dualFrame": "Dual frame","webcamCropY": "Pan vertically",- "verticalStack": "Vertical Stack",- "pictureInPicture": "Picture in Picture",- "webcamShape": "Camera Shape",+ "verticalStack": "Vertical stack",+ "pictureInPicture": "Picture in picture",+ "webcamShape": "Camera shape","webcamCropX": "Pan horizontally",- "reactiveWebcam": "Shrink on Zoom",- "webcamBackground": "Camera Background",- "helpNoWebcam": "This project has no camera, so the layout controls are off and the preset reads “No Webcam”. Your saved layout is kept for when a camera is added.",+ "reactiveWebcam": "Shrink on zoom",+ "webcamBackground": "Camera background",+ "helpNoWebcam": "This project has no camera, so the layout controls are off and the preset reads “No webcam”. Your saved layout is kept for when a camera is added.","title": "Camera layout",- "noWebcam": "No Webcam"+ "noWebcam": "No webcam"},"textAnimation": {- "slideLeft": "Slide Left",+ "slideLeft": "Slide left","pulse": "Pulse","typewriter": "Typewriter","selectAnimation": "Select animation","fade": "Fade",- "title": "Text Animation",+ "title": "Text animation","none": "None","pop": "Pop","rise": "Rise"@@ -333,16 +333,16 @@"position": {"y": "Y (%)","hint": "0 = leftmost / topmost, 100 = rightmost / bottommost",- "title": "Focus Position",+ "title": "Focus position","x": "X (%)"},- "deleteZoom": "Delete Zoom",+ "deleteZoom": "Delete zoom","focusMode": {- "lockedDisclaimer": "Controlled by the global Auto-Focus toggle in the timeline. Turn it off to set focus mode per zoom.",+ "lockedDisclaimer": "Set by the Auto-Focus button in the timeline. Turn it off to choose the focus mode of each zoom.","auto": "Auto","manual": "Manual","autoDescription": "Camera follows the recorded cursor position",- "title": "Focus Mode"+ "title": "Focus mode"},"camera": {"title": "3D camera",@@ -371,7 +371,7 @@"needsCursor": "The cursor is hidden: the screen only reacts to clicks you can see.","descriptionCamera": "Each click pushes the camera back a little, then it springs forward."},- "level": "Zoom Level",+ "level": "Zoom level","previewHold": "Hold to preview zoom effect","customScale": "Custom Zoom","selectRegion": "Select a zoom region to adjust",@@ -402,19 +402,19 @@},"cursor": {"smoothing": "Smoothing",- "clickBounce": "Click Bounce",+ "clickBounce": "Click bounce","model3d": "3D cursor","model3dHint": "Default style: every cursor shape turns 3D. Other styles stay flat.",- "model3dNeedsCursor": "Turn on Show Cursor to use the 3D cursor.",- "help": "Cursor rendering from the recorded telemetry: theme, size, smoothing, motion blur, and click-bounce emphasis.",+ "model3dNeedsCursor": "Turn on “Show cursor” to use the 3D cursor.",+ "help": "How the recorded cursor is drawn: style, size, smoothing, motion blur and click bounce.","clipToBoundsDescription": "Keeps the cursor inside the video frame. Turn off to let the cursor extend past the edges - useful when zoomed in or panned.","size": "Size","title": "Cursor",- "show": "Show Cursor",+ "show": "Show cursor","themeDefault": "Default",- "clipToBounds": "Clip to Canvas",- "motionBlur": "Motion Blur",- "theme": "Cursor Style",+ "clipToBounds": "Keep inside frame",+ "motionBlur": "Motion blur",+ "theme": "Cursor style","autoHide": "Auto-hide when inactive"},"export": {diff --git a/src/i18n/locales/en/timeline.json b/src/i18n/locales/en/timeline.jsonindex fa8a50b7e..8736be751 100644--- a/src/i18n/locales/en/timeline.json+++ b/src/i18n/locales/en/timeline.json@@ -1,14 +1,14 @@{"buttons": {- "addZoom": "Add Zoom (Z)",- "suggestZooms": "Suggest Zooms from Cursor",+ "addZoom": "Add zoom (Z)",+ "suggestZooms": "Suggest zooms from cursor","autoZoomOn": "Auto zoom suggestions on — click to remove suggested zooms","autoZoomOff": "Auto zoom suggestions off — click to suggest zooms from cursor","autoFocusAllOn": "Auto-Focus on for all zooms — click to switch all to manual","autoFocusAllOff": "Auto-Focus all zooms (camera follows the cursor)",- "addTrim": "Add Trim (T)",- "addAnnotation": "Add Annotation (A)",- "addSpeed": "Add Speed (S)",+ "addTrim": "Add trim (T)",+ "addAnnotation": "Add annotation (A)",+ "addSpeed": "Add speed (S)","addCameraFullscreen": "Add Full Camera (C)"},"hints": {@@ -34,21 +34,21 @@"cameraFullscreenItem": "Full Camera {{index}}"},"emptyState": {- "noVideo": "No Video Loaded",+ "noVideo": "No video loaded","dragAndDrop": "Drag and drop a video to start editing"},"errors": {"cannotPlaceZoom": "Cannot place zoom here","zoomExistsAtLocation": "Zoom already exists at this location or not enough space available.","zoomSuggestionUnavailable": "Zoom suggestion handler unavailable",- "noCursorTelemetry": "No cursor telemetry available",- "noCursorTelemetryDescription": "Record a screencast first to generate cursor-based suggestions.",- "noUsableTelemetry": "No usable cursor telemetry",+ "noCursorTelemetry": "No cursor data in this recording",+ "noCursorTelemetryDescription": "Record your screen with OpenScreen to get zooms that follow the cursor.",+ "noUsableTelemetry": "Not enough cursor movement","noUsableTelemetryDescription": "The recording does not include enough cursor movement data.","noDwellMoments": "No clear cursor dwell moments found","noDwellMomentsDescription": "Try a recording with slower cursor pauses on important actions.",- "noAutoZoomSlots": "No auto-zoom slots available",- "noAutoZoomSlotsDescription": "Detected dwell points overlap existing zoom regions.",+ "noAutoZoomSlots": "No room for automatic zooms",+ "noAutoZoomSlotsDescription": "The moments found already have zooms on them.","cannotPlaceTrim": "Cannot place trim here","trimExistsAtLocation": "Trim already exists at this location or not enough space available.","cannotPlaceSpeed": "Cannot place speed here",@@ -66,13 +66,12 @@"automaticZoomsHint": "From recorded cursor movement","smartZoomsAndCuts": "Smart cuts","smartZoomsAndCutsHint": "With AI",- "comment": "Comment","timelineTools": "Timeline tools","arrangeClips": "Arrange clips","arrangeClipsHint": "Drag clips below to reorder or drop new ones in","newAnnotation": "Annotation",- "dragToReorderHint": "Drag to reorder · double-click to edit in/out points",- "editInOutPoints": "Edit in/out points",+ "dragToReorderHint": "Drag to reorder · double-click to change where it starts and ends",+ "editInOutPoints": "Edit start and end","deleteClip": "Delete clip","dropToAdd": "Drop to add to timeline","importRecordingFirst": "Import a recording first",@@ -91,7 +90,7 @@"addedWord": "Added word: \"{{word}}\" — no audio behind it"},"audio": {- "addVoiceover": "Add Voiceover",+ "addVoiceover": "Add voiceover","addVoiceoverHint": "Record narration over your video","subtitle": "Place a voiceover or background music layer on the timeline","record": "Record voiceover",diff --git a/src/i18n/locales/es/editor.json b/src/i18n/locales/es/editor.jsonindex 7865275a4..68985e11c 100644--- a/src/i18n/locales/es/editor.json+++ b/src/i18n/locales/es/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Fuente",+ "selectSource": "Elige qué grabar","systemPicker": "El sistema te preguntará qué compartir","systemAudio": "Audio del sistema","microphone": "Micrófono",@@ -115,6 +116,8 @@"loading": "Cargando…","noCameraFound": "No se encontró cámara","cameraAccessError": "No se pudo acceder a esta cámara",+ "noMicrophoneFound": "No se encontró micrófono",+ "microphoneUnavailable": "No se pudo acceder al micrófono","startingCamera": "Iniciando cámara…","turnOnCameraHint": "Activa la cámara para ver una vista previa en directo","entireScreen": "Toda la pantalla",diff --git a/src/i18n/locales/es/timeline.json b/src/i18n/locales/es/timeline.jsonindex 045f66809..d3c259602 100644--- a/src/i18n/locales/es/timeline.json+++ b/src/i18n/locales/es/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Del movimiento del cursor grabado","smartZoomsAndCuts": "Cortes inteligentes","smartZoomsAndCutsHint": "Con IA",- "comment": "Comentario","timelineTools": "Herramientas de la línea de tiempo","arrangeClips": "Organizar clips","arrangeClipsHint": "Arrastra los clips de abajo para reordenarlos o suelta otros nuevos",diff --git a/src/i18n/locales/fr/editor.json b/src/i18n/locales/fr/editor.jsonindex 3d7a7c944..3be88aa8e 100644--- a/src/i18n/locales/fr/editor.json+++ b/src/i18n/locales/fr/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Source",+ "selectSource": "Choisissez quoi enregistrer","systemPicker": "Le système vous demandera quoi partager","systemAudio": "Audio système","microphone": "Microphone",@@ -115,6 +116,8 @@"loading": "Chargement…","noCameraFound": "Aucune caméra trouvée","cameraAccessError": "Impossible d'accéder à cette caméra",+ "noMicrophoneFound": "Aucun microphone trouvé",+ "microphoneUnavailable": "Impossible d'accéder au microphone","startingCamera": "Démarrage de la caméra…","turnOnCameraHint": "Activez la caméra pour voir un aperçu en direct","entireScreen": "Écran entier",diff --git a/src/i18n/locales/fr/timeline.json b/src/i18n/locales/fr/timeline.jsonindex cfaf9662a..41ca79de3 100644--- a/src/i18n/locales/fr/timeline.json+++ b/src/i18n/locales/fr/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Basé sur le mouvement du curseur enregistré","smartZoomsAndCuts": "Coupes intelligentes","smartZoomsAndCutsHint": "Avec l'IA",- "comment": "Commentaire","timelineTools": "Outils de la timeline","arrangeClips": "Organiser les clips","arrangeClipsHint": "Glissez les clips ci-dessous pour les réorganiser ou en déposer de nouveaux",diff --git a/src/i18n/locales/it/editor.json b/src/i18n/locales/it/editor.jsonindex 4b545d431..c552106ac 100644--- a/src/i18n/locales/it/editor.json+++ b/src/i18n/locales/it/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Sorgente",+ "selectSource": "Scegli cosa registrare","systemPicker": "Il sistema ti chiederà cosa condividere","systemAudio": "Audio di sistema","microphone": "Microfono",@@ -115,6 +116,8 @@"loading": "Caricamento…","noCameraFound": "Nessuna fotocamera trovata","cameraAccessError": "Impossibile accedere a questa fotocamera",+ "noMicrophoneFound": "Nessun microfono trovato",+ "microphoneUnavailable": "Impossibile accedere al microfono","startingCamera": "Avvio fotocamera…","turnOnCameraHint": "Attiva la fotocamera per un'anteprima dal vivo","entireScreen": "Schermo intero",diff --git a/src/i18n/locales/it/timeline.json b/src/i18n/locales/it/timeline.jsonindex f0431fceb..3cccfbaa0 100644--- a/src/i18n/locales/it/timeline.json+++ b/src/i18n/locales/it/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Dal movimento del cursore registrato","smartZoomsAndCuts": "Tagli intelligenti","smartZoomsAndCutsHint": "Con l'IA",- "comment": "Commento","timelineTools": "Strumenti della timeline","arrangeClips": "Organizza clip","arrangeClipsHint": "Trascina le clip qui sotto per riordinarle o rilasciane di nuove",diff --git a/src/i18n/locales/ja-JP/editor.json b/src/i18n/locales/ja-JP/editor.jsonindex 6f5062c3f..c7185c54a 100644--- a/src/i18n/locales/ja-JP/editor.json+++ b/src/i18n/locales/ja-JP/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "ソース",+ "selectSource": "録画する対象を選択","systemPicker": "共有する対象はシステムが確認します","systemAudio": "システム音声","microphone": "マイク",@@ -115,6 +116,8 @@"loading": "読み込み中…","noCameraFound": "カメラが見つかりません","cameraAccessError": "このカメラにアクセスできませんでした",+ "noMicrophoneFound": "マイクが見つかりません",+ "microphoneUnavailable": "マイクにアクセスできませんでした","startingCamera": "カメラを起動中…","turnOnCameraHint": "カメラをオンにするとライブプレビューが表示されます","entireScreen": "画面全体",diff --git a/src/i18n/locales/ja-JP/timeline.json b/src/i18n/locales/ja-JP/timeline.jsonindex 8c8b0c76d..2f71ce5f0 100644--- a/src/i18n/locales/ja-JP/timeline.json+++ b/src/i18n/locales/ja-JP/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "記録されたカーソルの動きから","smartZoomsAndCuts": "スマートカット","smartZoomsAndCutsHint": "AIを使用",- "comment": "コメント","timelineTools": "タイムラインツール","arrangeClips": "クリップを配置","arrangeClipsHint": "下のクリップをドラッグして並べ替えるか、新しいクリップをドロップします",diff --git a/src/i18n/locales/ko-KR/editor.json b/src/i18n/locales/ko-KR/editor.jsonindex c323b967d..742a92750 100644--- a/src/i18n/locales/ko-KR/editor.json+++ b/src/i18n/locales/ko-KR/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "소스",+ "selectSource": "녹화할 대상을 선택하세요","systemPicker": "공유할 대상을 시스템이 묻습니다","systemAudio": "시스템 오디오","microphone": "마이크",@@ -115,6 +116,8 @@"loading": "로딩 중…","noCameraFound": "카메라를 찾을 수 없음","cameraAccessError": "이 카메라에 액세스할 수 없습니다",+ "noMicrophoneFound": "마이크를 찾을 수 없음",+ "microphoneUnavailable": "마이크에 액세스할 수 없습니다","startingCamera": "카메라 시작 중…","turnOnCameraHint": "카메라를 켜면 실시간 미리보기가 표시됩니다","entireScreen": "전체 화면",diff --git a/src/i18n/locales/ko-KR/timeline.json b/src/i18n/locales/ko-KR/timeline.jsonindex 8d1ec2e88..198a06a06 100644--- a/src/i18n/locales/ko-KR/timeline.json+++ b/src/i18n/locales/ko-KR/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "녹화된 커서 움직임 기반","smartZoomsAndCuts": "스마트 컷","smartZoomsAndCutsHint": "AI 사용",- "comment": "코멘트","timelineTools": "타임라인 도구","arrangeClips": "클립 정리","arrangeClipsHint": "아래 클립을 드래그하여 순서를 바꾸거나 새 클립을 놓으세요",diff --git a/src/i18n/locales/pt-BR/editor.json b/src/i18n/locales/pt-BR/editor.jsonindex 5017b143b..d711e6064 100644--- a/src/i18n/locales/pt-BR/editor.json+++ b/src/i18n/locales/pt-BR/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Fonte",+ "selectSource": "Escolha o que gravar","systemPicker": "O sistema perguntará o que compartilhar","systemAudio": "Áudio do sistema","microphone": "Microfone",@@ -115,6 +116,8 @@"loading": "Carregando…","noCameraFound": "Nenhuma câmera encontrada","cameraAccessError": "Não foi possível acessar esta câmera",+ "noMicrophoneFound": "Nenhum microfone encontrado",+ "microphoneUnavailable": "Não foi possível acessar o microfone","startingCamera": "Iniciando câmera…","turnOnCameraHint": "Ative a câmera para ver uma pré-visualização ao vivo","entireScreen": "Tela inteira",diff --git a/src/i18n/locales/pt-BR/timeline.json b/src/i18n/locales/pt-BR/timeline.jsonindex 2c0669cbb..773e85770 100644--- a/src/i18n/locales/pt-BR/timeline.json+++ b/src/i18n/locales/pt-BR/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Do movimento do cursor gravado","smartZoomsAndCuts": "Cortes inteligentes","smartZoomsAndCutsHint": "Com IA",- "comment": "Comentário","timelineTools": "Ferramentas da linha do tempo","arrangeClips": "Organizar clipes","arrangeClipsHint": "Arraste os clipes abaixo para reordená-los ou solte novos",diff --git a/src/i18n/locales/ru/editor.json b/src/i18n/locales/ru/editor.jsonindex 453322c2e..dfd931c7a 100644--- a/src/i18n/locales/ru/editor.json+++ b/src/i18n/locales/ru/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Источник",+ "selectSource": "Выберите, что записывать","systemPicker": "Система спросит, чем поделиться","systemAudio": "Системный звук","microphone": "Микрофон",@@ -115,6 +116,8 @@"loading": "Загрузка…","noCameraFound": "Камера не найдена","cameraAccessError": "Не удалось получить доступ к этой камере",+ "noMicrophoneFound": "Микрофон не найден",+ "microphoneUnavailable": "Не удалось получить доступ к микрофону","startingCamera": "Запуск камеры…","turnOnCameraHint": "Включите камеру, чтобы увидеть предпросмотр в реальном времени","entireScreen": "Весь экран",diff --git a/src/i18n/locales/ru/timeline.json b/src/i18n/locales/ru/timeline.jsonindex e6281aaa8..10b870651 100644--- a/src/i18n/locales/ru/timeline.json+++ b/src/i18n/locales/ru/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "На основе записанного движения курсора","smartZoomsAndCuts": "Умные вырезки","smartZoomsAndCutsHint": "С помощью ИИ",- "comment": "Комментарий","timelineTools": "Инструменты таймлайна","arrangeClips": "Упорядочить клипы","arrangeClipsHint": "Перетащите клипы ниже, чтобы изменить порядок, или добавьте новые",diff --git a/src/i18n/locales/tr/editor.json b/src/i18n/locales/tr/editor.jsonindex 468a21af3..d7221987f 100644--- a/src/i18n/locales/tr/editor.json+++ b/src/i18n/locales/tr/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Kaynak",+ "selectSource": "Neyi kaydedeceğinizi seçin","systemPicker": "Sisteminiz neyi paylaşacağınızı soracak","systemAudio": "Sistem sesi","microphone": "Mikrofon",@@ -115,6 +116,8 @@"loading": "Yükleniyor…","noCameraFound": "Kamera bulunamadı","cameraAccessError": "Bu kameraya erişilemedi",+ "noMicrophoneFound": "Mikrofon bulunamadı",+ "microphoneUnavailable": "Mikrofona erişilemedi","startingCamera": "Kamera başlatılıyor…","turnOnCameraHint": "Canlı önizleme için kamerayı açın","entireScreen": "Tüm Ekran",diff --git a/src/i18n/locales/tr/timeline.json b/src/i18n/locales/tr/timeline.jsonindex 2a40fd1f8..3ea8d518b 100644--- a/src/i18n/locales/tr/timeline.json+++ b/src/i18n/locales/tr/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Kaydedilen imleç hareketinden","smartZoomsAndCuts": "Akıllı kırpma","smartZoomsAndCutsHint": "Yapay zeka ile",- "comment": "Yorum","timelineTools": "Zaman çizelgesi araçları","arrangeClips": "Klipleri düzenle","arrangeClipsHint": "Yeniden sıralamak için aşağıdaki klipleri sürükleyin veya yenilerini bırakın",diff --git a/src/i18n/locales/vi/editor.json b/src/i18n/locales/vi/editor.jsonindex 9b9478dfa..40095a1bd 100644--- a/src/i18n/locales/vi/editor.json+++ b/src/i18n/locales/vi/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "Nguồn",+ "selectSource": "Chọn nội dung để ghi","systemPicker": "Hệ thống sẽ hỏi bạn muốn chia sẻ gì","systemAudio": "Âm thanh hệ thống","microphone": "Micro",@@ -115,6 +116,8 @@"loading": "Đang tải…","noCameraFound": "Không tìm thấy máy ảnh","cameraAccessError": "Không thể truy cập máy ảnh này",+ "noMicrophoneFound": "Không tìm thấy micro",+ "microphoneUnavailable": "Không thể truy cập micro","startingCamera": "Đang khởi động máy ảnh…","turnOnCameraHint": "Bật máy ảnh để xem trước trực tiếp","entireScreen": "Toàn màn hình",diff --git a/src/i18n/locales/vi/timeline.json b/src/i18n/locales/vi/timeline.jsonindex 9b15c0e39..79c271c20 100644--- a/src/i18n/locales/vi/timeline.json+++ b/src/i18n/locales/vi/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "Từ chuyển động con trỏ đã ghi","smartZoomsAndCuts": "Cắt thông minh","smartZoomsAndCutsHint": "Với AI",- "comment": "Bình luận","timelineTools": "Công cụ dòng thời gian","arrangeClips": "Sắp xếp clip","arrangeClipsHint": "Kéo các clip bên dưới để sắp xếp lại hoặc thả clip mới vào",diff --git a/src/i18n/locales/zh-CN/editor.json b/src/i18n/locales/zh-CN/editor.jsonindex 3c4ab2a7a..cb5fdc710 100644--- a/src/i18n/locales/zh-CN/editor.json+++ b/src/i18n/locales/zh-CN/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "来源",+ "selectSource": "选择要录制的内容","systemPicker": "系统将询问要共享的内容","systemAudio": "系统音频","microphone": "麦克风",@@ -115,6 +116,8 @@"loading": "加载中…","noCameraFound": "未找到摄像头","cameraAccessError": "无法访问该摄像头",+ "noMicrophoneFound": "未找到麦克风",+ "microphoneUnavailable": "无法访问麦克风","startingCamera": "正在启动摄像头…","turnOnCameraHint": "开启摄像头以查看实时预览","entireScreen": "整个屏幕",diff --git a/src/i18n/locales/zh-CN/timeline.json b/src/i18n/locales/zh-CN/timeline.jsonindex a5d4f897a..81c62e474 100644--- a/src/i18n/locales/zh-CN/timeline.json+++ b/src/i18n/locales/zh-CN/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "基于录制的光标移动","smartZoomsAndCuts": "智能剪切","smartZoomsAndCutsHint": "使用 AI",- "comment": "评论","timelineTools": "时间轴工具","arrangeClips": "排列片段","arrangeClipsHint": "拖动下方片段以重新排序,或拖入新片段",diff --git a/src/i18n/locales/zh-TW/editor.json b/src/i18n/locales/zh-TW/editor.jsonindex 4cb305f09..edeab1749 100644--- a/src/i18n/locales/zh-TW/editor.json+++ b/src/i18n/locales/zh-TW/editor.json@@ -105,6 +105,7 @@},"rec": {"source": "來源",+ "selectSource": "選擇要錄製的內容","systemPicker": "系統將詢問要分享的內容","systemAudio": "系統音訊","microphone": "麥克風",@@ -115,6 +116,8 @@"loading": "載入中…","noCameraFound": "找不到攝影機","cameraAccessError": "無法存取此攝影機",+ "noMicrophoneFound": "找不到麥克風",+ "microphoneUnavailable": "無法存取麥克風","startingCamera": "正在啟動攝影機…","turnOnCameraHint": "開啟攝影機以檢視即時預覽","entireScreen": "整個螢幕",diff --git a/src/i18n/locales/zh-TW/timeline.json b/src/i18n/locales/zh-TW/timeline.jsonindex 7f5d90beb..e15055444 100644--- a/src/i18n/locales/zh-TW/timeline.json+++ b/src/i18n/locales/zh-TW/timeline.json@@ -66,7 +66,6 @@"automaticZoomsHint": "根據錄製的游標移動","smartZoomsAndCuts": "智慧剪輯","smartZoomsAndCutsHint": "使用 AI",- "comment": "留言","timelineTools": "時間軸工具","arrangeClips": "排列片段","arrangeClipsHint": "拖曳下方片段以重新排序,或拖曳新片段至此",diff --git a/src/index.css b/src/index.cssindex eb7cb8384..cf0953a8d 100644--- a/src/index.css+++ b/src/index.css@@ -66,11 +66,20 @@}body {@apply bg-background text-foreground;+ /* Every window — HUD, picker, permissions, notes, anything portaled to+ body — speaks the brand face, not just the editor shell. */+ font-family: var(--font-body);-webkit-user-select: none;user-select: none;overflow: hidden;text-rendering: geometricPrecision;}+ /* Lucide's 2/24 stroke draws 1.33px lines at the 16px most of the chrome uses,+ which reads as delicate; a touch heavier reads as friendly. Overrides any+ per-icon strokeWidth on purpose. */+ svg.lucide {+ stroke-width: 2.25;+ }}/* Smooth timeline cursor animations */diff --git a/src/styles/design-tokens.css b/src/styles/design-tokens.cssindex 1f6bf3a56..4d8676c30 100644--- a/src/styles/design-tokens.css+++ b/src/styles/design-tokens.css@@ -33,7 +33,7 @@--fg-emphasis: #020617;--muted: #64748b;--muted-soft: #94a3b8;- --meta: #7c8aa0;+ --meta: #6b7a90;--dim: #b6c2d1;/* mint brand */@@ -140,8 +140,8 @@/* radius */--r-xs: 4px;- --r-sm: 6px;- --r-md: 8px;+ --r-sm: 8px;+ --r-md: 10px;--r-lg: 12px;--r-pill: 9999px;@@ -170,7 +170,7 @@--bg: #0a0d12;--bg-grad: radial-gradient(ellipse at 50% 0%, #13171f 0%, #0a0d12 60%);--surface: #14181f;- --surface-1: #14181f;+ --surface-1: #191d26;--surface-2: #1c2029;--surface-3: #252a35;--surface-hi: #2b313b;@@ -185,7 +185,7 @@--fg: #e6e9ef;--fg-2: #f3f5f8;--muted: #8b95a3;- --meta: #5b6470;+ --meta: #7a8491;--dim: #1c2029;--brand: #10b981;diff --git a/tests/e2e/editor-smoke.spec.ts b/tests/e2e/editor-smoke.spec.tsindex 7bfa15a02..f26fb8fc6 100644--- a/tests/e2e/editor-smoke.spec.ts+++ b/tests/e2e/editor-smoke.spec.ts@@ -28,7 +28,7 @@ test("editor boots into the empty state with no project, and logs no console errawait expect(preview).toBeVisible();await expect(preview).toHaveAttribute("data-current-time-sec", /^\d+(\.\d+)?$/);await expect(preview).toHaveAttribute("data-is-playing", /^(true|false)$/);- await expect(preview).toContainText("No project open");+ await expect(preview).toContainText("Start with a recording");// Timeline mounts even with nothing on it (V4Timeline's tools toolbar).await expect(page.getByRole("toolbar", { name: "Timeline tools" })).toBeVisible();diff --git a/website/docs/editing-timeline.md b/website/docs/editing-timeline.mdindex 96003490a..5f22a660e 100644--- a/website/docs/editing-timeline.md+++ b/website/docs/editing-timeline.md@@ -20,7 +20,7 @@ The editor has three modes, switched from the segmented control in the top bar:|---|---|| **Media** | Your project's clips: import, search, inspect transcripts, drag onto the timeline. See [Media library](./media-library.md). || **Edit** | The preview, the floating inspector, and the full timeline. This is where the project is actually edited. |-| **Rec** | Pre-flight config for a new recording — mic, camera, system audio, cursor. See [Recording](./recording.md#recording-from-the-editor-rec-mode). |+| **Record** | Pre-flight config for a new recording — mic, camera, system audio, cursor. See [Recording](./recording.md#recording-from-the-editor-rec-mode). |Everything below describes **Edit** mode: a resizable preview on top, a timeline underneath. Drag the handle between them to rebalance the split.@@ -46,7 +46,7 @@ Selecting a region on the timeline (a zoom, trim, annotation, speed, or Full Cam- **Automatic zooms** — reads the recorded cursor movement and drops zoom regions on the moments where the cursor dwells. No network, no model. [Auto zoom](/features/auto-zoom/) explains how the moments are picked.- **Smart cuts** (marked *With AI*) — hands the job to the AI agent instead, which needs a [connected provider](./ai-editing.md).- **Speed** (`S`) — adds a speed-change region at the playhead.-- **Comment** (`A`) — adds an annotation at the playhead.+- **Annotation** (`A`) — adds an annotation at the playhead.- **Trim** (`T`) — drops a two-second cut ("trim region") at the playhead. Drag its edges to resize, like any other region.- **Add zoom** (`Z`) — drops an animated zoom region at the playhead.- **Auto focus** (crosshair) — toggle; when on, every zoom region follows the cursor and the per-zoom focus control locks.@@ -85,7 +85,7 @@ Four types, switchable from the **Type** dropdown in the inspector. Switching ty- **Text** — content, size, background color with an on/off toggle, text color, and an appearance animation (None / Fade / Rise / Pop / Slide Left / Typewriter / Pulse).- **Image** — upload a JPG, PNG, GIF, or WebP.- **Arrow** — eight directions, stroke width (1–20), and color.-- **Blur** — a privacy mask. Gaussian or Mosaic, rectangle or oval, with intensity (or mosaic block size). Drag and resize it over the preview like any other annotation.+- **Blur** — a privacy mask. Smooth or Mosaic, rectangle or oval, with intensity (or mosaic block size). Drag and resize it over the preview like any other annotation.:::noteFreehand blur shapes can no longer be drawn. Existing ones still render, but as their bounding box — deliberately over-covering rather than leaving something you marked private visible in the export. The inspector says so when it sees one.diff --git a/website/docs/guides/product-demo-video.md b/website/docs/guides/product-demo-video.mdindex 534465521..bd2f5cdd6 100644--- a/website/docs/guides/product-demo-video.md+++ b/website/docs/guides/product-demo-video.md@@ -28,7 +28,7 @@ On Windows and macOS, click **Open Notes** in the HUD. It opens a rich-text windThe Notes window doubles as a teleprompter. **Start auto-scroll** scrolls the text at a speed from 10 to 100. The font size goes from 14 to 48 px, and **Mirror horizontally** flips the text.:::caution-On Windows, OpenScreen keeps the HUD and the Notes window out of the capture. On macOS it cannot guarantee that, so keep the Notes window on a display you are not recording. On macOS and Linux, use **Hide HUD** if the HUD sits on the recorded screen.+On Windows, OpenScreen keeps the HUD and the Notes window out of the capture. On macOS it cannot guarantee that, so keep the Notes window on a display you are not recording. On macOS and Linux, use **Hide recording bar** if the HUD sits on the recorded screen.:::## 2. Record the screen or a window@@ -50,10 +50,10 @@ See [Recording](../recording.md) for every HUD control.The webcam is recorded to its own file, so its placement is an editing decision you can change at any time. Open the **Camera layout** facet in the editor's inspector:-- **Picture in Picture**, **Vertical Stack**, **Dual Frame**, or **No Webcam**.+- **Picture in picture**, **Vertical stack**, **Dual frame**, or **No webcam**.- For every layout: mirror, and a crop of the camera image.-- For **Picture in Picture** only: **Camera Shape** (Rect, Circle, Square or Rounded), a size from 10 to 50% (25% by default), and **Shrink on Zoom**, on by default, which makes the camera smaller while a zoom plays so it does not cover the detail. Drag the camera on the canvas to move it.-- **Camera Background**: Original, Blur, Cutout or Custom. Cutout removes the background without a green screen, using a segmentation model that runs on your CPU. This section only appears when the segmentation runtime loads on your machine.+- For **Picture in picture** only: **Camera shape** (Rect, Circle, Square or Rounded), a size from 10 to 50% (25% by default), and **Shrink on zoom**, on by default, which makes the camera smaller while a zoom plays so it does not cover the detail. Drag the camera on the canvas to move it.+- **Camera background**: Original, Blur, Cutout or Custom. Cutout removes the background without a green screen, using a segmentation model that runs on your CPU. This section only appears when the segmentation runtime loads on your machine.For an intro or outro, press `C` to add a **Full Camera** segment: the camera fills the whole frame for that span.@@ -83,7 +83,7 @@ If you have connected your own LLM provider, **Auto-enhance → Smart cuts** hanPress `A` to add an annotation, then pick its **Type**:-- **Blur**: Gaussian or Mosaic, rectangle or oval. Place it over emails, API keys or customer names, stretch its region over every frame that shows them, then scrub through to check.+- **Blur**: Smooth or Mosaic, rectangle or oval. Place it over emails, API keys or customer names, stretch its region over every frame that shows them, then scrub through to check.- **Text**: with an optional animation (Fade, Rise, Pop, Slide Left, Typewriter or Pulse).- **Arrow**: eight directions, adjustable stroke width and color.- **Image**: a JPG, PNG, GIF or WebP, such as a logo.diff --git a/website/docs/media-library.md b/website/docs/media-library.mdindex f36394f8c..5876d1581 100644--- a/website/docs/media-library.md+++ b/website/docs/media-library.md@@ -22,7 +22,7 @@ Switch to **Media** in the top bar. The stage shows one card per source in the pSelect a card to open its detail panel:-- **Source Transcript** — the full text for that asset, with its status (No transcript / Pending transcription / Downloading speech model / Starting speech model / Transcribing / Transcript ready / No speech detected / No audio track / Transcription failed) and the detected language.+- **Transcript** — the full text for that asset, with its status (No transcript / Pending transcription / Downloading speech model / Starting speech model / Transcribing / Transcript ready / No speech detected / No audio track / Transcription failed) and the detected language.- **Regenerate as** — re-run local Whisper for this asset, either on **Auto** detection or forced to one of the 100 languages Whisper supports.**Import media** adds a video from disk. The file dialog accepts `webm`, `mp4`, `mov`, `avi`, `mkv`, `m4v`, `wmv`, `flv`, and `ts`. This stage holds video only: music and other audio files go in from the timeline toolbar's **Add audio** menu, and images go in as [image annotations](./editing-timeline.md#annotations).@@ -48,7 +48,7 @@ The **Format** control in the **Composition** facet sets the shape of the frame;**New project** asks for a name and a starting point:-- **Screen recording** — jumps straight into [Rec mode](./recording.md#recording-from-the-editor-rec-mode).+- **Screen recording** — jumps straight into [Record mode](./recording.md#recording-from-the-editor-rec-mode).- **Import media** — opens the file picker.**Open project** lists your recent `.openscreen` files with a search box, keyboard navigation, and a **Browse files…** escape hatch. You can also drop a `.openscreen` file onto the empty editor.diff --git a/website/docs/quick-start.md b/website/docs/quick-start.mdindex f837d07ef..38d8a44e3 100644--- a/website/docs/quick-start.md+++ b/website/docs/quick-start.md@@ -22,7 +22,7 @@ Launching OpenScreen shows a small floating pill (the HUD) docked at the bottom## 2. Pick what to record-Click the source picker (screen icon) to open the source selector. It lists your **Screens** and **Windows** in two tabs — pick a thumbnail and hit **Share**.+Click the source picker (screen icon) to open the source selector. It lists your **Screens** and **Windows** in two tabs — pick a thumbnail and hit **Select**.On Linux the HUD has no source picker. It reads *Your system will ask what to share*: when you press record, your desktop's own sharing dialog asks for the screen or window, before the countdown and again on every take.@@ -55,7 +55,7 @@ Click **Open Studio** (or it opens automatically after stopping) to load your reThat's the core loop. For the full editing toolset — zooms, speed changes, annotations, cursor styling, webcam layout — see [Editing & timeline](./editing-timeline.md). To assemble several takes into one video, see [Media library](./media-library.md).:::note-The top bar switches the editor between three modes: **Media** (your clips), **Edit** (everything above), and **Rec** (set up the next recording without leaving the app).+The top bar switches the editor between three modes: **Media** (your clips), **Edit** (everything above), and **Record** (set up the next recording without leaving the app).::::::tipdiff --git a/website/docs/recording.md b/website/docs/recording.mdindex a3ac96aca..1cb626d0c 100644--- a/website/docs/recording.md+++ b/website/docs/recording.md@@ -25,7 +25,7 @@ The source picker button shows the currently selected screen or window (truncate- **Screens** — one card per display.- **Windows** — one card per open window, with its app icon.-Pick a thumbnail and hit **Share**. If no source is selected when you hit record, OpenScreen opens the picker first and starts recording automatically once you choose one.+Pick a thumbnail and hit **Select**. If no source is selected when you hit record, OpenScreen opens the picker first and starts recording automatically once you choose one.There is no region capture: you record a whole screen or a window, and crop the frame afterwards, clip by clip, in the editor.@@ -74,9 +74,9 @@ Hitting record triggers a 3‑2‑1 countdown, rendered as a full-desktop overla- **Language** — a locale picker (13 languages) that only affects the OpenScreen UI, not your recording.- Window controls to hide the HUD or quit the app.-## Recording from the editor (Rec mode)+## Recording from the editor (Record mode) {#recording-from-the-editor-rec-mode}-You don't have to start from the HUD. In the editor, switch the top bar to **Rec** to get a full-size pre-flight page instead of a pill:+You don't have to start from the HUD. In the editor, switch the top bar to **Record** to get a full-size pre-flight page instead of a pill:- **Source** — same screen/window picker, in a modal. On Linux this row also reads *Your system will ask what to share*, and the portal dialog does the choosing.- **System audio**, **Microphone**, **Camera** — each an on/off row; mic and camera expand to a device list, and the camera shows a live preview so you can frame yourself before going live.diff --git a/website/src/components/Recreation/generated.ts b/website/src/components/Recreation/generated.tsindex 4205cb6a2..3cf236df5 100644--- a/website/src/components/Recreation/generated.ts+++ b/website/src/components/Recreation/generated.ts@@ -520,7 +520,7 @@ export const PANELS = {"Color","Gradient",],- uploadCustom: "Upload Custom",+ uploadCustom: "Upload image",wallpaperCount: 18,swatchLabels: ["Background 1",@@ -546,16 +546,16 @@ export const PANELS = {effects: {title: "Composition",padding: "Padding",- blurBg: "Blur BG",- motionBlur: "Motion Blur",+ blurBg: "Blur background",+ motionBlur: "Motion blur",shadow: "Shadow",roundness: "Roundness",},cursor: {title: "Cursor",- show: "Show Cursor",- clipToBounds: "Clip to Canvas",- theme: "Cursor Style",+ show: "Show cursor",+ clipToBounds: "Keep inside frame",+ theme: "Cursor style",size: "Size",smoothing: "Smoothing",},@@ -582,11 +582,11 @@ export const CONTROLS = {display: "55%",},blurBg: {- label: "Blur BG",+ label: "Blur background",on: true,},motionBlur: {- label: "Motion Blur",+ label: "Motion blur",value: 30,min: 0,max: 100,@@ -610,15 +610,15 @@ export const CONTROLS = {display: "40px",},cursorShow: {- label: "Show Cursor",+ label: "Show cursor",on: true,},clipToBounds: {- label: "Clip to Canvas",+ label: "Keep inside frame",on: false,},cursorTheme: {- label: "Cursor Style",+ label: "Cursor style",value: "default",},cursorSize: {@@ -748,7 +748,7 @@ export const TOOLBAR = {/** The app's dark tokens, read out of design-tokens.css. */export const TOKENS = {surface: "#14181f",- surface1: "#14181f",+ surface1: "#191d26",surface2: "#1c2029",surface3: "#252a35",border: "#252a35",@@ -757,7 +757,7 @@ export const TOKENS = {fg2: "#f3f5f8",muted: "#8b95a3",meta: "#8b95a3",- metaInApp: "#5b6470",+ metaInApp: "#7a8491",accent: "#10b981",danger: "#f87171",playhead: "#6c55ff",@@ -800,18 +800,18 @@ export const PROVENANCE: ProvenanceEntry[] = [{ shown: "Image", source: "src/i18n/locales/en/settings.json → background.image" },{ shown: "Color", source: "src/i18n/locales/en/settings.json → background.color" },{ shown: "Gradient", source: "src/i18n/locales/en/settings.json → background.gradient" },- { shown: "Upload Custom", source: "src/i18n/locales/en/settings.json → background.uploadCustom" },+ { shown: "Upload image", source: "src/i18n/locales/en/settings.json → background.uploadCustom" },{ shown: "Background 1", source: "computed: settings.json background.imageLabel over the 18 wallpapers WALLPAPER_COUNT declares in src/lib/wallpaper.ts" },{ shown: "Composition", source: "src/i18n/locales/en/settings.json → effects.title" },{ shown: "Padding", source: "src/i18n/locales/en/settings.json → effects.padding" },- { shown: "Blur BG", source: "src/i18n/locales/en/settings.json → effects.blurBg" },- { shown: "Motion Blur", source: "src/i18n/locales/en/settings.json → effects.motionBlur" },+ { shown: "Blur background", source: "src/i18n/locales/en/settings.json → effects.blurBg" },+ { shown: "Motion blur", source: "src/i18n/locales/en/settings.json → effects.motionBlur" },{ shown: "Shadow", source: "src/i18n/locales/en/settings.json → effects.shadow" },{ shown: "Roundness", source: "src/i18n/locales/en/settings.json → effects.roundness" },{ shown: "Cursor", source: "src/i18n/locales/en/settings.json → cursor.title" },- { shown: "Show Cursor", source: "src/i18n/locales/en/settings.json → cursor.show" },- { shown: "Clip to Canvas", source: "src/i18n/locales/en/settings.json → cursor.clipToBounds" },- { shown: "Cursor Style", source: "src/i18n/locales/en/settings.json → cursor.theme" },+ { shown: "Show cursor", source: "src/i18n/locales/en/settings.json → cursor.show" },+ { shown: "Keep inside frame", source: "src/i18n/locales/en/settings.json → cursor.clipToBounds" },+ { shown: "Cursor style", source: "src/i18n/locales/en/settings.json → cursor.theme" },{ shown: "Size", source: "src/i18n/locales/en/settings.json → cursor.size" },{ shown: "Smoothing", source: "src/i18n/locales/en/settings.json → cursor.smoothing" },];@@ -829,7 +829,7 @@ export const MARKUP = {],["#8b95a3",- "#14181f",+ "#191d26","clip range on the inspector",],[@@ -869,7 +869,7 @@ export const MARKUP = {],["#8b95a3",- "#14181f",+ "#191d26","composer placeholder",],] as [string, string, string][],