Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: bring Music Video panel form controls to 44px tap targets on phones (#9257)
Adam Eivy77efee23f490
diff --git a/client/src/components/musicVideo/AutoReviewPanel.jsx b/client/src/components/musicVideo/AutoReviewPanel.jsxindex 4529fcd0ba..ee15fd59ed 100644--- a/client/src/components/musicVideo/AutoReviewPanel.jsx+++ b/client/src/components/musicVideo/AutoReviewPanel.jsx@@ -20,7 +20,7 @@ const ACTION_LABELS = {generate: (a) => `Generating ${a.sections?.length || 0} revised section${a.sections?.length === 1 ? '' : 's'}…`,};const ACTIVE = new Set(['running', 'stopped', 'limit-reached']);-const inputCls = 'w-20 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs';+const inputCls = 'w-20 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0';/** The latest run worth showing: the live one, else the most recent. */export const currentAutoReview = (project) => {diff --git a/client/src/components/musicVideo/DocumentCompositionPanel.jsx b/client/src/components/musicVideo/DocumentCompositionPanel.jsxindex 084c7b5be6..79050513e3 100644--- a/client/src/components/musicVideo/DocumentCompositionPanel.jsx+++ b/client/src/components/musicVideo/DocumentCompositionPanel.jsx@@ -12,7 +12,7 @@ import {} from '../../services/apiMusicVideo.js';const buttonCls = 'flex items-center gap-1 bg-port-bg border border-port-border rounded px-2 py-1.5 text-sm min-h-[44px] sm:min-h-0 disabled:opacity-50';-const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs';+const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0';const SOURCE_LABELS = { template: 'template', zip: 'zip', directory: 'folder' };const linesOf = (value) => String(value || '').split('\n').map((line) => line.trim()).filter(Boolean);@@ -52,10 +52,10 @@ function OverlayEditor({ project, onSave }) {<details className="rounded border border-port-border p-2 text-xs"><summary className="cursor-pointer select-none text-port-text-muted">HUD overlay — {overlay?.enabled === false || !overlay ? 'off' : 'on'} (drawn by the layered template)</summary><div className="mt-2 flex flex-wrap items-center gap-3">- <label htmlFor="mv-doc-hud-on" className="flex items-center gap-1">+ <label htmlFor="mv-doc-hud-on" className="flex items-center gap-1 min-h-[44px] sm:min-h-0"><input id="mv-doc-hud-on" type="checkbox" checked={Boolean(overlay) && overlay.enabled !== false} onChange={(e) => save({ enabled: e.target.checked })} /> Show HUD</label>- <label htmlFor="mv-doc-hud-tc" className="flex items-center gap-1">+ <label htmlFor="mv-doc-hud-tc" className="flex items-center gap-1 min-h-[44px] sm:min-h-0"><input id="mv-doc-hud-tc" type="checkbox" checked={overlay?.timecode ?? true} onChange={(e) => save({ timecode: e.target.checked })} /> Timecode</label><label htmlFor="mv-doc-hud-tc-start" className="flex items-center gap-1">diff --git a/client/src/components/musicVideo/ExcerptPanel.jsx b/client/src/components/musicVideo/ExcerptPanel.jsxindex 761939ef01..5afb661761 100644--- a/client/src/components/musicVideo/ExcerptPanel.jsx+++ b/client/src/components/musicVideo/ExcerptPanel.jsx@@ -24,7 +24,7 @@ function NoteRow({ excerptId, note, busy, onEdit, onDelete, onSeek }) {<li className="flex flex-wrap items-center gap-1.5 text-xs"><input value={draft} maxLength={2000} onChange={(e) => setDraft(e.target.value)}aria-label="Edit review note"- className="min-w-0 flex-1 bg-port-bg border border-port-border rounded px-1.5 py-1" />+ className="min-w-0 flex-1 bg-port-bg border border-port-border rounded px-1.5 py-1 min-h-[44px] sm:min-h-0" /><button type="button" disabled={busy || !draft.trim()}onClick={() => { onEdit(excerptId, note.id, { note: draft.trim() }); setEditing(false); }}className="text-port-accent disabled:opacity-50 min-h-[44px] sm:min-h-0 px-1">Save</button>@@ -115,7 +115,7 @@ function ExcerptCard({ excerpt, deleting, noteBusy, onDelete, onCancel, onAddNot<div className="flex items-center gap-1.5"><input value={draft} maxLength={2000} onChange={(e) => setDraft(e.target.value)}placeholder="Note at the current playhead…" aria-label="New review note"- className="min-w-0 flex-1 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs" />+ className="min-w-0 flex-1 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0" /><button type="button" onClick={addNoteHere} disabled={noteBusy === excerpt.id || !draft.trim()}className="text-port-accent disabled:opacity-50 text-xs min-h-[44px] sm:min-h-0 px-2">Add</button></div>@@ -152,13 +152,13 @@ export default function ExcerptPanel({ project, rendering, progress, excerpts, r<label htmlFor={idFor('start')} className="block text-[10px] text-port-text-muted">Start (sec)</label><input id={idFor('start')} type="number" min={0} step={0.5} value={startSec}onChange={(e) => setStartSec(Number(e.target.value))}- className="w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs" />+ className="w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0" /></div><div><label htmlFor={idFor('end')} className="block text-[10px] text-port-text-muted">End (sec)</label><input id={idFor('end')} type="number" min={0} step={0.5} value={endSec}onChange={(e) => setEndSec(Number(e.target.value))}- className="w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs" />+ className="w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0" /></div><button type="button" disabled={rendering || !valid}onClick={() => actions.startExcerpt(startSec, endSec)}diff --git a/client/src/components/musicVideo/LyricsPanel.jsx b/client/src/components/musicVideo/LyricsPanel.jsxindex 5591828160..0faf013017 100644--- a/client/src/components/musicVideo/LyricsPanel.jsx+++ b/client/src/components/musicVideo/LyricsPanel.jsx@@ -14,7 +14,7 @@ const PACING_FIELDS = [['hookSec', 'Opening hook (s)', 'Cap on the very first shot so the video opens on a cut.', 0.5, 60],];-const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs';+const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0';const round3 = (n) => Math.round(n * 1000) / 1000;const MIN_WORD_SEC = 0.02;diff --git a/client/src/components/musicVideo/ProductionPanel.jsx b/client/src/components/musicVideo/ProductionPanel.jsxindex 5900fa261a..01c41d4464 100644--- a/client/src/components/musicVideo/ProductionPanel.jsx+++ b/client/src/components/musicVideo/ProductionPanel.jsx@@ -20,7 +20,7 @@ const STATUS_TONES = {};const STEP_TONES = { completed: 'text-port-success', failed: 'text-port-error', canceled: 'text-port-text-muted', refused: 'text-port-text-muted' };const RESUMABLE = new Set(['running', 'stopped', 'limit-reached', 'blocked', 'needs-replan']);-const inputCls = 'w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs';+const inputCls = 'w-24 bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0';const SHOWN_STEPS = 8;const toolLabel = new Map(POOL_TOOLS.map((t) => [t.id, t.label]));diff --git a/client/src/components/musicVideo/SceneCard.jsx b/client/src/components/musicVideo/SceneCard.jsxindex 5eeb1c245b..062bc64b17 100644--- a/client/src/components/musicVideo/SceneCard.jsx+++ b/client/src/components/musicVideo/SceneCard.jsx@@ -159,18 +159,18 @@ export default function SceneCard({const toValue = (v) => (v === '' ? null : Number(v));return (<label key={key} className="flex items-center gap-1">{labelText}- <input type="number" min="0" step="0.1" value={scene[key] ?? ''} className="w-16 bg-port-bg border border-port-border rounded px-1 py-1"+ <input type="number" min="0" step="0.1" value={scene[key] ?? ''} className="w-16 bg-port-bg border border-port-border rounded px-1 py-1 min-h-[44px] sm:min-h-0"onChange={(e) => onEditLocal(scene.sceneId, { [key]: toValue(e.target.value) })}onBlur={(e) => onSave(scene.sceneId, { [key]: toValue(e.target.value) })} /></label>);})}- <label className="flex items-center gap-1">+ <label className="flex items-center gap-1 min-h-[44px] sm:min-h-0"><input type="checkbox" checked={!!scene.beatAligned}onChange={(e) => { onEditLocal(scene.sceneId, { beatAligned: e.target.checked }); onSave(scene.sceneId, { beatAligned: e.target.checked }); }} />Beat-aligned</label>- <label className="flex items-center gap-1" title="Repeat the generated clip to fill a span longer than the clip. Off: the shot must be covered by its clip (trim, continue, or replace it).">+ <label className="flex items-center gap-1 min-h-[44px] sm:min-h-0" title="Repeat the generated clip to fill a span longer than the clip. Off: the shot must be covered by its clip (trim, continue, or replace it)."><input type="checkbox" checked={loops} disabled={performance} onChange={(e) => applyPatch({ loop: e.target.checked })} />Loop clip</label>@@ -191,14 +191,14 @@ export default function SceneCard({<div className="flex flex-wrap gap-2 items-center text-xs"><label htmlFor={fieldId('layer')}>Layer</label><select id={fieldId('layer')} value={layer} onChange={(e) => applyPatch({ visualLayer: e.target.value })}- className="bg-port-bg border border-port-border rounded px-1 py-1">+ className="bg-port-bg border border-port-border rounded px-1 py-1 min-h-[44px] sm:min-h-0">{MUSIC_VIDEO_VISUAL_LAYERS.map((value) => <option key={value} value={value}>{LAYER_LABELS[value]}</option>)}</select>{layer === 'still' && (<><label htmlFor={fieldId('move')}>Move</label><select id={fieldId('move')} value={scene.stillMove || 'hold'} onChange={(e) => applyPatch({ stillMove: e.target.value })}- className="bg-port-bg border border-port-border rounded px-1 py-1">+ className="bg-port-bg border border-port-border rounded px-1 py-1 min-h-[44px] sm:min-h-0">{STILL_MOVE_LABELS.map(([value, text]) => <option key={value} value={value}>{text}</option>)}</select></>@@ -210,12 +210,12 @@ export default function SceneCard({placeholder="Title shown on the card"onChange={(e) => onEditLocal(scene.sceneId, { cardText: e.target.value })}onBlur={(e) => onSave(scene.sceneId, { cardText: e.target.value.trim() || null })}- className="min-w-0 flex-1 basis-40 bg-port-bg border border-port-border rounded px-1 py-1" />+ className="min-w-0 flex-1 basis-40 bg-port-bg border border-port-border rounded px-1 py-1 min-h-[44px] sm:min-h-0" /><label htmlFor={fieldId('card-color')}>Background</label><input id={fieldId('card-color')} type="color" value={scene.cardColor || '#000000'}onChange={(e) => onEditLocal(scene.sceneId, { cardColor: e.target.value })}onBlur={(e) => onSave(scene.sceneId, { cardColor: e.target.value })}- className="h-8 w-10 bg-port-bg border border-port-border rounded" />+ className="h-8 w-10 min-h-[44px] sm:min-h-0 bg-port-bg border border-port-border rounded" /></>)}</div>diff --git a/client/src/components/musicVideo/SceneTakeStrip.jsx b/client/src/components/musicVideo/SceneTakeStrip.jsxindex 056f23c256..19f6d69240 100644--- a/client/src/components/musicVideo/SceneTakeStrip.jsx+++ b/client/src/components/musicVideo/SceneTakeStrip.jsx@@ -98,7 +98,7 @@ export default function SceneTakeStrip({onBlur={() => saveNote(take)}onKeyDown={(e) => { if (e.key === 'Enter') e.currentTarget.blur(); }}placeholder="What to change next time"- className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px]"+ className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px] min-h-[44px] sm:min-h-0"/></div>)}diff --git a/client/src/components/musicVideo/SoundBedControl.jsx b/client/src/components/musicVideo/SoundBedControl.jsxindex f5a1bf0253..8d06a2eeff 100644--- a/client/src/components/musicVideo/SoundBedControl.jsx+++ b/client/src/components/musicVideo/SoundBedControl.jsx@@ -42,7 +42,7 @@ export default function SoundBedControl({ project, tracks, disabled, onUpdated }<label htmlFor={selectId} className="text-[10px] text-port-text-muted flex items-center gap-1"><Waves size={11} /> Sound-design bed</label><select id={selectId} value={bed?.trackId || ''} disabled={off}onChange={(e) => save(e.target.value ? { trackId: e.target.value, volume } : null)}- className="bg-port-bg border border-port-border rounded px-1.5 py-1 disabled:opacity-50 max-w-[16rem]">+ className="bg-port-bg border border-port-border rounded px-1.5 py-1 disabled:opacity-50 max-w-[16rem] min-h-[44px] sm:min-h-0"><option value="">None — the song is the only audio</option>{candidates.map((t) => <option key={t.id} value={t.id}>{t.title || t.id}</option>)}</select>diff --git a/client/src/components/musicVideo/TrackPanel.jsx b/client/src/components/musicVideo/TrackPanel.jsxindex 1beec5d0b9..4bf4dac381 100644--- a/client/src/components/musicVideo/TrackPanel.jsx+++ b/client/src/components/musicVideo/TrackPanel.jsx@@ -42,7 +42,7 @@ export default function TrackPanel({onChange={(e) => e.target.value && onChangeTrack(e.target.value)}disabled={youtube.editJob.active || renderBound || midiBound}title={blockedMessage || undefined}- className="bg-port-bg border border-port-border rounded px-1.5 py-1 disabled:opacity-50">+ className="bg-port-bg border border-port-border rounded px-1.5 py-1 disabled:opacity-50 min-h-[44px] sm:min-h-0"><option value="">Change track…</option>{tracks.map((t) => <option key={t.id} value={t.id}>{t.title || t.id}</option>)}</select>diff --git a/client/src/components/musicVideo/TreatmentApplyReview.jsx b/client/src/components/musicVideo/TreatmentApplyReview.jsxindex aaa505cf7a..3d9482788d 100644--- a/client/src/components/musicVideo/TreatmentApplyReview.jsx+++ b/client/src/components/musicVideo/TreatmentApplyReview.jsx@@ -100,7 +100,7 @@ export default function TreatmentApplyReview({ project, api }) {<p className="text-port-text-muted">{name} — treatment: {snippet(s.suggested[field])}</p></div>))}- <label className="flex items-center gap-1.5">+ <label className="flex items-center gap-1.5 min-h-[44px] sm:min-h-0"><input type="checkbox" checked={!!overwrite[s.sceneId]}onChange={(e) => setOverwrite((prev) => ({ ...prev, [s.sceneId]: e.target.checked }))} />Use the treatment's prompts for this scene@@ -111,7 +111,7 @@ export default function TreatmentApplyReview({ project, api }) {))}</ul>{preview.textCueCandidates > 0 && (- <label htmlFor={idFor('cues')} className="flex items-center gap-1.5">+ <label htmlFor={idFor('cues')} className="flex items-center gap-1.5 min-h-[44px] sm:min-h-0"><input id={idFor('cues')} type="checkbox" checked={addTextCues} onChange={(e) => setAddTextCues(e.target.checked)} />Add {preview.textCueCandidates} text cue{preview.textCueCandidates === 1 ? '' : 's'} from the timed lyrics, placed in each shot's reserved region</label>diff --git a/client/src/components/musicVideo/TreatmentPanel.jsx b/client/src/components/musicVideo/TreatmentPanel.jsxindex 38018d6de7..7ee028eeb8 100644--- a/client/src/components/musicVideo/TreatmentPanel.jsx+++ b/client/src/components/musicVideo/TreatmentPanel.jsx@@ -16,7 +16,7 @@ const ROLE_STYLES = {payoff: 'bg-port-success/30 text-port-success',release: 'bg-port-border text-port-text-muted',};-const inputCls = 'w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-sm';+const inputCls = 'w-full bg-port-bg border border-port-border rounded px-2 py-1.5 text-sm min-h-[44px] sm:min-h-0';// One brief text field: buffered locally, committed on blur as a per-field patch.function BriefField({ id, label, value, onCommit, multiline = false, maxLength, placeholder }) {diff --git a/client/src/components/musicVideo/TypographyPanel.jsx b/client/src/components/musicVideo/TypographyPanel.jsxindex d655224ddf..999bbd7ab3 100644--- a/client/src/components/musicVideo/TypographyPanel.jsx+++ b/client/src/components/musicVideo/TypographyPanel.jsx@@ -4,7 +4,7 @@ import { compositionDraft, RENDER_STYLES, renderStyleLabel } from './composition// Client-minted ids keep a freshly added row addressable across saves (see LyricsPanel).const mintId = () => `mtc-${Date.now().toString(36)}${Math.random().toString(36).slice(2, 8)}`;const toSec = (value) => (value === '' ? null : Number(value));-const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs';+const inputCls = 'bg-port-bg border border-port-border rounded px-1.5 py-1 text-xs min-h-[44px] sm:min-h-0';// Mirrors the server's composition enums (server/lib/musicVideoValidation.js).const TEMPLATES = [['fade', 'Fade'], ['rise', 'Rise'], ['typewriter', 'Typewriter'], ['pop', 'Pop']];diff --git a/client/src/components/musicVideo/VideoRenderSettings.jsx b/client/src/components/musicVideo/VideoRenderSettings.jsxindex de9093b248..1cbbe9cae1 100644--- a/client/src/components/musicVideo/VideoRenderSettings.jsx+++ b/client/src/components/musicVideo/VideoRenderSettings.jsx@@ -4,7 +4,7 @@ import {} from '../../lib/falVideoModels.js';import { SOURCE_AUDIO_LIPSYNC } from '../../lib/musicVideoShotTiming.js';-const falSelectCls = 'w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto';+const falSelectCls = 'w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto min-h-[44px] sm:min-h-0';const falOptionLabel = (model) => {const rate = describeFalVideoRate(model.id);return rate ? `${model.label} · ${rate}` : model.label;@@ -43,7 +43,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {onChange={(e) => change({ backend: e.target.value || null })}disabled={locked}title="Saved renderer for this project's scene videos"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto"><option value="">Install default</option><option value="local">Local video</option>@@ -74,7 +74,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {}}disabled={locked}title="Prompt motion uses the reference frame; audio reactive also conditions motion on this scene's song segment"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto"><option value="image">Prompt motion</option><option value="audioReactive" disabled={!detectedAudioReactiveLora}>Audio reactive</option>@@ -86,7 +86,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {onChange={(e) => change({ modelId: e.target.value })}disabled={locked || models.length === 0}title="Saved local image-to-video model for this project"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto sm:max-w-[240px]"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto sm:max-w-[240px]"><option value="">{defaultModel@@ -106,7 +106,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {onChange={(e) => change({ audioReactiveLora: e.target.value })}disabled={locked || audioReactiveLoras.length === 0}title="Saved audio-reactive LoRA version for this project"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto sm:max-w-[220px]"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto sm:max-w-[220px]">{audioReactiveLoras.length === 0 && <option value="">No audio-reactive LoRA installed</option>}{audioReactiveLoras.map((lora) => (@@ -122,7 +122,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {onChange={(e) => change({ audioReactiveScale: Number(e.target.value) })}disabled={locked}title="How strongly the song drives visible motion"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto"><option value={1}>Reactive 1.0×</option><option value={1.2}>Reactive 1.2×</option>@@ -153,7 +153,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {onChange={(e) => change({ grokDuration: Number(e.target.value) })}disabled={locked}title="Native duration for each Grok scene clip"- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-auto"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-auto">{GROK_VIDEO_DURATIONS.map((duration) => (<option key={duration} value={duration}>{duration}s clips</option>@@ -211,7 +211,7 @@ export default function VideoRenderSettings({ videoSettings, generating }) {disabled={locked}placeholder="shot length"title="Clip length in seconds for this project's fal.ai cutaway renders. Blank renders the shortest length the model offers that covers each shot (the model default for an untimed scene)."- className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 sm:w-24"+ className="w-full max-w-full bg-port-bg border border-port-border rounded px-1.5 py-1.5 text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0 sm:w-24"/><label htmlFor="mv-fal-lipsync-resolution" className="sr-only">fal.ai lip-sync resolution</label><selectdiff --git a/client/src/components/musicVideo/VisualSpecPanel.jsx b/client/src/components/musicVideo/VisualSpecPanel.jsxindex 2eca967986..7e83820e91 100644--- a/client/src/components/musicVideo/VisualSpecPanel.jsx+++ b/client/src/components/musicVideo/VisualSpecPanel.jsx@@ -115,7 +115,7 @@ export default function VisualSpecPanel({ project, onSave, onAddReference }) {<label htmlFor={idFor(`role-${ref.id}`)} className="sr-only">Reference role</label><select id={idFor(`role-${ref.id}`)} value={ref.role || 'mood'}onChange={(e) => updateRef(ref.id, { role: e.target.value })}- className="bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px]">+ className="bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px] min-h-[44px] sm:min-h-0">{ROLES.map(([value, label]) => <option key={value} value={value}>{label}</option>)}</select><button type="button" onClick={() => saveReferences(references.filter((r) => r.id !== ref.id))}@@ -127,15 +127,15 @@ export default function VisualSpecPanel({ project, onSave, onAddReference }) {<label htmlFor={idFor(`use-${ref.id}`)} className="sr-only">Reference use</label><select id={idFor(`use-${ref.id}`)} value={ref.use || 'reference'}onChange={(e) => updateRef(ref.id, { use: e.target.value })}- className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px]">+ className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px] min-h-[44px] sm:min-h-0">{USES.map(([value, label]) => <option key={value} value={value}>{label}</option>)}</select><label htmlFor={idFor(`label-${ref.id}`)} className="sr-only">Reference label</label><input id={idFor(`label-${ref.id}`)} defaultValue={ref.label || ''} maxLength={120}placeholder="Label (e.g. lead singer)"onBlur={(e) => { if (e.target.value !== (ref.label || '')) updateRef(ref.id, { label: e.target.value }); }}- className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px]" />- <label className="flex items-center gap-1 text-[11px]">+ className="w-full bg-port-bg border border-port-border rounded px-1 py-0.5 text-[11px] min-h-[44px] sm:min-h-0" />+ <label className="flex items-center gap-1 text-[11px] min-h-[44px] sm:min-h-0"><input type="checkbox" checked={!!ref.condition}disabled={!ref.condition && flagged >= MAX_CONDITIONING_REFERENCES}onChange={(e) => updateRef(ref.id, { condition: e.target.checked })} />@@ -162,7 +162,7 @@ export default function VisualSpecPanel({ project, onSave, onAddReference }) {))}<label htmlFor={idFor('color')} className="sr-only">Palette color</label><input id={idFor('color')} type="color" value={color} onChange={(e) => setColor(e.target.value)}- className="w-9 h-9 bg-transparent border border-port-border rounded" />+ className="w-9 h-9 bg-transparent border border-port-border rounded min-h-[44px] sm:min-h-0 min-w-[44px] sm:min-w-0" /><button type="button" disabled={palette.length >= MAX_PALETTE || palette.includes(color.toLowerCase())}onClick={() => onSave({ palette: [...palette, color.toLowerCase()] })}className="flex items-center gap-1 bg-port-border hover:bg-port-border/70 disabled:opacity-50 rounded px-2 py-1 text-xs min-h-[44px] sm:min-h-0">diff --git a/client/src/components/musicVideo/YoutubeImportControls.jsx b/client/src/components/musicVideo/YoutubeImportControls.jsxindex 3b04c94533..047d47cf87 100644--- a/client/src/components/musicVideo/YoutubeImportControls.jsx+++ b/client/src/components/musicVideo/YoutubeImportControls.jsx@@ -18,7 +18,7 @@ export default function YoutubeImportControls({ id, url, onUrlChange, job, onSta// isn't inside a <form>.onKeyDown={(e) => { if (e.key === 'Enter') { e.preventDefault(); if (url.trim()) onStart(); } }}placeholder="Import audio from a YouTube URL…" aria-label="Import audio from a YouTube URL"- className={`${compact ? 'flex-1 min-w-[160px]' : 'flex-1 min-w-0'} bg-port-bg border border-port-border rounded px-2 ${py} text-sm disabled:opacity-50`}+ className={`${compact ? 'flex-1 min-w-[160px]' : 'flex-1 min-w-0'} bg-port-bg border border-port-border rounded px-2 ${py} text-sm disabled:opacity-50 min-h-[44px] sm:min-h-0`}/>{job.active ? (<button type="button" onClick={job.cancel}diff --git a/client/src/components/ui/ToggleChip.jsx b/client/src/components/ui/ToggleChip.jsxindex 0fb6e6ba8c..392ce880a8 100644--- a/client/src/components/ui/ToggleChip.jsx+++ b/client/src/components/ui/ToggleChip.jsx@@ -10,7 +10,7 @@ export default function ToggleChip({ id, label, hint, Icon, checked, onToggle })<labelhtmlFor={id}title={hint}- className={`flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg border text-xs cursor-pointer transition-colors ${checked+ className={`flex items-center gap-1.5 px-2.5 py-1.5 min-h-[44px] sm:min-h-0 rounded-lg border text-xs cursor-pointer transition-colors ${checked? 'bg-port-accent/20 text-port-accent border-port-accent/40': 'bg-port-bg text-gray-400 border-port-border hover:text-gray-200'}`}>