Build a podcast clip trimming screen as a single html file at 1280x720, no libraries, no network. App called Cutaway, dark studio mode: page #0d0f12, panels #15181e with 1px muted borders (#262b34), one warm amber accent #f59e0b (light #fbbf24) for everything selected, Inter for ui and JetBrains Mono for every timecode. Top bar 54px: logo mark and "Cutaway", small caps "EPISODE 142" over the title "Small Software, Big Habits", an amber outlined badge "CLIP 01", and on the right "Episode 48:12 · showing 12:00-12:39" plus a boxed live readout "CLIP LENGTH 00:25.72" in amber mono. Below it one rounded panel holds the timeline. At the top a 22px overview strip of the whole 48:12 episode (grey mini waveform, the clip in amber, an outlined box for the visible window). Under it a handle lane, a timecode ruler (ticks every 0.25s, taller every 1s, tallest every 5s with mm:ss labels from 12:00 to 12:35), then a full-width, tall, high-density audio waveform, one 1px column per pixel with a mirrored peak layer and a brighter rms core, over faint 5s gridlines and a centre line. Generate the audio from a seeded noise function shaped by a speech-like envelope: syllable bursts of about 0.15s, near-silent gaps between phrases. The visible window is 39.00s. Times are integer centiseconds in the code and shown as mm:ss.cc, offset so the window starts at 12:00.00. The default clip is In 12:08.28 to Out 12:34.00. Outside the clip the waveform is dimmed grey (#363d49); inside it is amber with a faint amber tint behind it. Two draggable trim handles: a 2px amber line with a rounded grip with two dark ridges mid-wave, and a tooltip flag in the lane, "IN 12:08.28" pointing right and "OUT 12:34.00" pointing left, that update live while dragging (4s minimum clip, handles can't cross), with a thin amber bracket bar between the flags. Keep the handle lines out of the ruler so labels stay clear. A white vertical playhead with a small triangle at the bottom of the ruler, parked at 12:20.88. Clicking or scrubbing the ruler or waveform moves the playhead, and keys I and O set In and Out at the playhead. A footer strip shows IN, OUT, SELECTION length and PLAYHEAD in mono, plus keycap hints for drag, I/O and click. Do all time math in integer centiseconds. Expose window.tick(n) and a ?manual=1 mode so screenshots are deterministic.
a real clip has a start and an end, so give the handles flags that show the timecode live. keep the handle lines out of the ruler or the labels get crossed.









