// Mobile companion view — for when Michelle is on the train. // Stripped to: today / burst-into-focus / quick capture. // 4 priorities collapsed, energy check, big "start burst" CTA. function Mobile() { const { state, setEnergy, startBurst, addBrainItem, toggleTask } = useStore(); const [tab, setTab] = React.useState('today'); const [capture, setCapture] = React.useState(''); const energies = [ { id: 'spent', label: 'Spent' }, { id: 'steady', label: 'Steady' }, { id: 'strong', label: 'Strong' }, { id: 'wired', label: 'Wired' }, ]; const submit = () => { if (!capture.trim()) return; addBrainItem(capture.trim(), 'dump'); setCapture(''); }; // pick first incomplete task across priorities for the big CTA let nextPriority = null, nextTask = null; for (const p of state.priorities) { if (nextTask) break; for (const t of p.tasks) { if (!t.done) { nextTask = t; nextPriority = p; break; } } } return (