AI media harness for planning, generating, and editing locally
TypeScript
Seed four numbered tracks and move the transport onto the timeline
Bitti80a3622fd0ce
diff --git a/fixtures/project-v1-created.json b/fixtures/project-v1-created.jsonindex 5571943..fc096fb 100644--- a/fixtures/project-v1-created.json+++ b/fixtures/project-v1-created.json@@ -21,42 +21,34 @@"assets": [],"timeline": {"tracks": [- {- "id": "track-overlay",- "kind": "video",- "name": "Overlays",- "locked": false,- "muted": false,- "clips": []- },{"id": "track-story","kind": "video",- "name": "Story",+ "name": "Track 1, Video","locked": false,"muted": false,"clips": []},{- "id": "track-b-roll",+ "id": "track-v2","kind": "video",- "name": "B-roll",+ "name": "Track 2, Video","locked": false,"muted": false,"clips": []},{- "id": "track-voice-over",+ "id": "track-a1","kind": "audio",- "name": "Voice-over",+ "name": "Track 1, Audio","locked": false,"muted": false,"clips": []},{- "id": "track-music",+ "id": "track-a2","kind": "audio",- "name": "Music",+ "name": "Track 2, Audio","locked": false,"muted": false,"clips": []diff --git a/fixtures/rust-serialized-created.json b/fixtures/rust-serialized-created.jsonindex e1346c7..076dcef 100644--- a/fixtures/rust-serialized-created.json+++ b/fixtures/rust-serialized-created.json@@ -21,42 +21,34 @@"assets": [],"timeline": {"tracks": [- {- "id": "track-overlay",- "kind": "video",- "name": "Overlays",- "locked": false,- "muted": false,- "clips": []- },{"id": "track-story","kind": "video",- "name": "Story",+ "name": "Track 1, Video","locked": false,"muted": false,"clips": []},{- "id": "track-b-roll",+ "id": "track-v2","kind": "video",- "name": "B-roll",+ "name": "Track 2, Video","locked": false,"muted": false,"clips": []},{- "id": "track-voice-over",+ "id": "track-a1","kind": "audio",- "name": "Voice-over",+ "name": "Track 1, Audio","locked": false,"muted": false,"clips": []},{- "id": "track-music",+ "id": "track-a2","kind": "audio",- "name": "Music",+ "name": "Track 2, Audio","locked": false,"muted": false,"clips": []diff --git a/fixtures/rust-serialized-initial-reference.json b/fixtures/rust-serialized-initial-reference.jsonindex 94a8ec0..b3997a0 100644--- a/fixtures/rust-serialized-initial-reference.json+++ b/fixtures/rust-serialized-initial-reference.json@@ -21,42 +21,34 @@"assets": [],"timeline": {"tracks": [- {- "id": "track-overlay",- "kind": "video",- "name": "Overlays",- "locked": false,- "muted": false,- "clips": []- },{"id": "track-story","kind": "video",- "name": "Story",+ "name": "Track 1, Video","locked": false,"muted": false,"clips": []},{- "id": "track-b-roll",+ "id": "track-v2","kind": "video",- "name": "B-roll",+ "name": "Track 2, Video","locked": false,"muted": false,"clips": []},{- "id": "track-voice-over",+ "id": "track-a1","kind": "audio",- "name": "Voice-over",+ "name": "Track 1, Audio","locked": false,"muted": false,"clips": []},{- "id": "track-music",+ "id": "track-a2","kind": "audio",- "name": "Music",+ "name": "Track 2, Audio","locked": false,"muted": false,"clips": []diff --git a/src/components/ProjectWorkspace.test.ts b/src/components/ProjectWorkspace.test.tsindex 0e2eabb..89782e8 100644--- a/src/components/ProjectWorkspace.test.ts+++ b/src/components/ProjectWorkspace.test.ts@@ -4,7 +4,7 @@ import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/reimport { createElement } from "react";import { afterEach, describe, expect, it, vi } from "vitest";import completeFixture from "../../fixtures/project-v1-complete.json";-import { compileMiniMaxH3Prompt, createProjectConfig, parseProjectConfig, type ProjectConfig } from "../lib/project";+import { compileMiniMaxH3Prompt, createProjectConfig, parseProjectConfig, STORY_TRACK_ID, type ProjectConfig } from "../lib/project";import { formatDurationTimecode } from "./ProjectWorkspace";import { ProjectWorkspace } from "./ProjectWorkspace";import { GeneratorView } from "./workspace/GeneratorView";@@ -165,16 +165,16 @@ describe("project workspace timecode", () => {expect(deleteButton.title).toBe("This clip’s track is locked");});- it("inserts only a completed job with a real output into Story", () => {+ it("inserts only a completed job with a real output into the first video track", () => {const fresh = createProjectConfig({ name: "Ceramic lamp", prompt: "A quiet product film", aspectRatio: "16:9", resolution: "1080p", targetDurationSeconds: 30 });const config = parseProjectConfig({ ...fresh, generationJobs: [{ ...fresh.generationJobs[0], status: "completed", stage: "completed", progress: 1, outputRelativePath: "media/generated/first-scene.mp4" }] });const onChange = vi.fn();const onOpenTimeline = vi.fn();render(createElement(GeneratorView, { config, folderPath: "C:\Ceramic Lamp", onChange, onOpenTimeline, selectedJobId: config.generationJobs[0].id }));- fireEvent.click(screen.getByRole("button", { name: "Insert into Story" }));+ fireEvent.click(screen.getByRole("button", { name: "Insert into Track 1, Video" }));const next = onChange.mock.calls[0][0];expect(next.assets[0].relativePath).toBe("media/generated/first-scene.mp4");- expect(next.timeline.tracks.find((track: { name: string }) => track.name === "Story").clips).toHaveLength(1);+ expect(next.timeline.tracks.find((track: { id: string }) => track.id === STORY_TRACK_ID).clips).toHaveLength(1);expect(onOpenTimeline).toHaveBeenCalledOnce();});diff --git a/src/components/workspace/GeneratorView.tsx b/src/components/workspace/GeneratorView.tsxindex 5414969..b53eb0b 100644--- a/src/components/workspace/GeneratorView.tsx+++ b/src/components/workspace/GeneratorView.tsx@@ -151,12 +151,12 @@ export function GeneratorView({ config, folderPath, runtime = null, onChange, onconst existingAsset = config.assets.find((asset) => asset.relativePath === job.outputRelativePath);const asset: ProjectAsset = existingAsset ?? { id: `asset-${crypto.randomUUID()}`, kind: "generated", name: job.title, relativePath: job.outputRelativePath, mimeType: "video/mp4", durationMs: 6_000, createdAt: now };/* By id first: tracks can be renamed, and matching on the name alone made- a renamed story track invisible here — the next insert built a second- "Story" track beside it. The name is the fallback for projects made- before the id was fixed. */+ a renamed first video track invisible here — the next insert built a+ second one beside it. The name check is the fallback for projects saved+ before the id was fixed, when the track was still called "Story". */const existingStory = config.timeline.tracks.find((track) => track.id === STORY_TRACK_ID)?? config.timeline.tracks.find((track) => track.kind === "video" && track.name === "Story");- const story: TimelineTrack = existingStory ?? { id: STORY_TRACK_ID, kind: "video", name: "Story", locked: false, muted: false, clips: [] };+ const story: TimelineTrack = existingStory ?? { id: STORY_TRACK_ID, kind: "video", name: "Track 1, Video", locked: false, muted: false, clips: [] };if (story.locked) return;const startMs = story.clips.reduce((end, clip) => Math.max(end, clip.startMs + clip.durationMs), 0);const clip: TimelineClip = { id: `clip-${crypto.randomUUID()}`, assetId: asset.id, trackId: story.id, startMs, durationMs: asset.durationMs ?? 6_000, sourceStartMs: 0, label: job.title, color: "#4f6ba8", status: "generated" };@@ -371,7 +371,7 @@ export function GeneratorView({ config, folderPath, runtime = null, onChange, on</div></>}- {selected.status === "completed" && selected.outputRelativePath && !selected.clipId && <button className="primary-button" onClick={() => insertIntoStory(selected)}><Play size={15} /> Insert into Story</button>}+ {selected.status === "completed" && selected.outputRelativePath && !selected.clipId && <button className="primary-button" onClick={() => insertIntoStory(selected)}><Play size={15} /> Insert into Track 1, Video</button>}{selected.status === "completed" && selected.clipId && <button className="primary-button" onClick={onOpenTimeline}><Play size={15} /> Open in timeline</button>}diff --git a/src/components/workspace/TimelineView.tsx b/src/components/workspace/TimelineView.tsxindex b0b19c8..b2082c7 100644--- a/src/components/workspace/TimelineView.tsx+++ b/src/components/workspace/TimelineView.tsx@@ -153,6 +153,10 @@ export function TimelineView({ config, folderPath, onChange, onOpenGenerator }:const deleteBlockedBy = !selected? "Select a clip to delete it": !selectedTrack || selectedTrack.locked ? "This clip’s track is locked" : null;+ /* Same rule again for the transport: every one of its controls is off for the+ same reason, and saying that reason is the difference between a disabled+ button and a broken one. */+ const transportBlockedBy = clipCount === 0 ? "Nothing to play yet — add or generate a scene first." : null;const importMedia = async () => {setImportError(null);setImporting(true);@@ -317,17 +321,6 @@ export function TimelineView({ config, folderPath, onChange, onOpenGenerator }:</div>)}</div>- <div className="monitor-transport">- <strong>{timecode(playhead)}</strong>- <div>- <button onClick={() => setPlayhead(0)} aria-label="Go to beginning" title={clipCount === 0 ? "Nothing to play yet — add or generate a scene first." : "Go to beginning"} disabled={clipCount === 0}><SkipBack size={18} /></button>- {/* Nothing to play means nothing to play: running the clock over- an empty timeline reads as playback of footage that isn't there. */}- <button className="play-button" onClick={() => setPlaying((value) => !value)} aria-label={playing ? "Pause" : "Play"} disabled={clipCount === 0} title={clipCount === 0 ? "Nothing to play yet — add or generate a scene first." : playing ? "Pause" : "Play"}>{playing ? <Pause size={18} fill="currentColor" /> : <Play size={18} fill="currentColor" />}</button>- <button onClick={() => setPlayhead(Math.min(duration, playhead + 1000))} aria-label="Step forward one second" title={clipCount === 0 ? "Nothing to play yet — add or generate a scene first." : "Step forward one second"} disabled={clipCount === 0}><SkipForward size={18} /></button>- </div>- <span>{config.settings.resolution.toUpperCase()} · {config.settings.frameRate} fps</span>- </div></main><aside className="clip-inspector">@@ -366,7 +359,21 @@ export function TimelineView({ config, folderPath, onChange, onOpenGenerator }:<section className="pro-timeline"><header className="timeline-toolbar">- <div><h2>Timeline</h2><span>{timecode(playhead)}</span></div>+ <h2>Timeline</h2>+ {/* The transport belongs to the timeline, not to the picture: it drives+ the playhead, and the playhead is drawn a few pixels below this row.+ Under the monitor it also printed the same timecode this toolbar was+ already printing, so one clock was shown twice and could be read as+ two. One transport, one timecode, beside the ruler they refer to. */}+ <div className="timeline-transport">+ <button onClick={() => setPlayhead(0)} aria-label="Go to beginning" title={transportBlockedBy ?? "Go to beginning"} disabled={transportBlockedBy !== null}><SkipBack size={18} /></button>+ {/* Nothing to play means nothing to play: running the clock over an+ empty timeline reads as playback of footage that isn't there. */}+ <button className="play-button" onClick={() => setPlaying((value) => !value)} aria-label={playing ? "Pause" : "Play"} disabled={transportBlockedBy !== null} title={transportBlockedBy ?? (playing ? "Pause" : "Play")}>{playing ? <Pause size={18} fill="currentColor" /> : <Play size={18} fill="currentColor" />}</button>+ <button onClick={() => setPlayhead(Math.min(duration, playhead + 1000))} aria-label="Step forward one second" title={transportBlockedBy ?? "Step forward one second"} disabled={transportBlockedBy !== null}><SkipForward size={18} /></button>+ <strong className="transport-time" title="Playhead position">{timecode(playhead)}</strong>+ <span className="transport-format">{config.settings.resolution.toUpperCase()} · {config.settings.frameRate} fps</span>+ </div><div className="timeline-tools"><button onClick={addScene} title="Draft a new scene"><Plus size={16} /> Add</button><button onClick={splitSelected} disabled={splitBlockedBy !== null} title={splitBlockedBy ?? "Split at playhead"}><Scissors size={16} /> Split</button>diff --git a/src/lib/project.test.ts b/src/lib/project.test.tsindex e95e56f..f7af928 100644--- a/src/lib/project.test.ts+++ b/src/lib/project.test.ts@@ -16,6 +16,7 @@ import {projectNameFromPrompt,projectReferenceSchema,seedProjectWorkspace,+ STORY_TRACK_ID,usableImageReferences,type ProjectReference,} from "./project";@@ -51,10 +52,13 @@ describe("project schema", () => {});expect(parseProjectConfig(project)).toEqual(project);expect(project.schemaVersion).toBe(1);- // Three video layers: an overlay or title card has to be able to sit above- // the story track, and B-roll below it, without displacing the shot the- // story is made of.- expect(project.timeline.tracks.map((track) => track.name)).toEqual(["Overlays", "Story", "B-roll", "Voice-over", "Music"]);+ // Two video layers over two audio, numbered rather than named after a job:+ // the seed says where a track sits, not what the user must put on it.+ expect(project.timeline.tracks.map((track) => track.name)).toEqual(["Track 1, Video", "Track 2, Video", "Track 1, Audio", "Track 2, Audio"]);+ expect(project.timeline.tracks.map((track) => track.kind)).toEqual(["video", "video", "audio", "audio"]);+ // GeneratorView inserts generated shots by id. Renaming the tracks must+ // not move that target off the first video track.+ expect(project.timeline.tracks[0].id).toBe(STORY_TRACK_ID);expect(project.timeline.tracks.every((track) => track.clips.length === 0)).toBe(true);expect(project.references).toEqual([]);expect(project.generationJobs).toHaveLength(1);@@ -308,6 +312,17 @@ describe("project schema", () => {// job has NO clipId key at all, which is what every real project looks like.expect(parseProjectConfig(createdFixture)).toBeTruthy();expect("clipId" in createdFixture.generationJobs[0]).toBe(false);+ // Rust reads THIS file and writes the wire fixtures from it, so a seed+ // change that lands only in the TypeScript leaves the two layers testing+ // different projects. Compare the part that was seeded.+ const created = createProjectConfig({+ name: "Freshly created project",+ prompt: "a rocket launch over the ocean at dawn",+ aspectRatio: "16:9",+ resolution: "1080p",+ targetDurationSeconds: 60,+ });+ expect(createdFixture.timeline).toEqual(created.timeline);});it("accepts an explicit null for every optional the backend can serialise as null", () => {@@ -403,7 +418,11 @@ describe("project schema", () => {resolution: "4k",targetDurationSeconds: 34,}));- expect(project.timeline.tracks).toHaveLength(5);+ expect(project.timeline.tracks).toHaveLength(4);+ expect(project.timeline.tracks.map((track) => track.name)).toEqual(["Track 1, Video", "Track 2, Video", "Track 1, Audio", "Track 2, Audio"]);+ // Every demo clip has to land on a track that is actually in the seed.+ const trackIds = new Set(project.timeline.tracks.map((track) => track.id));+ expect(project.timeline.tracks.flatMap((track) => track.clips).every((clip) => trackIds.has(clip.trackId))).toBe(true);expect(project.generationJobs.some((job) => job.status === "generating")).toBe(true);expect(project.references.some((reference) => reference.kind === "image")).toBe(true);expect(project.assets.every((asset) => !asset.relativePath.match(/^([a-z]:|[/\\])/i))).toBe(true);diff --git a/src/lib/project.ts b/src/lib/project.tsindex c8900b7..078dee0 100644--- a/src/lib/project.ts+++ b/src/lib/project.ts@@ -433,10 +433,12 @@ export function createDraftGenerationJob(});}-/* The track a generated shot lands on. Tracks are renameable, so the generator- can no longer find this one by its name — an id survives a rename, and a- project whose owner called it "Act one" must not grow a second Story track- the next time a shot is inserted. */+/* The track a generated shot lands on: the first video track. Tracks are+ renameable, so the generator can no longer find this one by its name — an id+ survives a rename, and a project whose owner called it "Act one" must not+ grow a second track beside it the next time a shot is inserted. The id keeps+ its historical spelling so projects saved before the tracks were renamed+ still resolve to the same track. */export const STORY_TRACK_ID = "track-story";export function createProjectConfig(input: CreateProjectInput): ProjectConfig {@@ -455,16 +457,17 @@ export function createProjectConfig(input: CreateProjectInput): ProjectConfig {aspectRatio: input.aspectRatio, resolution: input.resolution,},assets: [],- /* Three video layers, not one: an overlay, a title card, or a cutaway has- to sit ABOVE the story track, and B-roll below it, and with a single- layer the only way to get either there was to displace the shot the- story is actually made of. */+ /* Two video layers and two audio, named the way an editor numbers them.+ The old set named the layers after a job — Overlays, Story, B-roll — which+ decided for the user what each one was for; a numbered pair says only+ where it sits, and every track stays renameable. Two of each is what a+ cut needs to work at all: something to lay over, and something to lay+ under. */timeline: { tracks: [- { id: "track-overlay", kind: "video", name: "Overlays", locked: false, muted: false, clips: [] },- { id: STORY_TRACK_ID, kind: "video", name: "Story", locked: false, muted: false, clips: [] },- { id: "track-b-roll", kind: "video", name: "B-roll", locked: false, muted: false, clips: [] },- { id: "track-voice-over", kind: "audio", name: "Voice-over", locked: false, muted: false, clips: [] },- { id: "track-music", kind: "audio", name: "Music", locked: false, muted: false, clips: [] },+ { id: STORY_TRACK_ID, kind: "video", name: "Track 1, Video", locked: false, muted: false, clips: [] },+ { id: "track-v2", kind: "video", name: "Track 2, Video", locked: false, muted: false, clips: [] },+ { id: "track-a1", kind: "audio", name: "Track 1, Audio", locked: false, muted: false, clips: [] },+ { id: "track-a2", kind: "audio", name: "Track 2, Audio", locked: false, muted: false, clips: [] },] },references: [],generationJobs: [createDraftGenerationJob(brief, { id: "job-initial-brief", title: "First scene", now })],@@ -513,11 +516,10 @@ export function seedProjectWorkspace(config: ProjectConfig, seed = 0): ProjectCobrief: { ...config.brief, status: "generating" },assets,timeline: { tracks: [- { id: "track-v2", kind: "video", name: "Overlays", locked: false, muted: false, clips: [] },- { id: STORY_TRACK_ID, kind: "video", name: "Story", locked: false, muted: false, clips: videoClips },- { id: "track-b-roll", kind: "video", name: "B-roll", locked: false, muted: false, clips: [] },- { id: "track-a1", kind: "audio", name: "Voice-over", locked: false, muted: false, clips: [{ id: "clip-voice", assetId: "asset-voice", trackId: "track-a1", startMs: 1800, durationMs: 28000, sourceStartMs: 0, label: "Mara · narration", color: "#3d817c", status: "approved" }] },- { id: "track-a2", kind: "audio", name: "Music", locked: false, muted: false, clips: [{ id: "clip-score", assetId: "asset-score", trackId: "track-a2", startMs: 0, durationMs: 34000, sourceStartMs: 0, label: "Glass & concrete", color: "#6b5790", status: "approved" }] },+ { id: STORY_TRACK_ID, kind: "video", name: "Track 1, Video", locked: false, muted: false, clips: videoClips },+ { id: "track-v2", kind: "video", name: "Track 2, Video", locked: false, muted: false, clips: [] },+ { id: "track-a1", kind: "audio", name: "Track 1, Audio", locked: false, muted: false, clips: [{ id: "clip-voice", assetId: "asset-voice", trackId: "track-a1", startMs: 1800, durationMs: 28000, sourceStartMs: 0, label: "Mara · narration", color: "#3d817c", status: "approved" }] },+ { id: "track-a2", kind: "audio", name: "Track 2, Audio", locked: false, muted: false, clips: [{ id: "clip-score", assetId: "asset-score", trackId: "track-a2", startMs: 0, durationMs: 34000, sourceStartMs: 0, label: "Glass & concrete", color: "#6b5790", status: "approved" }] },] },references,generationJobs,diff --git a/src/styles/timeline.css b/src/styles/timeline.cssindex f7da475..9e10ef8 100644--- a/src/styles/timeline.css+++ b/src/styles/timeline.css@@ -465,11 +465,11 @@min-width: 0;min-height: 0;display: grid;- /* Two rows, not three: the "Program monitor" header is gone (its heading- survives for screen readers as .sr-only, which takes no space), and the- transport under the video is 44px rather than 64. Every pixel freed here- goes to the picture. */- grid-template-rows: minmax(0, 1fr) 44px;+ /* One row now: the "Program monitor" header is gone (its heading survives for+ screen readers as .sr-only, which takes no space) and the transport moved+ down to the timeline toolbar, where the playhead it moves actually is.+ Every pixel freed here goes to the picture. */+ grid-template-rows: minmax(0, 1fr);background: var(--bg);}@@ -530,79 +530,6 @@line-height: var(--leading-normal);}-/* --- Monitor transport ----------------------------------------------------- */--.monitor-transport {- display: grid;- grid-template-columns: 1fr auto 1fr;- align-items: center;- gap: var(--space-3);- padding: 0 var(--space-3);- border-top: 1px solid var(--line);- background: var(--panel);-}--.monitor-transport strong {- color: var(--text-primary);- font: var(--weight-medium) var(--text-sm) / 1 var(--font-mono);-}--.monitor-transport > div {- display: flex;- align-items: center;- gap: var(--space-1);-}--.monitor-transport button {- width: 32px;- height: 32px;- display: grid;- place-items: center;- padding: 0;- border: 0;- border-radius: 50%;- color: var(--text-secondary);- background: none;-}--.monitor-transport button:hover {- background: var(--panel-3);- color: var(--text-primary);-}--.monitor-transport .play-button {- width: var(--control-sm);- height: var(--control-sm);- color: #fff;- background: var(--accent);-}--.monitor-transport .play-button:hover:not(:disabled) {- background: var(--accent-bright);-}--/* An empty timeline has nothing to play. A full-brightness Play button would- invite a click that does nothing, so the transport reads as disabled. */-.monitor-transport button:disabled {- opacity: 0.4;- cursor: not-allowed;-}--.monitor-transport button:disabled:hover {- color: var(--text-secondary);- background: none;-}--.monitor-transport .play-button:disabled:hover {- background: var(--accent);-}--.monitor-transport > span {- justify-self: end;- color: var(--text-muted);- font: var(--weight-medium) var(--text-xs) / 1 var(--font-mono);-}-/* --- Clip inspector -------------------------------------------------------- */.inspector-summary {@@ -819,23 +746,88 @@border-bottom: 1px solid var(--line);}-.timeline-toolbar > div:first-child {- display: flex;- align-items: baseline;- gap: var(--space-4);-}-.timeline-toolbar h2 {+ min-width: 0;margin: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;color: var(--text-primary);font-size: var(--text-base);font-weight: var(--weight-semibold);line-height: var(--leading-snug);}-.timeline-toolbar span {+/* --- Transport -------------------------------------------------------------+ Moved here from under the program monitor. It drives the playhead, and the+ playhead is drawn immediately below this row; keeping it two panels away+ also meant printing the same timecode in two places. */++.timeline-transport {+ display: flex;+ align-items: center;+ gap: var(--space-1);+}++/* 36px is the floor for a hit target and these are round, so the width is the+ height. Play is a --control-md, the size of a default control. */+.timeline-transport button {+ width: var(--control-sm);+ height: var(--control-sm);+ flex: 0 0 auto;+ display: grid;+ place-items: center;+ padding: 0;+ border: 0;+ border-radius: 50%;color: var(--text-secondary);+ background: none;+}++.timeline-transport button:hover:not(:disabled) {+ color: var(--text-primary);+ background: var(--panel-3);+}++.timeline-transport .play-button {+ width: var(--control-md);+ height: var(--control-md);+ color: #fff;+ background: var(--accent);+}++.timeline-transport .play-button:hover:not(:disabled) {+ background: var(--accent-bright);+}++/* An empty timeline has nothing to play. A full-brightness Play button would+ invite a click that does nothing, so the transport reads as disabled — and+ every one of these carries a title saying why. */+.timeline-transport button:disabled {+ opacity: 0.4;+ cursor: not-allowed;+}++.timeline-transport .play-button:disabled {+ background: var(--accent);+}++/* The only timecode on the screen. Tabular figures so the row does not twitch+ as the digits change under playback. */+.transport-time {+ margin-left: var(--space-2);+ color: var(--text-primary);+ font: var(--weight-medium) var(--text-sm) / 1 var(--font-mono);+ font-variant-numeric: tabular-nums;+}++.transport-format {+ margin-left: var(--space-1);+ padding-left: var(--space-3);+ border-left: 1px solid var(--line);+ color: var(--text-muted);font: var(--weight-medium) var(--text-xs) / 1 var(--font-mono);+ white-space: nowrap;}.timeline-tools {@@ -1186,17 +1178,7 @@--track-column: 184px;}- .monitor-transport {- gap: var(--space-2);- padding: 0 var(--space-3);- }- .monitor-transport > span {- min-width: 0;- overflow: hidden;- white-space: nowrap;- text-overflow: ellipsis;- }}@media (max-width: 840px) {