import clsx from "clsx";
import type { ReactNode } from "react";
import {
Activity,
Download,
FastForward,
Info,
Keyboard,
Maximize,
MoreHorizontal,
Pause,
Play,
Pin,
Rewind,
RotateCcw,
Settings,
SkipBack,
SkipForward,
Subtitles,
Volume2,
X,
} from "lucide-react";
import { Btn } from "./batchA";
import { C1 } from "./batchCActions";
import { Reference, Sample } from "./labKit";
import { FADE_ABOVE_PANEL, FADE_BELOW_PANEL, LAYER } from "./labTokens";
import { SURFACE } from "../components/ui/surfaces";
import { iconButtonClass } from "../components/ui/buttonStyles";
import { fieldClass } from "../components/ui/fieldStyles";
// The ui/ primitives' own classes on static spans: the lab draws what the app ships, not a copy.
const ICON = iconButtonClass({ variant: "ghost", size: "sm" });
// E28 S2 · Batch C — behaviour on touch and on a narrow window, DECIDED (owner, 2026-09-24): C1–C4 as
// proposed; C5 is the owner's reworked Plex control set (found by the live player pass, E28 S2d: the
// old row ran off-screen below 1024) with the two refinements they accepted. References only.
const ico = "w-4 h-4";
function Screen({ label, children }: { label: string; children: ReactNode }) {
return (