Critical fixes:
1. Added "+ Schlaf erfassen" button back (was missing!)
- Opens NewEntryForm component inline
- Default: 450 min (7h 30min), quality 3
- Collapsible detail view
- Live plausibility check
2. Fixed import overwriting manual entries
- Problem: ON CONFLICT WHERE clause didn't prevent updates
- Solution: Explicit if/else logic
- If manual entry exists → skip (don't touch)
- If non-manual entry exists → UPDATE
- If no entry exists → INSERT
- Properly counts imported vs skipped
Test results:
✅ CSV import with drag & drop
✅ Inline editing
✅ Segment timeline view with colors
✅ Source badges (Manual/Apple Health)
✅ Plausibility check (backend + frontend)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>